Параметры бекапирования и восстановления могут быть изменены в
конфигурационном файле /opt/synergy/utils/configs/backup/backup.conf
(см. Управление резервным
копированием).
The following config file parameters can be changed:
Path for backup store:
$dirs{backup}
= /var/backups/synergy
Condition to run backup - minimal percent of free space in the above-mentioned directory after backup is created:
$percent_after
= 5
Logs:
$logfile
= /var/log/synergy/backup.log
Note
The following parameters are generally left as is. Change them only if you are sure you know what you are doing.
Do you want to backup system before restore? 0 - no/1 - yes:
$pre_restore
= 0
Path to mysqldump:
$mysqldump
= mysqldump --routines
Path to mysql:
$mysql
= mysql
Path to Jboss initscript
$jbossinit
=
/etc/init.d/arta-synergy-jboss`
Base Synergy dir:
$dirs{base} =
/opt/synergy`
Server instance dir (to standalone directory) (path must be relative to synergy path):
$dirs{instance}
= \$dirs{base}/jboss/standalone
Server deploy dir (путь к папкам deploy, configuration):
$dirs{deploy}
= \$dirs{instance}/deployments
$dirs{config}
= \$dirs{instance}/configuration
Database datasources names:
$maincfg
= \$dirs{config}/standalone-onesynergy.xml
$db{synergyds}
= java:/SynergyDS
$db{jbpmds}
= java:/jbpm
Path to JCR datasource:
$jcrdsfile
= \$dirs{config}/standalone-onesynergy.xml