Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_components:dpiui:user_guide:admin_section:backup_settings [2022/09/06 14:05] – [Enable FS backup] 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 15: | Line 15: | ||
| To enable DB backup, select " | To enable DB backup, select " | ||
| - | {{ : | + | {{ : |
| __//Specify the following settings// | __//Specify the following settings// | ||
| Line 24: | Line 24: | ||
| * **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, minutes. (Default value is 0) | + | * **BACKUP_DB_DELETE_OLD_INTERVAL_MINUTES** - delete old DB backups interval, minutes. (Default value is 0) |
| <note important> | <note important> | ||
| Line 33: | 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) | ||
| Line 42: | Line 41: | ||
| * **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, minutes. (Default value is 0) | + | * **BACKUP_FS_DELETE_OLD_INTERVAL_MINUTES** - delete old FS backups interval, minutes. (Default value is 0) |
| <note important> | <note important> | ||
| Line 68: | Line 67: | ||
| To save the edited parameters, click the **" | To save the edited parameters, click the **" | ||
| - | {{ : | + | {{ : |
| ====== Data recovery ====== | ====== Data recovery ====== | ||
| Line 77: | 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 ===== | ||