Skip to main content

Restoring Your Files

Easily restore your files with Securae Backup. This guide walks you through restoring the latest file or a specific file from your backups.

Download the Latest Backed-Up File

To restore the most recent file from your backup:

Retrieve your Backup ID

Use the list command to view all available backups and their corresponding Backup IDs:

securae list

Download the Latest File

Run the following command, replacing <BACKUP_ID> with your actual Backup ID:

securae download --backup-id <BACKUP_ID>

This will download the latest file uploaded to your backup.

Download a Specific File

To restore a specific file from your backup:

Find Your Backup ID

Use the list command to view all available backups and their corresponding Backup IDs:

securae list

List Files in a Backup

Once you have the Backup ID, use the --backup-id option to list all the files stored within that backup:

securae list --backup-id <BACKUP_ID>

This will display a list of files associated with the specified Backup ID, helping you locate the exact file you want to restore.

Run the Restore Command

Use the following command, replacing <BACKUP_ID> with your Backup ID and <FILENAME> with the name of the file:

securae download --backup-id <BACKUP_ID> <FILENAME>

This will restore the specified file from your backup.

Learn More

For a complete list of options and advanced usage, refer to the full help page for the securae download command.