Databases
Backups
Back up a database or a folder on a server to a storage provider on a schedule, and restore database backups when you need them.
Open a server and select Database > Backups in the sidebar to see that server's backups. To see the backups of every server in your organization, select Backups in the main sidebar.
Before you create a backup, connect at least one storage provider to store the files.
Create a backup
- Click Create Backup.
- Fill in the form:
| Field | Description |
|---|---|
| Server | Shown on the organization Backups page. The server to back up. |
| Backup type | Database backup or File backup. Database backup is only offered when the server has a database service. |
| Database | Shown for a database backup. The database to back up. |
| File or directory path | Shown for a file backup. The path on the server to back up, for example /home/jarvis/example.com. |
| Storage | The storage provider the backup files are uploaded to. |
| Interval | How often the backup runs. |
| Backups to keep | How many backup files to keep. When a new file pushes the count over this number, the oldest files are deleted. |
- Click Save.
The first backup runs straight away. After that it runs on the interval you picked.
A file backup compresses the path into an archive on the server, uploads it to the storage provider, and then removes the local archive.
Intervals
| Interval | Runs |
|---|---|
| Hourly | At the start of every hour. |
| Daily | Every day at midnight. |
| Weekly | Every Sunday at midnight. |
| Monthly | On the first day of every month at midnight. |
Manage a backup
Open the actions menu on a backup to:
- Edit its interval and the number of backups to keep.
- Open its Files.
- Delete it. This deletes the backup and all of its files, and can't be undone.
Backup files
Each run creates a backup file. Open the actions menu on a backup and click Files to see them with their creation date, restore details, and status.
To create a backup file right now, click Run backup.
To remove a single file, open its actions menu and click Delete.
Restore a backup
- On the files page, open the actions menu on a file and click Restore.
- Choose where to restore it:
| Field | Description |
|---|---|
| To server | The server to restore into. Defaults to the server the backup was taken on. |
| To database | The database to restore into. |
- Click Restore.
Restoring overwrites the data in the database you pick. Make sure you've chosen the right one.
Only database backups can be restored from Jarvisway. You can restore into a database on another server in your organization when:
- The backup isn't stored on the Local storage provider. Local backups never leave their server, so To server isn't shown for them.
- The target server runs the same database engine as the source.
- The target server's database version is the same as or newer than the source.
Backup statuses
| Status | Meaning |
|---|---|
| Running | The backup is active and runs on schedule. |
| Failed | The last run failed. It doesn't run on schedule again until a run succeeds, so fix the cause and click Run backup on its files page. |
| Stopped | The backup no longer runs, for example because its database was deleted. |
| Deleting | The backup and its files are being removed. |
File statuses
| Status | Meaning |
|---|---|
| Creating | The backup file is being created and uploaded. |
| Created | The file is stored and ready to restore. |
| Failed | The file couldn't be created. |
| Restoring | The file is being restored. |
| Restored | The file was restored. The Restored to and Restored at columns show where and when. |
| Restore Failed | The restore didn't finish. |
| Deleting | The file is being removed. |

