Backing up and Restoring the Node User Database Records

These instructions describe how to back up and restore your Node API user data up to the time of the backup operation. To backup the entire database, see Backing up and Restoring a Node Database.

  1. Back up the Node API user data from the Redis database:
    # sudo /opt/aspera/bin/asnodeadmin -b /filepath/database.backup
    Important: 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 still exist in the system and are not affected by the restore operation.
  2. Restore the Node API user data to the Redis database:
    # sudo /opt/aspera/bin/asnodeadmin -r /filepath/database.backup
    Note: 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
  3. Restart asperanoded:
    Run the following commands to restart asperanoded:
    # /etc/init.d/asperanoded restart