Backup and Restore

You will need to backup your data if you are moving to a different machine or before a software upgrade.

Backup

To create an archive of you current database state.

docker exec recorder /bin/bash -c '/opt/helpers/getSnapshot -k recorder'

The above command will create a tarball in your storage location (see CONFIG file for RECORDER_DATA setting)

Restore

To restore the database to an old state run the following command. Replace the timestamp in the file path with the correnponding value of your snapshot.

docker exec recorder /bin/bash -c'/opt/helpers/putSnapshot -n localhost -f /home/jarvis/cassandra/data/recorder-<timestamp>.tar.gz'


If you need any help please don't hesitate to contact hello@uxlens.com.

results matching ""

    No results matching ""