The NocoBase backup manager plugin provides features for fully backing up of the NocoBase database and user uploaded files, including backup's scheduling, downloading, deleting, and restoring operation.
The Backup Manager plugin is included in the Professional and Enterprise editions. For Community and Standard edition users, you can directly back up the database; see details at: How to Backup and Restore NocoBase
The Backup Manager depends on the client for the corresponding database. Before use, please visit the official website to download the client that matches your database version:
For Docker versions, you can directly write a script in the ./storage/scripts directory
The content of install-database-client.sh is as follows:
Then restart the app container
Check the database client version number, which must match the database server version number

Click the "New backup" button to create a new backup based on the backup configuration and display the backup status in the backup list.

Supports restoring backups from the backup list or uploading local backup files to restore backups. Restore operations are not allowed in the following scenarios:
Tolerant mode is not enabled, and the database version when creating the backup is higher than the current application database version.Restore is a full database operation. It is recommended to back up the current database before restoring a backup.
Click the "Restore" button of the backup item in the backup list, enter the backup file encryption password in the pop-up window, and click "Confirm" to restore the backup.
Leave password empty for unencrypted backup.
If you need to restore the backup to a lower version of the database, you need to enable the tolerant mode.

Click the Restore from local backup button, select the local backup file in the pop-up window, enter the backup file encryption password, and click "Confirm" to restore the backup.
Leave password empty for unencrypted backup.
If you need to restore the backup to a lower version of the database, you need to enable the tolerant mode.

Click the Download button of the backup item in the backup list to download the backup file.
Click the Delete button of the backup item in the backup list to delete the backup file.
Switch to the "Settings" tab, modify the backup settings, and click Save to take effect.

Automatic backup: After enabling Run automatic backup on the cron schedule, you can set automatic backups at specified times.Maximum number of backups: Set the maximum number of locally saved backup files. After exceeding the number, the earliest backup files will be automatically deleted.Sync backup to cloud storage: Set the cloud storage where the backup files are automatically uploaded after a successful backup.Backup local storage files: Whether to include files uploaded by users to the server's local storage (storage/uploads) in the backup.Restore password: If a restore password is set, it must be entered when restoring the backup.Please keep the restore password safe. Forgetting the password will make it impossible to restore the backup file.