How to customize the backup storage path

Explains the different ways you can customize your backup storage path(s).

Error codes

Error ES900:Your account key is missing, please reconnect your server to SimpleBackups.

Sometimes displayed as:

"your account key is missing, please reconnect your server to SimpleBackups."

It means that SimpleBackups is not connected correctly to this server anymore. To solve the issue, you either need to:

  • Edit your server from SimpleBackups dashboard and re-enter your SSH username, password
  • Or, if you use an SSH key to connect to your servers, you will need to re-run the server connection command displayed on your SimpleBackups server's dashboard
Error ES905: Connection to this server has been invalidated, please reconnect your server to SimpleBackups.

Sometimes displayed as:

"connection to this server has been invalidated, please reconnect your server to SimpleBackups."

It could mean a few things:

  1. SimpleBackups is unable to confirm that this server still belongs to your account
  1. Your have changed your SimpleBackups temporary directory from the dashboard and have not validated the server connection afterwards

To solve the issue, you either need to:

  • Edit your server from SimpleBackups dashboard and re-enter your SSH username, password
  • Or, if you use an SSH key to connect to your servers, you will need to re-run the server connection command displayed on your SimpleBackups servers dashboard.
 
Error ES915: Please reconnect your server to SimpleBackups
"Please reconnect your server to SimpleBackups"

To solve the issue, you either need to:

  • Edit your server from SimpleBackups dashboard and re-enter your SSH username, password
  • Or, if you use an SSH key to connect to your servers, you will need to re-run the server connection command displayed on your SimpleBackups servers dashboard.
 

When you connect a storage to SimpleBackups and create a backup job, there are multiple ways you can customize the backup destination (storage path).

  1. On the storage level (Dropbox, S3, SFTP, etc..) you can set a path where all backup jobs can be stored under.
  1. On the backup job level, you can set a path for a particular backup job.

→The final path of a backup job is: storagePath/backupPath


Let us take a few examples into consideration.

Assuming you created a Dropbox storage (called STOR1) and created a database backup job (called BACKUP1) that uses Dropbox as a storage.

Example 1 (no path on Storage and Backup)

  • Set no default path on STOR1
  • Set no backup storage path on BACKUP1
  • The resulting backup will be stored at a unique location
  • Apps/SimpleBackups.io/SXXXX/mybackup-file.sql

Example 2 (custom storage path, empty backup path)

  • Set a default path on STOR1, my-backups
  • Set no backup storage path on BACKUP1
  • The resulting backup will be stored at:
    • Apps/SimpleBackups.io/my-backups/mybackup-file.sql

Example 3 (custom storage path, custom backup path)

  • Set a default path on STOR1, my-backups
  • Set a default backup storage path on BACKUP1, database/daily
  • The resulting backup will be stored at:
    • Apps/SimpleBackups.io/my-backups/database/daily/mybackup-file.sql

Did this answer your question?
😞
😐
🤩