-a|-action - action to manage the site in this case it executes backup.DB dump /home/bitrix/mysql_dump_ _DD.MM.YYYY_.For example:ġ0 22 * * * bitrix /opt/webdir/bin/bx_backup.sh sitemanager0 /home/bitrix/backup/archiveĪs the first option, DB name is added second option indicates catalogue, where the archive will be created.Īs a result, the following type of archive will be created by the script: (for example - The following files could exist inside the archive: To perform backup, the task is created in crontab-file. The task to create backup copy for project is added in Cron ( /etc/crontab).īackup is created for kernel (site type kernel and ext_kernel) and its all links, if such exist. After this step, the work of configuration wizard is finished.Note: How to configure the correct time in BitrixVA/Bitri圎nv, see here. opt/webdir/bin/bx-sites -a backup -d dbcp -enable -minute=10 -hour=18 -day=any -month=any -weekday=any If more detailed configuration for backup is required, command line utility can be used: Select period and hour for the start of automatic backup:.Select host name from the list and confirm the option to change of automatic backup schedule:.Change backup settings on site in the Virtual Appliance settings. To create scheduled automatic backup copy via BitrixVA/Bitri圎nv tools: Disadvantages: backup copy cannot be created for files, stored in Cloud-storage drives.Advantages: higher creation speed for backup copy and independence from project performance.This method has both advantages and disadvantages, compared to Bitrix24 products built-in backup copy mechanism: tar.gz archive format and recorded in the directory /home/bitrix/backup/archive/. Backup will be created as per schedule in the. Similarly, when the program is switched back to the app mode, the \engine directory from the LocalService profile is copied to the user's profile directory.Often, when deploying project, based on BitrixVA/Bitri圎nv, a backup copy for the project is required.Īutomatic backup feature for the site and the database is available in BitrixVA/Bitri圎nv. More specifically, the program reads ProfileImagePath value under HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19 and it would typically be something like C:\Windows\ServiceProfiles\LocalService\AppData\Local\Bvckup2. Now, when the program is switched from the app to the service mode, the engine part of the config is copied to the LocalService profile directory. Nothing is stored in the registry, except for a bit of information required for the Add/Remove Program applet of the Windows Control Panel. The delta copying hashes and other supporting data is also stored in the engine config, in a respective backup job directory.Īll this is stored on disk in the directory you mentioned - C:\Users\\AppData\Local\Bvckup2. if to run backup jobs concurrently, the boot delay, etc). The engine part includes all backups as well as few global settings that aren't UI-related (e.g. They also cover the software updates as they are run in the scope of the UI. The UI settings are the window position, its state, prompt-on-exit preference and what not. Program settings comprise of two parts - the user interface part and the engine part. Jun 02, 2013Good question, I meant to explain how it all works in details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |