We recently upgraded from 8.73 > 9.31 and one of the things we noticed is our once-per-computer policies were running again on the computers as they cut over to the new JSS. We suspected our policy logs were being dumped on re-enroll.
Thanks to our JAMF sleuths (Tim H and Dan K), we ran some tests and it looks like we may have found a bug.
If we pull a JSS Summary we see:
Flush history on re-enroll fase
However, MySQL shows the opposite:
$ /usr/local/mysql/bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 1264
Server version: 5.5.36-log MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights
reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
mysql> use jamfsoftware;
Database changed
mysql> select flush_management_history_on_remanage from
mac_os_x_enrollment;
+--------------------------------------+
| flush_management_history_on_remanage |
+--------------------------------------+
| 1 |
+--------------------------------------+
1 row in set (0.01 sec)
mysql>
So if you're going to migrate, make sure you check MySQL to make sure you won't lose your logs.
HTH,
Don