jfilesave


jFileSave is a more user-friendly front-end to the jbackup utility.  provides fast on-line backup facilities and can also be used to check file integrity.

jFileSave {DataPath} {-Options}

Where DataPath is a path to the jBASE files to be backed up.  If this path isn't provided, jFileSave will prompt the user for the path.

Option Explanation
-d Device save to tape device file, for Windows, this is the device number (e.g. 0 for "\\.\TAPE0"), for Unix this is the backup device (e.g. /dev/rmt/0).  Under Windows, if no device is specified, "\\.\TAPE0" is assumed.  There is no default device for Unix (too many variations on tape device names)
-mn maximum data capacity of media in Mb, default 100 Mb (same as jbackup)
-o FormQueue, Option This will send a report to FormQueue.  Option can be:
Error Only report an error
Full Report success of every backup
Verbose Full report on backup
-h/-? Display help page
-N No verify
-P print and scan files only, no save
-S Statfile Save statistics of all saved objects in jBASE file Statfile. The dictionary for this file is JBCRELEASEDIR/jbackup]D.
-v Verbose

 

NOTES

As this is simply a front-end for jbackup, this routine needs the following jbase commands (need to be installed and in the current path): jfind, jbackup, and jrestore.  This can also be ran from a batch file as long as the jBASE environment is setup.  Also, the TMP environmental variable needs to be setup as this is where the backup logs will be stored. 
 

EXAMPLES

jFileSave C:/Home -P

Reads all records, files and directories under the c:/home directory and writes each file or directory name to the log file (located the file BackupLogErr in the TMP directory).  This option can be used to verify the integrity of the selected files and directories.

 

jFileSave /home //dev/rmt/0 -m60 -v

Reads all files and directories contained in the UNIX directory /home and writes the formatted data blocks to the tape device, displaying each file or directory name as it is encountered. The jFileSave utility will prompt for the next tape if the amount of data produced exceeds the specified media size of 60 Mbytes.


Files