Navigation: Z-DATdump Help System > Program >

Commandline

 

 

 

 

 

Via command-line parameters it is possible to change default program values or enable batch processing of backups. The parameters must be entered after the program name, each separated by spaces.
 

-b #

 Loads dump list # and starts back-up. The program exits after back-up succeeds. Examples:

 ...\Z-TapeBackup\ZDATdump.exe -b 1
...\Z-TapeBackup\ZDATdump.exe -b 5  -append
 

-down

 Computer is shut down after back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 5 -down
 

-hiber

 Computer is hibernated after back-up. Examples:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -hiber
 ...\Z-TapeBackup\ZDATdump.exe -b 5 -hiber
 

-hide

 Program window is not shown. Example:

...\Z-TapeBackup\ZDATdump.exe -b 1 -hide
 

-endeject

 The medium is ejected from the drive after back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -endeject
 

-endejectoff

 Overrides global setting to eject medium. Medium is not ejected after dump. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -endejectoff
 

-compon

 Enable hardware compression of tape drive (if available). Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -compon
 

-compoff

 Disable hardware compression of tape drive. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -compoff
 

-prepare

 Enable tape auto-format function of Z-TapeBackup. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -prepare

...\Z-TapeBackup\ZDATdump.exe -b 1 -prepare tapename

...\Z-TapeBackup\ZDATdump.exe -b 1 -prepare $DATE
 

-fseek

 The position of the files on the tape will be tracked and saved to a file automatically. Unfortunately, the FastSeek option requires a lot of time on old tape drives which can lead to massive slowdowns when backing up more than 5,000 files. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -fseek
 

-fastcrc

 FAST-CRC check after dump. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -fastcrc
 

-fastcrcoff

 Overrides global setting and disables FAST-CRC check. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -fastcrcoff
 

-inkr

 Incremental back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -inkr
 

-diff

 Differential back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -diff
 

-noaclear

 At any tape backup, the archive bit (also archive attribute) of files deleted on the band. This option is turned off this function. This parameter -incr will disable this feature in principle. Example:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -noaclear
 

-zerook

 An empty dump does not trigger an error message. Examples:

 ...\Z-TapeBackup\ZDATdump.exe -b 1 -inkr -zerook
 ...\Z-TapeBackup\ZDATdump.exe -b 1 -diff -zerook
 


 

Copy folder to tape

-v foldername

 Copy folder foldernameto tape. Example:

 ...\Z-TapeBackup\ZDATdump.exe -v c:\backup
 

-mask filemask

 Use a mask to impose restrictions on filenames being copied. Examples:

 ...\Z-TapeBackup\ZDATdump.exe -v c:\backup -mask *.zip
 ...\Z-TapeBackup\ZDATdump.exe -v c:\backup -mask *.zdb
 


 

Copy files in file list to tape

A self-defined file list can be specified for back-up. Z-TapeBackup uses a simple text file (UTF-8 or ASCII). Each line contains one file or folder name. The list can be created with Windows Notepad, for example.

-f filename

 Load file list and copy contents to tape. The program exits after back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -f dumplist.txt


 


Load file list and append contents to existing back-up. The program exits after back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -f dumplist.txt -append


-nodirentry

 Only folder names are copied to the medium; the contents of the folders are not saved. Example:

 ...\Z-TapeBackup\ZDATdump.exe -f filelist.txt -nodirentry
 

-emptydir

 Empty files and folders are copied to tape. Example:

 ...\Z-TapeBackup\ZDATdump.exe -f filelist.txt -emptydir
 


 

Restore selected files

A self-defined file list can be specified for restoration. Z-TapeBackup uses a simple text file (UTF-8 or ASCII). Each line contains one file or folder name. The list can be created with Windows Notepad, for example. Z-TapeBackup uses the index file from the hard disk for restoration. If no index file exists, it is created prior to restoration. The data is restored to its original location, existing files will be overwritten.

-getdata filename

 Load file list and restore contents. The program exits after restoration. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getdata fileliste.txt


-backdir directory

 Restore data to given directory. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getdata fileliste.txt -backdir c:\sicherung
 

-nameonly

 Files are restored without folder names. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getdata fileliste.txt -backdir c:\sicherung -nameonly
 

-stripdir

 Files are restored without first folder name. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getdata fileliste.txt -backdir c:\sicherung -stripdir
 


 

Restore single file from tape

-getfile filename

 Z-TapeBackup uses the index file from the hard disk for restoration. If no index file exists, it is created prior to restoration. The data is restored to its original location, existing files will be overwritten.

 ...\Z-TapeBackup\ZDATdump.exe -getfile c:\data\mypic.jpg

To enter names containing spaces, use double quotes. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getfile "c:\old data\mypic.jpg" <

You can search for full file names or parts of filenames. DOS wildcards are not supported. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getfile *mypic.jpg

Program window is not shown. Example:

 ...\Z-TapeBackup\ZDATdump.exe -hide -getfile *mypic.jpg 


 -backdir directory

 Restore data to given directory. If the directory doesn't exist, Z-TapeBackup will create it. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getfile *mypic.jpg -backdir c:\myrestore
 

-nameonly

 Restore data to given directory. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getfile *mypic.jpg -backdir c:\myrestore -nameonly
 

-stripdir

 Files are restored without first folder name. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getdata fileliste.txt -backdir c:\sicherung -stripdir
 


 

Invoke Z-TapeBackup program functions

-restore

 Invokes the dialog window for restoration. Example:

 ...\Z-TapeBackup\ZDATdump.exe -restore
 

-show

 Invokes the dialog window that shows directory contents. Example:

 ...\Z-TapeBackup\ZDATdump.exe -show
 

-dumpcheck

 Invokes the dialog window for verifying the first tape dump. Example:

 ...\Z-TapeBackup\ZDATdump.exe -dumpcheck

Verify the complete back-up. Example:

 ...\Z-TapeBackup\ZDATdump.exe -dumpcheck -append
 

-setup

 Invokes the dialog window for program settings. Example:

 ...\Z-TapeBackup\ZDATdump.exe -setup
 

-softerase tapename

 Delete tape named tapename.Example:

 ...\Z-TapeBackup\ZDATdump.exe -softerase Monday
 

-isload tapename

 Check for tape named tapename in drive. If tape is in drive, the return code is 0. Example:

 ...\Z-TapeBackup\ZDATdump.exe -isload Monday
 

-getinfo filename.ini

 The tape identifier (FAT) is read and saved to the INI file filename.ini. The information can be extracted using the Windows API function GetProfileString. Example:

 ...\Z-TapeBackup\ZDATdump.exe -getinfo mytapeinfo.ini



Program


Main window

Set up medium

Data selection

Directory selection

Backup

1-click backup

Multi-Spanning

Task scheduling

Restore

Backup view

Logfile

Saving methods

Program Setup

Context-sensitive help

Online Updates

  
 
 

 

All used trademarks and company names are subject to copyright of their respective companies.
 

 

 

 

Copyright © 2024 Andreas Baumann