Backup and restore

    First, create a universe similar to steps shown in Create universe.For the purposes of this demo we create a 1 node cluster that looks something like this.

    Wait for the universe to become ready.

    In this example, we create a local directory on the tserver to backup to. Select the modal in the Nodes tab of the universe and select the server from Admin Host.

    Connect Modal

    Note that when there are more than 1 nodes, an nfs mounted on each server is recommended, andcreating a local backup folder on each server will not work.

    AWS cloud storage

    One can also backup to Amazon cloud using the amazon S3 tab in Backup configuration.

    The Access Key & Secret text can be added for the IAM of the user. The destination S3 Bucket where backups arestored can be entered in the format shown in the sample above.

    Now, select Configuration on the left panel, select the Backup tab on top, click and enter/backup as the NFS Storage Path before selecting Save.

    Now, go to the Backups tab. There, click on Create Backup. A modal should appear where you canenter the table (this demo uses the default redis table) and NFS Storage option. If S3 was selectedas the storage, the “S3 Storage” dropdown option can be chosen during this backup creation.

    Backup Modal

    Select OK. If you refresh the page, you’ll eventually see a completed task.

    On that same completed task, click on the dropdown and click on Restore Backup.You will see a modal where you can select the universe, keyspace, and table you want to restore to. Enter invalues like this (making sure to change the table name you restore to) and click OK.

    Tables View