This topic describes the steps to restore from an archived backup.
To restore from an archived backup, perform the following steps:
-
Go to service monitor and stop all services such as Flume, Spark, Analytics
Server, Visualization Server, and Report Server.
Note: All services that are running must be stopped before performing a
restore.
-
Open services.msc in Windows and stop the service
monitor service.
Note: Stop the service monitor service when you perform a restore of the
configuration files. That is when you use -m=ALL or -m=CONF
operation modes in the vacli command.
-
Open Command Prompt, go to C:\VoceraAnalytics\vacli
directory, and type the command
vacli restore -m=ALL -S -a=C:\backup\export_BJOHN-DT.company.local_201810201702070608.7z backup_restore.conf
where
-
-m = ALL is the mode of operation and backs up both data and
configuration
- -S is the secure backup option
- -a=C:\backup is the location of the exported archive
- export_BJOHN-DT.company.local_201810201702070608.7z is the
exported archive. The format of the archive file is
export_<canonical server
name>_<timestamp>.7z.
Note: The -S option ensures that the backup is secured and
encrypted. While performing a restore, you must include the -S option
in the restore command to restore successfully. If you perform a secure
backup, you must always perform a secure restore. Similarly, if you perform
an unsecured backup, you must always do an unsecured restore.
Note: Ensure that you open Command Prompt and run as an administrator to execute
the backup and restore commands.
The backup is now restored.
Note: You can revert to an initial backup if you encounter issues with
incremental backups. Consider the first backup is saved as
full_backup.xb.7z. Subsequent backups taken are
called incremental backups. In circumstances where incremental backups
contain issues and you want to restore to the first backup, use the command
vacli restore -m=DATA -S -a=full_backup.xb.7z
However,
you must not have performed an export action.
-
Open services.msc in Windows and start the service
monitor service.
-
Go to service monitor and start all services such as Flume, Spark, Analytics
Server, Visualization Server, and Report Server.
Upon successful restore, the MySQL service database starts
automatically.
Note: You can only restore an archive created from a particular version of
Vocera Analytics onto a target server with the same version.