Backing up and Restoring the Node User Database Records
-
Back up the node user data from the Redis database by running the following
command:
$ sudo /opt/aspera/bin/asnodeadmin -b /filepath/database.backupImportant: When backing up the Redis database, all user data up to that point in time will be saved to the backup file. Restoring the database (see Step 2, below) does not delete users added after this snapshot was taken. Thus, if you added any users after backing up the database, they will still exist in the system and will not be affected by the restore operation. -
Restore the node user data to the Redis database by running the following
command:
$sudo/opt/aspera/bin/asnodeadmin -r /filepath/database.backupNote: If you do not want to keep users that have been added since the last backup operation, delete them after performing the restore with the following command:$sudo/opt/aspera/bin/asnodeadmin -du username -
Restart the
asperanodedservice using the following commands.Run the following commands to restart asperanoded:$ sudo launchctl stop com.aspera.asperanoded $ sudo launchctl start com.aspera.asperanoded