Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:dpi:dpi_components:dpiui:user_guide:admin_section:backup_settings [2022/09/06 13:49] – created kparamonov | en:dpi:dpi_components:dpiui:user_guide:admin_section:backup_settings [2025/09/17 08:15] (current) – elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== Backups ====== |
| - | {{indexmenu_n> | + | {{indexmenu_n> |
| Starting with version 2.25.9, the function of backup DB and FS has appeared. By enabling the function, you can configure the frequency of copying, storage duration, as well as export via SCP to a remote storage. | Starting with version 2.25.9, the function of backup DB and FS has appeared. By enabling the function, you can configure the frequency of copying, storage duration, as well as export via SCP to a remote storage. | ||
| Line 7: | Line 7: | ||
| Move to the DB and FS settings section, open the Administrator menu item, section **«Backup settings»**. | Move to the DB and FS settings section, open the Administrator menu item, section **«Backup settings»**. | ||
| - | {{ : | + | {{ : |
| ====== Configuration ====== | ====== Configuration ====== | ||
| Line 16: | Line 15: | ||
| To enable DB backup, select " | To enable DB backup, select " | ||
| - | {{ : | + | {{ : |
| __//Specify the following settings// | __//Specify the following settings// | ||
| * **BACKUP_DB_ENABLED** - enable DB backup. (Default value is Disabled) | * **BACKUP_DB_ENABLED** - enable DB backup. (Default value is Disabled) | ||
| - | * **BACKUP_DB_INTERVAL_HOURS** - backup DB time interval, | + | * **BACKUP_DB_INTERVAL_MINUTES** - backup DB time interval, |
| * **BACKUP_DB_PATH** - backup DB save path. (Default path is / | * **BACKUP_DB_PATH** - backup DB save path. (Default path is / | ||
| - | * **BACKUP_DB_DELETE_OLD_INTERVAL** - delete old DB backups interval, | + | * **BACKUP_DB_DELETE_OLD_INTERVAL_MINUTES** - delete old DB backups interval, |
| <note important> | <note important> | ||
| Line 34: | Line 33: | ||
| To enable FS backup, select " | To enable FS backup, select " | ||
| - | {{ : | + | {{ : |
| __//Specify the following settings// | __//Specify the following settings// | ||
| * **BACKUP_FS_ENABLED** - enable FS backup. (Default value is Disabled) | * **BACKUP_FS_ENABLED** - enable FS backup. (Default value is Disabled) | ||
| - | * **BACKUP_FS_INTERVAL_HOURS** - backup FS time interval, | + | * **BACKUP_FS_INTERVAL_MINUTES** - backup FS time interval, |
| * **BACKUP_FS_PATH** - backup FS save path. (Default path is / | * **BACKUP_FS_PATH** - backup FS save path. (Default path is / | ||
| - | * **BACKUP_FS_DELETE_OLD_INTERVAL** - delete old FS backups interval, | + | * **BACKUP_FS_DELETE_OLD_INTERVAL_MINUTES** - delete old FS backups interval, |
| <note important> | <note important> | ||
| Line 69: | Line 67: | ||
| To save the edited parameters, click the **" | To save the edited parameters, click the **" | ||
| - | {{ : | + | {{ : |
| ====== Data recovery ====== | ====== Data recovery ====== | ||
| Line 78: | Line 77: | ||
| To restore the database, upload the database backup file to the dpiui2 server and run the following command in the terminal: | To restore the database, upload the database backup file to the dpiui2 server and run the following command in the terminal: | ||
| - | < | + | < |
| ===== Restoring FS from backup ===== | ===== Restoring FS from backup ===== | ||