Zback user's guide
portable backup and synchronize tool for Windows 9x, XP, Vista, Win7.

(c) by Davor Zorc, Zagreb, Croatia , 2001.-2010.

Freeware for personal use.   davor.zorc@fsb.hr

PURPOSE
1) Synchronize directories for routine backup, for example between hard drive and USB drive or synchronize two computers via USB drive.

2) General purpose backup and restore utility to save changes in work directories

FEATURES
- portable - no installation needed - just unzip to any directory on a fixed or removable drive (for example c:\zback)
- works from USB stick, does not write to the registry
- copy modes: update files, mirror source to target, synchronize, dated backup and restore
- filter files based on extension, size, date, subdirectories
- preview and execute operation
- save backup scripts for routine backups
- simple, manual, batch or command line operation
- small size (200 kB)
- personal freeware
 

HOW TO USE

Manual backup is used for one time backup, while Batch backup is used for routine backups. In manual backup you may set all the options and then click [Add to Batch] button to add it to batch command list. Batch commands are DOS like command lines which can be saved in textual files (*.BAL) for further use. You can have many jobs in a single batch script file.

For general backup use, it is good to go to Options and click [Set default backup drive] to choose target location, for example D:\BACKUP. Good backup location is on another physical drive in the system or USB attached drive or USB stick.
After setting backup location, use Update mode to backup files. Use restore mode to copy back previous backup from target to source. Or, simply swap left-right directories using [<>] button and then use Copy all or Mirror mode (mirror mode will erase surplus files and directories from the source too). Restore will overwrite newer files in the source directory and you will have situation like in the moment of last backup.

Using Simple backup is like using Manual backup with default settings. It will Backup, Mirror, Synchronize or Restore all files including subdirectories (if this option is checked). When to-do list is done, click [Execute] button.

In Manual backup you first set Source and Target directory, for example  c:\work and d:\backup\work. You can create Target directory using [MkDir] button. It is useful to think in advance of backup directory structure and naming strategy and how often you want to backup your data.

Then set copy mode:

When choosing mode, watch statusbar for additional info about modes.

You can choose to copy all files or use several filters:

After making above settings, click on [Make List] to get preview in the to-do list of what files will be copied/ deleted.
On the to-do list you can click on [>>] icons or use right-click for menu of actions. This way you can uncheck lines that you do not want to be executed or you can change copy direction or do other actions. Look at statusbar to see what is the particular meaning of clicked to-do line.
Clicking on [>>] icon in to-do list directory label line (line staring with =[), you can Enable/ Disable/ Reverse all files in the stated directory.
Please note that multiple lines may be selected in to-do list.

When you are satisfied with the list, click [Execute List] to start copy files.

In Batch backup you [Load] batch file(s) or create new one and then you have two options:


Batch backup line format:

   SourcePath\Mask  > TargetPath  [/mode[options]]

# This is example batch command script for routine backups (*.bal)
c:\work\*.*  >  d:\backup\work  /us   #(backup current work to D:)
c:\work\*.*  >  f:\work  /ms          #(make mirror on stick F:)

Mode:
u= Update (= Refresh existing files+ add New files) (default mode!)
m= Mirror source to target (= Refresh + New + Erase surplus Target files)
c= Copy all files from Source to Target regardless of which is newer
U= Update bidirectional (Sync. from Source to Target and vice versa)
e= Erase Source files (for example: c:\work\*.tmp > (nul) /es)
d= Backup - copy all files to unique TargetDir\[Date_Time] directory
o= Restore files from Target to Source

Options:
s= recourse subdirectories too
n= copy only new files (non existing on Target)
r= copy files existing on Target only (refresh)
y= ask before processing batch line
t= filter source files based on file date (t=[dd.mm.yyyy-dd.mm.yyyy])
z= filter source files based on size (kB) (z=[11-22])
k= exclude source files with extension(s) (k=[*.bac,*.tmp])
p= skip updating subdirectory which does not already exists on Target
x= delete source files after copy (caution!)

Special codes in batch lines:
?=k = define ?: drive to be drive k: for whole batch (or until next ?=)
?:  = prompt user to specify drive (? is wildcard for drive letter)
%:  = drive where Zback.exe is located
%mydocs% = "My Documents" directory (example: %mydocs%\*.* > d:\backup\my /us)
%progfiles% = "Program files" directory (usually C:\Program files)
%backup% = Default backup drive+ directory (as set in Options)
<=> = reverse copy direction for whole batch
#   = comment line
##  = stop processing batch list after line starting with ##

To-do line prefixes (first character):
[ = create directory
+ = copy file
* = delete file
$ = delete surplus directory on target
= = directory label line
# = comment line

second character:
- = copy (new file or directory)
  = copy (refresh existing file)
* = copy (overwrite newer file!)
= = copy (overwrite identical file)
^ = copy (same date but different size)
" = copy (same date but different content)
! = delete (source file)
>, < = executed copy, erase or make directory

Command line operation

PROGRAM OPTIONS

TIPS AND TRICKS

ACKNOWLEDGEMENTS

LEGAL

DOWNLOAD

Go to Zback homepage  http://www.fsb.hr/~dzorc/zback.html  and then Download the latest version.

CONTACT

Suggestions, comments and bug reports are welcome. Please write me what Windows version you use and be sure to have latest Zback version.

Author Homepage:  http://www.fsb.hr/~dzorc/index.html   E-mail: davor.zorc@fsb.hr


Last update: 03.05.2010