Automated backups
 
 
(1) Specifying a profile at startup
 
fbbackup.exe <profile filename>: starts the program with the specified profile loaded, but no auto-backup will be performed. Example:
 
         fbbackup.exe 'c:\fbbackup\profiles\documents.ini'
 
(2) Auto start
 
If you specify -s or ⁄s as the first command-line parameter, the program will perform a backup automatically, and close itself after the backup is finished. Additionally you need to specify the profile filename. Syntax:
 
         fbbackup.exe -s <profile filename>
 
or
 
         fbbackup.exe ⁄s <profile filename>
 
Example
 
         fbbackup.exe -s 'c:\fbbackup\profiles\documents.ini'
 
The output of the automatic backup will not be the directory specified in the profile, as it is the case with manual backups, but will be a subdirectory of the output directory. This subdirectory will be named according to the date and time when the backup took place.
 
Example: suppose the output directory is specified in the profile as:
 
         i:\backups\documents
 
then the output directory for the automatic backup will be
 
         i:\backups\documents\20070131.174521
 
when the backup started at date 2007-JAN-31 and time 17:45:21. The reason for this is that the backup the next day will not overwrite the previous backup, but will be put into a directory like:
 
         i:\backups\documents\20070201.174546
 
 
Automated "Failed files report"
 
If there are any files which could not be copied because of outside reasons (e.g. the file was locked by Windows or a program), these will be listed in the 'Failed files' report. The failed files report is placed in the backup output folder, using a time-stamped file name formatted according to the following format string:
 
YYYYMMDD.hhmmss_failed_files_report_.txt
 
(where YYYY is the year, MM is the month, DD is the day, hh is the hour, mm is the minute and ss is the second of the moment in time when the bacukp took place).
 
For example, when the backup was made on January 10, 2007 on 17:39:31, the failed files report would be named:
20070110.173931_failed_files_report.txt
 
 
Automatic backups using a Task Scheduler
 
You can use 'Freebyte Task Scheduler', a separate program which can be downloaded for free from http:⁄⁄www.freebyte.com⁄fbtaskscheduler⁄, in combination with the FB Backup command-line options described in this article, to automate your backup tasks.
 
For an example of a task inside the Freebyte Task Scheduler program, please see the following screenshot.
This example task starts Freebyte Backup at a specific point in time:
 
 
 
Please notice the fact that inside the field 'program parameters' the path+filename of the profile 'backup5.ini' is enclosed in double quotes. This is necessary because the path contains a space character. When the path+filename contains a space character and is not enclosed in double quotes, this task won't work as expected!
 
 
Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 17 of 19)

This page is created with TreePad