Navigation: Z-DATdump Help System > Program >

Commandline

 

 

 

 

  Z-DATdump command-line parameters


 

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-DATdump\ZDATdump.exe -b 1
...\Z-DATdump\ZDATdump.exe -b 5  -append
 

-down

 Computer is shut down after back-up. Example:

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

-hiber

 Computer is hibernated after back-up. Examples:

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

-hide

 Program window is not shown. Example:

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

-endeject

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

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

-endejectoff

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

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

-compon

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

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

-compoff

 Disable hardware compression of tape drive. Example:

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

-prepare

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

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

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

...\Z-DATdump\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-DATdump\ZDATdump.exe -b 1 -fseek
 

-fastcrc

 FAST-CRC check after dump. Example:

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

-fastcrcoff

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

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

-inkr

 Incremental back-up. Example:

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

-diff

 Differential back-up. Example:

 ...\Z-DATdump\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-DATdump\ZDATdump.exe -b 1 -noaclear
 

-zerook

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

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


 

Copy folder to tape

-v foldername

 Copy folder foldernameto tape. Example:

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

-mask filemask

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

 ...\Z-DATdump\ZDATdump.exe -v c:\backup -mask *.zip
 ...\Z-DATdump\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-DATdump 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-DATdump\ZDATdump.exe -f dumplist.txt


 


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

 ...\Z-DATdump\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-DATdump\ZDATdump.exe -f filelist.txt -nodirentry
 

-emptydir

 Empty files and folders are copied to tape. Example:

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


 

Restore selected files

A self-defined file list can be specified for restoration. Z-DATdump 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-DATdump 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-DATdump\ZDATdump.exe -getdata fileliste.txt


-backdir directory

 Restore data to given directory. Example:

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

-nameonly

 Files are restored without folder names. Example:

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

-stripdir

 Files are restored without first folder name. Example:

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


 

Restore single file from tape

-getfile filename

 Z-DATdump 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-DATdump\ZDATdump.exe -getfile c:\data\mypic.jpg

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

 ...\Z-DATdump\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-DATdump\ZDATdump.exe -getfile *mypic.jpg

Program window is not shown. Example:

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


 -backdir directory

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

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

-nameonly

 Restore data to given directory. Example:

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

-stripdir

 Files are restored without first folder name. Example:

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


 

Invoke Z-DATdump program functions

-restore

 Invokes the dialog window for restoration. Example:

 ...\Z-DATdump\ZDATdump.exe -restore
 

-show

 Invokes the dialog window that shows directory contents. Example:

 ...\Z-DATdump\ZDATdump.exe -show
 

-dumpcheck

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

 ...\Z-DATdump\ZDATdump.exe -dumpcheck

Verify the complete back-up. Example:

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

-setup

 Invokes the dialog window for program settings. Example:

 ...\Z-DATdump\ZDATdump.exe -setup
 

-softerase tapename

 Delete tape named tapename.Example:

 ...\Z-DATdump\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-DATdump\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-DATdump\ZDATdump.exe -getinfo mytapeinfo.ini



 

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

 

 

 

Copyright © 2022 Andreas Baumann