The settings for the DataBackup command have to follow the section with the name [DATABACKUP].
The file format is OPTION=VALUE
Between the OPTION, the = and the VALUE are no spaces.
You can comment out any OPTION or completely remove the related setting line to use the default settings.
All options (except DEBUG) defined in this configuration file can be overwritten in the backup definition file DataBackup.BACKUPNAME.cfg .
Therefore in this file defaults that are valid for all backups can be defined.
Example: BACKUPMODE=UPDATE_TARGET
Default: BACKUPMODE=BACKUP
When connecting thru SSH and executing DataBackup the user is not queried thru message pop up boxes.
Example: MESSAGEBOXES=True
Default: MESSAGEBOXES=False
Example: MESSAGEDISPLAYDURATION=10
Default: MESSAGEDISPLAYDURATION=2
Example: BACKUPSTARTLAG=15
Default: BACKUPSTARTLAG=3
Pre- and post-exec scripts are executed even when NOEXECUTE is set to True.
The aim of this option in the DataBackup.cfg file is to test all backup specifications without actually running it.
if NOEXECUTE is set to False, or if the option is missing from the configuration file, backups are performed.
Example: NOEXECUTE=True
Default: NOEXECUTE=False
Example: ENABLESHUTDOWN=False
Default: ENABLESHUTDOWN=True
Example: SHUTDOWNDELAY=600
Default: SHUTDOWNDELAY=300
Example: ENABLECOMPAIR=False
Default: ENABLECOMPAIR=True
Example: ENABLELOGSMOOTHING=False
Default: ENABLELOGSMOOTHING=True
Example: ENABLEFINISHSOUND=False
Default: ENABLEFINISHSOUND=True
The sound files must reside in the var/sounds/ directory.
A fun ressource of cool sounds is http://www.serienoldies.de/serien/80er/ which contains lots of themes of TV series from the 30ies until the 90ies.
If you specify FINISHSOUND=SPEAK: text message , the given text message is spoken in English language.
Example: FINISHSOUND=SPEAK: Backup is completed now!
Example: FINISHSOUND=Knight Rider
Default: FINISHSOUND=Big Ben
Example: COLORS=False
Default: COLORS=True
Example: OPACITY=80
Default: OPACITY=89
Example: DEBUG=True
Default: DEBUG=False
Inactivity only looks at user activity (mouse or keyboard), running programs do not count. Therefore even if running a backup task, the system would go to sleep or hibernate during that activity, what is not wanted in this case.
Example: NOSLEEP=False
Default: NOSLEEP=True
Example: NOTIFICATION=False
Default: NOTIFICATION=True
Example: STATSSAMPLES=30
Default: STATSSAMPLES=5
Unicode characters will only display if the current console font contains the characters. So use a TrueType font like Lucida Console instead of the CMD default Raster Font.
See also http://ss64.com/nt/chcp.html regarding code pages.
Example: CODEPAGE=861
Default: CODEPAGE=1252
Example: LISTDIRS=True
Default: LISTDIRS=False
Example: RETRIES=10
Default: RETRIES=2
Therefore, if a backup is started, but the external disk has not been powered on you have one minute time to do so without to restart the backup.
Also sometimes it takes some time when you connect an USB stick (or MP3 player) for the system to recognize it.
When a scheduled backup is started in interactive mode using the INTERACTIVE=True setting, the DRIVERETRIES setting should be changed to a higher value to improve the possibility that drives are accessible that are in power save or standby mode or network drives connected thru DFS (Distributed File System), the 'automounter' of Microsoft™ Windows.
Example: DRIVERETRIES=20
Default: DRIVERETRIES=10
To get a report containing data, the ENABLECOMPAIR setting has to be set to True.
Example: ENABLEREPORT=False
Default: ENABLEREPORT=True
To get a historicized report, the ENABLEREPORT setting has to be set to True.
Example: ENABLEREPORTHISTORY=False
Default: ENABLEREPORTHISTORY=True
This setting has only an effect when ENABLEREPORT=True is active.
When connecting thru SSH and executing DataBackup the report is not loaded into the browser.
Example: ENABLEREPORTLOAD=False
Default: ENABLEREPORTLOAD=True
Example: ABSOLUTELINKS=True
Default: ABSOLUTELINKS=False
Example: REPORTHTML=c:\Users\fred\myDataBackup.report.html
Example: REPORTHTML=%INSTALLDIR%\lib\DataBackup.report.de.html
Default: REPORTHTML=lib\DataBackup.report.html
Example: REPORTCSS=c:\Users\fred\myDataBackup.report.css
Default: REPORTCSS=lib\DataBackup.report.css
Example: REPORTJS=c:\Users\fred\myDataBackup.report.js
Default: REPORTJS=lib\DataBackup.report.js
Example: HTMLCHARSET=ISO-8859-1
Default: HTMLCHARSET=utf-8
If no BROWSERBIN is defined, DataBackup starts the system default browser.
Example: BROWSERBIN=%INSTALLDRIVE%:\Programs\WA2LWinTools\bin\run.exe
Example: BROWSERBIN=%INSTALLDRIVE%:\Programs\OperaPortable\OperaPortable.exe
Default: BROWSERBIN=
Example: BROWSEROPT=Opera
Example: BROWSEROPT=--user-data-dir="%INSTALLDRIVE%:\Data\Browser\Opera\%USERNAME%"
Default: BROWSEROPT=
Example: LOWSPACE=1024
Default: LOWSPACE=10240
# # WA2LSimpleBackup/etc/DataBackup.cfg - Configuration file for DataBackup # # [00] 08.02.2016 CWa Initial Version # [DATABACKUP] COLORS=False FINISHSOUND=Kojak
This is free software; see WA2LSimpleBackup/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.