|Managing the Node API|
Instructions for backing up and restoring the database.
To back up and restore the Redis database (and your user data up to the point-in-time of the backup operation), follow the instructions below. Note that the backup and restore operations should be used for the following scenarios:
Use the following command to back up your Redis database (before changing the port number):
$ sudo /opt/aspera/bin/asnodeadmin -b /your/backup/dir/database.backup
Use the following command to restore your Redis database:
$ sudo /opt/aspera/bin/asnodeadmin -r /your/backup/dir/database.backup
Recall the "Important Note" in Step 1, which stated that restoring the database does not delete users added after the database snapshot was taken. If you do not want to keep users that have been added since the last backup operation, you can delete them after performing the restore with the asnodeadmin command -du username.
Use the following command(s) to restart the asperanoded service (requires a restart rather than a reload):
$ sudo /etc/init.d/asperanoded restart