If you've restored either the Object Store or the Data Store from backup, you need to make sure the two are synchronized. The dbsync.sh utility lets you synchronize the Data Store with the Object store by removing all devices and bundles that are found in the Data Store but not in the Object Store.
Make sure you are logged in as root to the ZENworks Server.
Enter the following command on the command prompt:
dbsync.sh [--force]
The utility has one option, --force or -f. The synchronization operation compares the list of devices and bundles in the two databases. When you use the --force option, dbsync.sh logs the GUIDs and names of the devices and bundles found in the Data Store but not in the Object Store. When you use the --force option, dbsync.sh deletes all devices and bundles that are found in the Data Store but not in the Object Store.
Enter the password to authenticate to the Object Store.
The GUIDs and names of the devices and bundles that are in the Data Store but not in the Object Store are logged in the /var/opt/novell/log/zenworks/dbsync-message.log file.