Before starting with the restore process, ensure that the following prerequisites are met:
Prerequisite
If your Windows Primary Server had internet connectivity, ensure that your appliance server also has internet connectivity. You must configure the ZENworks appliance machine with the same IP Addresses, DNS, and time zone as that of Windows Primary Server on which backup was performed. This will ensure that the other devices in the zone can still reach this Appliance Primary Server using the same network identity as the Windows server.
Ensure that the Appliance Primary Server has the same or higher hardware configuration than the Windows Primary Server.
Ensure the backed-up files created during the backup process are available on the target appliance. For more information, see Post Backup Steps.
For restoring the Windows backed-up data on the target ZENworks appliance, perform the following steps as the root user:
Download and save the migration tool to the directory created during the Post Backup process on Appliance.
Unzip the migration tool and provide the execute permissions to the zenserver-migrator.sh script by running the following commands:
unzip -q zenserver-migration-tool-23.4.0-1.zip
cd zenserver-migration-tool
chmod +x zenserver-migrator.sh
Run the following command to perform the restore process:
./zenserver-migrator.sh mode=restore -e myPassphrase@123 -d /vastorage/migration/backup_zips
where,
mode is mentioned as restore
directory path- Path of the directory where the backed-up files are added on the Appliance server
encryption passphrase- (OPTIONAL) Enter the same passphrase that you entered while backing up the data on Windows. You can either pass this as command line parameter or the tool will prompt.
When you run the restore command, it will first configure the ZENworks, and then restore all the backed-up files such as content repository (if collected as part of backup), database, collection data, install downloads and other data on the Appliance.
NOTE:
The restore process might take time depending on the hardware configuration of the appliance and the size of data that needs to be restored. If you want to track the progress, you can look at the </path/to/zenserver-migration-tool>/logs/zenserver-migration-tool.log file.
The Restore process supports both restart and resumability.
If you want the Content Repo to be available on the Appliance as a separate disk, see Content Repository.
Once the data, backed-up from the Windows server, is restored on the appliance, the migration of Windows Primary Server to the Appliance is completed.
After the restore process is complete:
All the assignments including bundles, policies assigned to the Windows Primary Server will become ineffective.
All the messages pertaining to the Windows device at the Device Summary page will be removed from database. Also, the patch compliance information and patch scan status will also be cleared for the Windows server from the Summary page and Dashboard.
If antimalware was enabled on the Windows device, information related to the device will be cleared from the Scan Summary and Dashboard pages.