Backup auto restoration [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:dpi_components:dpiui:user_guide:admin_section:auto_restore_backup_settings [2023/08/30 13:57] elena.krasnobryzhen:dpi:dpi_components:dpiui:user_guide:admin_section:auto_restore_backup_settings [2024/09/26 15:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== auto_restore_backup_settings ======+====== Backup auto restoration ====== 
 +{{indexmenu_n>6}} 
 + 
 + 
 +Starting from version 2.25.13 there is a function to automatically restore FS and DB from backups [[en:dpi:dpi_components:dpiui:user_guide:admin_section:backup_settings|backups]]. 
 + 
 +<note important>When automatic restore from backups is enabled, the dpiui2 server will work in replication mode (all kernel processes will be disabled).</note> 
 + 
 +Move to the DB and FS settings section, open the Administrator menu item, section **«Backup auto restoration settings»**. 
 + 
 +{{ :en:dpi:dpi_components:dpiui:user_guide:admin_section:dpiui2_conf_restore_en.png?880 |}} 
 + 
 +===== Enable auto restoration DB from backups ===== 
 + 
 +To enable auto restoration DB from backups, select "**Enabled**" 
 + 
 +{{ :en:dpi:dpi_components:dpiui:user_guide:admin_section:dpiui2_conf_restore_db_en.png?880 |}} 
 + 
 +__//Specify the following settings//__ 
 + * **BACKUP_RESTORATION_DB_ENABLED** - enable auto restoration DB from backups. (Default values is Disabled) 
 + * **BACKUP_RESTORATION_DB_FOLDER** - folder path with DB backups. 
 + * **BACKUP_RESTORATION_DB_DELETE_OLD_INTERVAL_MINUTES** - delete old DB backups interval, minutes. (Default value is 0) 
 + 
 +<note important>When set to "**0**", old backups will not be deleted.</note> 
 + 
 +===== Enable auto restoration FS from backups ===== 
 + 
 +To enable auto restoration FS from backups, select "**Enabled**" 
 + 
 +{{ :en:dpi:dpi_components:dpiui:user_guide:admin_section:dpiui2_conf_restore_fs_en.png?880 |}} 
 + 
 +<note>FS backup include **.env** files and  folder contents **/var/dpiui2/backend/storage**</note> 
 + 
 +__//Specify the following settings://__ 
 + * **BACKUP_RESTORATION_FS_ENABLED** - enable auto restoration FS from backups. (Default values is Disabled) 
 + * **BACKUP_RESTORATION_FS_FOLDER** - folder path with FS backups. 
 + * **BACKUP_RESTORATION_FS_DELETE_OLD_INTERVAL_MINUTES** - delete old FS backups interval, minutes. (Default value is 0) 
 + 
 +<note important>When set to "**0**", old backups will not be deleted.</note> 
 + 
 +===== Saving сhanges ===== 
 + 
 +To save the edited parameters, click the **"Save"** button. 
 + 
 +{{ :en:dpi:dpi_components:dpiui:user_guide:admin_section:dpiui2_conf_restore_save_en.png?880 |}} 
 + 
 + 
 +<note important>When automatic restore from backups is enabled, the dpiui2 server will work in replication mode (all kernel processes will be disabled).</note> 
 +