Restore to a hot backup
Once a hot backup is created, one can use the generated backup id,
for example 2019-05-15T14.36.38Z_my-label
to restore the entire
instance to that “snapshot”.
Keep in mind that such a restore is a global operation and affects all databases in an installation. The restore will roll back all data including in the meantime databases, collections, indexes etc. The database server of a single server instance and all database servers of a cluster will subsequently be restarted.
arangobackup restore --server.username root --identifier 2019-05-15T14.36.38Z_my-label
The output will reflect the restore operation’s success:
2019-05-15T15:24:14Z [16201] INFO {backup} Server version: 3.4.5
2019-05-15T15:24:14Z [16201] INFO {backup} Successfully restored '2019-05-15T14.36.38Z_my-label'
Note that current ArangoSearch views are not stored in backups, therefore, after a successful restore operation, all views have to be dropped and recreated.