The most important thing to know is that the Rio database is fully self described on the BlackPearl for all objects archived with Rio Broker to a BlackPearl. That means that in the event of a catastrophic loss of a Rio system, the entire database can be reconstructed using the “reindex” tool in Rio. In most cases the entire system can be rebuilt in a few minutes to a few hours depending on the size of the archive.
The exceptions which are not recoverable from the BlackPearl indexing are:
To provide the best recovery in the event of a catastrophic loss, Spectra strongly recommends regular Rio database backups. So it's essential to backup both database and configuration information.
Rio Broker doesn't do automatic database backups within the GUI, but a simple CLI/script backup tool is provided with every installation and setup is part of every Rio installation by your Implementation Engineer.
The Rio Database is located in a directory on the Rio node (the master node in the event you are using a cluster). The most efficient approach is to use backup software pointed at the Rio node with special emphasis on the database files. As a second option, the Rio CLI should be used to create regular backups.
Spectra recommends keeping daily backups for at least 30 days in an active system.
In Rio Broker 3.1.0 the BACKUP command was implemented to restore whole Rio's database and it's configuration, but not the RESTORE. Here are instructions to complete the full backup/restore operations:
This will create a backup ZIP file named: RioBrokerBackup_YYYY_MM_DD_HH_MI_SS.zip. This ZIP file contains arangodump, config and data folders from C:\ProgramData\Spectra Logic Corporation\SpectraRioBroker: the entireArango database, plus configuration files cluster.json and keys.keytool.
Once the Zip file is created, the RioCLI will create an archive job using the broker specified and store the backup in the bucket associated with the write agent.
To restore Rio Broker using the database backup, use the restore utility for ArangoDB.
Restore the most recent Rio Broker backup ZIP file from BlackPearl and unpack on the local filesystem (e.g. C:\Temp\RioBrokerBackup
)
Install Rio Broker or restart a Rio Broker instance that you are willing to overwrite. If you install Rio Broker, create a new cluster (the name will be overwritten by the restore).
Open a CMD window as administrator
Execute arangodb restore in the CMD window (include the double quotes):
When prompted for password, enter password
Stop Rio Broker service
In the CMD window manually copy Rio Broker files (include the double quotes):
cluster.json and keys.keytool files are same for all Rio Nodes.
Start Rio Broker service
Future versions of RioBroker will implement both DB backup and restore in the Rio Broker UI.