Restore a database
Restore a database from a backup file in an S3 bucket, and see the exact dump commands wtree Cloud uses.
Restore a backup from S3 into a database.
Restore
Open the database's Backups tab and click Restore backup.
Select the source Destination (S3 bucket).
Search for the backup file. It autocompletes from the bucket, and for nested folders you can type the folder name, such as backups/.
Enter the target Database name.
Click Restore.
Backups created by wtree Cloud restore with the matching commands automatically. Files in other formats may not restore.
Backup commands
These are the commands wtree Cloud uses to create backups. Each output is gzipped.
pg_dump -Fc --no-acl --no-owner -h localhost -U ${databaseUser} --no-password '${database}' | gzipmysqldump --default-character-set=utf8mb4 -u 'root' --password='${databaseRootPassword}' --single-transaction --no-tablespaces --quick '${database}' | gzipmariadb-dump --user='${databaseUser}' --password='${databasePassword}' --databases ${database} | gzipmongodump -d '${database}' -u '${databaseUser}' -p '${databasePassword}' --archive --authenticationDatabase=admin --gzip