NovaStor NovaStor NovaStor
NovaStor
Cart

 

PC Backup
+
+ Learn
  NovaBACKUP
Product Video
Version Comparison
FAQs
 
+ Try
  Free Trial
Download Wizard
Purchase Risk-Free
 
+ Buy
  NovaBACKUP Store
Upgrades
Main Online Store
Find a Reseller
 
+
+ Support
  Tech Support
Manuals
Tech Tips
Compatibility & Requirements
Patches & Updates
Register Software




NovaStor » PC Backup » NovaBACKUP Backup Software » Support
Running NovaBACK QIC From Command Line


COMMAND LINE:  NOVABACK QIC For WINDOWS 3.x, 95, 98, NT, and OS/2
The backup and restore programs are designed to provide 
a file by file backup of files to/from the tape.  The 
program can run either by menus or by a command line.
Each run of the backup program creates a single tape 
data set.  A list of commands can be seen on the screen 
by typing BKP or RST.  Multiple backup data sets may be 
placed on one tape and multi-volume backup data sets 
are supported.

Command line parameter format is:

QBKP (or QRST) [)log_file] {options} [filename]
{Options} must precede files to which they apply.  
Options must be enclosed in braces and may NOT contain blanks.

THE OPTIONS FOR BACKUP ARE:

S	Backup subdirectories contained within specified volumes/
	directories.
M	Backup only files which have been modified since the last backup.
U	Update the archive bit for each file backed up.
E	Add this backup set after existing data on the tape.
R	Rewind before starting (default).
A:mm/dd/yy [:hh:mm]Backup only files with dates after given date.
B:mm/dd/yy [:hh:mm]Backup only files with dates before given date.
D	Backup readonly files (in addition to normal files).
H	Backup hidden files (in addition to normal files).
Y	Backup system files (in addition to normal files).
W       Causes the software compression option to be enabled.
X	Causes the program to scan and total all files to be backed up 
        before starting the backup.  This allows the percent complete 
        'thermometer' to be displayed during backup.  For very large 
        backups, this option may not be desirable due to the time it takes 
        to do the pre-scan.
Gn	Set logging option
n = 0	No logging
n = 1	Summarize by subdirectory
n = 2	List all files backed up
L	List files but do not perform the backup.
V	Perform verify after backup.  This can be done either from the menu 
        by answering "Yes" to the "Perform Verify after backup?" prompt.
Ttitle  Insert up to 30 byte title on tape header and into the b-tree 
        index.  'title' is only terminated by the ending '}', so it 
        may have spaces and special characters, but must be the last 
        (or only) option in its {...} option group.

{t" title^MItape label"}
      Gives the backup a session header and a new tape label.  Note, tape 
      label is only used when you are in overwrite mode.
{t title^tape label}
      This type of syntax should only be used in a procedure file.
{t title}
      Gives the backup a session header.  Note, this syntax 
      should be used in an append mode.  (PROCEDURE FILE ONLY)
{t"title"}	
      Gives the backup a session header and a new tape label.  
      Note, this syntax should  be used in an append mode.
	**title and tape label length is <=30 characters.

SPECIAL NOTE:  The {t....} option, for labeling session names 
               or tape label may be placed in a separate 
               parameter option.  If placed with the other 
               options, make sure that it is the last option.

               EXAMPLE:
               qbkp {sdhyxt"My_Backup^1"}

THE OPTIONS FOR RESTORE ARE:

S	Restore files in subdirectories contained within specified 
        volumes/directories.
M	Restore only the files modified since the last backup.
R	Rewind before starting (default).
A:mm/dd/yy [:hh:mm] 
	Restore only files with dates after a given date.  
        Time is optional.
B:mm/dd/yy [:hh:mm] 
	Restore only files with dates before a given date.  
        Time is optional.
P	Prompt the operator to restore each file.
D	Restore readonly files (in addition to normal files). 
H	Restore hidden files (in addition to normal files).
Y	Restore system files (in addition to normal files).
Gn	Set logging option:
	n = 0 No logging.
	n = 1 Summarize by sub-directory.
	n = 2 List all files backed up.
L	List files only, do not actually do the restore.
X	Overwrite existing files (default is on).  Specify -X to avoid 
        overwriting existing files.
Fn	Restore from 'n' backup set on the tape.
U[:file_name]
	This causes the program to write out a list of file names 
        requested but not found on the tape.  If just 'U' is specified,
        the list is directed to a file 'notfound.1st' in the currently 
        logged directory.  To direct it elsewhere, specify 
        'U:v:\path\filename'. 
N:v:\path\
        Specifies an override volume [and path] for the 
        following files to be restored to.  This applies to following 
        restore requests until this option is specified again or 
        turned off by -N.  This is an alternative method to specifying 
        'filename/filename' for each restore request.  For example, 
        if only volume is specified at the beginning of a restore, all 
        restored files will go to that volume retaining the same path 
        and file names.
T:mm/dd/yy[hh:mm]
	Searches forward on the tape for a backup set taken at the 
        specified date/time, and does the restore from it.
Z	Restore from the last backup set on the tape.  Do not specify 'Fn' 
        when using this option.



BACKUP - Command Line Examples:

LIMITATION:  A BACKUP SET TITLE, OR VOLUME LABEL, MAY NOT HAVE ANY 
BLANK SPACES THROUGH THE COMMAND LINE.

Example 1:

 qbkp {st"monday_night_c:^940105"} c:>

This example backs up all subdirectories on drive C:.  Also, it assigns 
a tape label of "940105" and assigns the backup set a title of 
"Monday_Night_C:".  A tape label can only be assigned when you overwrite 
a tape.  If you attempt to assign a tape label on an appended backup, 
it will be ignored.

Example 2:

 qbkp {sdhyxg2et"monday_night_d:"} d:

This example backs up all lower subdirectories, read only files, hidden 
files, system files, and normal files on drive D:.  This backup will be 
appended to the end of the data on the tape with a backup set label of 
"Monday_Night_D:".  A backup log will be created for this backup, logging 
all file names, and a percentage bar will be visible during the backup.

Example 3:

Part One (ALL ON ONE LINE)
  qbkp )fulbkp.log  {sdhyuxg2*t"full_bkp_f:^jan."} f:

Part Two (ALL ON ONE LINE)
  qbkp )incbkp.log  {sdhymuexg2t"inc_bkp_f:"} f:

Part One:  This example creates a user named log file called "fulbkp.log", 
logging all file names.  Drive F: will be backed up, lower subdirectories, 
read only files, hidden files, system files, Novell trustee rights, and 
normal files will all be backed up.  The archive bit will be updated on 
all files that are backed up.  The tape will receive a tape label of 
"JAN." and a backup set title of "FULL_BKP_F:".

Part Two:  This example creates a user named log file called "incbkp.log" 
logging all file names.  Drive F: will be backed up.  This example may be 
used to do an incremental backup on drive F:.  Keep in mind that only 
modified files are backed up.  Lower subdirectories, read only files, 
hidden files, system files, and normal files will be backed up.  The 
backup will have a backup set title of "INC_BKP_F:".

Example 4:

  qbkp {sdhyxg1i=(26,27)} c: d: f:

This example creates a log file, on a subdirectory level, with a default 
name, backing up all subdirectories, read only files, hidden files, and 
system files, on drive C: D: and F:.  The backup will first backup up to 
the tape drive that is at address 26 and when the tape is full, it will 
continue the backup to unit 27.  As you notice, a backup set name and a 
volume label have not been assigned.  This is valid, and the backup will 
-receive a backup set number rather than a name.

Example 5:

  qbkp {sdhyxqt"test^1"} c: - c:\temp\*.*

This example will backup lower subdirectories, read only files, hidden 
files, system files, and normal files.  The backup will receive a backup 
set label of "TEST" and the tape label will be "1".  The backup will 
occur on drive C: excluding all the files that are in the "temp" 
subdirectory.  During the backup, a percentage bar will be visible to 
signify backup progress, and a MegaBytes per minute counter will also 
be visible.  Multiple exclusions may occur on the same line, but they 
must follow the syntax noted above.


RESTORE - Command Line Examples:

Example 1:

  qrst {sdhyg2} C:

This example will restore your first backup set on the tape back to the 
original location from where the backup occurred.  A log file is also 
kept for the verify.

Example 2:

  qrst )restore.log {sdhyg2f2} c:

This example will restore the second backup set from the tape back to the 
original location from where the backup occurred.  A log file is also kept 
for the verify with a user defined name called "restore.log".

Example 3:

  qrst {sdhy} c:\/d:

This example will restore your first backup set on the tape, which was a 
backup of drive C:, and restore it back to drive D:.  NOTE:  That there 
are no blank spaces after the C:.

Example 4:

  qrst {sdhy} c:\dos\*.*-c:\dos\*.exe

This example will restore your first backup set on the tape.  The files 
that are to be restored are all the files under the subdirectory "DOS" 
excluding all files that end with an ".EXE" extension.

bottomline
Products Solutions Downloads Support Partners Company Contact Buy
  Backup Software, ©1999 - 2009, NovaStor Corporation.  All Rights Reserved. US    Press Center sp Site Map sp Search sp