Stratesave 4.0 Organized Backup Program Help File

Parameters in command line


Command line at start of Restore program can be modified within your Windows-environment. Restore program expects following parameters:

·macro name or name of macro file
Macro, which is loaded at start of backup program. If this parameter is not specified, macro with PC's network name is loaded automatically.

·/LOADLOG
At start of backup program, log is loaded automatically from server.

·/MESSAGESFILE=filename
If specified, all output which goes to display-window "messages", will also be written (appended) to the specified file. This can be helpful for unattended restores.

·/SELECT1=filename, dirname or databasename /SELECT2=.... /SELECTn=
Selects the specified directories/files/databases for restore. Start with /SELECT1=, and increment for every additional directory or file to be selected. If the name contains spaces, put it between double-quotes, e.g /SELECT1="C:\My Folder\Work to do". If a file, directory or database must be selected with an alternate target directory, specify ­> targetdir, e.g. /SELECT1="C:\My Folder\Work to do ­> C:\My Folder\Work Done". There should be exactly 1 space before and after the ­>
Please note that Database names are case sensitive here, for example: /SELECT1="SQL Server\DBname"

·/EXCLUDE1=filename, dirname or databasename /EXCLUDE2=.... /EXCLUDEn=
Excludes the specified directories/files/databases for restore, if a parent directory was selected with /SELECTn=. Start with /EXCLUDE1=, and increment for every additional directory, file or database to be excluded. If the file or directoryname contains spaces, put it between double-quotes. Example: /SELECT1="C:\My Folder" /EXCLUDE1="C:\My Folder\Work to do".

·/RESTOREOPTS="options"
Specifies the restore options, which can also be entered in dialog Restore Options. The options should be put between double-quotes.Separate multiple options with space or comma.
REXISTDIR=Y,N or A Corresponds option "Restore into existing directory". If Y (=Yes), Files will be restored to existing directory without asking back. If N, files will not be restored if directory already exists.
OVERWRITEFILE=Y,N or A Corresponds option "Overwrite older file". If Y (=Yes), Files will be overwritten, if the file from backup is newer, without asking back. If N, files will not be restored if same file exists already.
OVERWRITENEWERFILE=Y,N or A Corresponds option "Overwrite older file". If Y (=Yes), Files will be overwritten, without asking back. If N, files will not be restored if same file exists already, and the file on PC is newer than in backup. OVERWRITENEWERFILE=Y works only if OVERWRITEFILE=Y is also set.
Example: To supress all "ask-dialogs" during restore, specify: /RESTOREOPTS="REXISTDIR=Y,OVERWRITEFILE=Y,OVERWRITENEWERFILE=Y"
SKIPLOCKEDFILES=Y or N Corresponds to restore option "At locked files and files without access". Y means files will be skipped, if N, backup will halt if a file is locked.
RLOCKEDFILESATREBOOT=Y or N Corresponds to restore option "Restore locked files and registry at reboot". Y means files will be prepared for restore at reboot. That way, even locked files can be restored, but Administrative privilege is required on Windows NT.
OVERWRITECOPIES=Y or N Corresponds to restore option "Make temp. copies of overwritten files". If Y, copies will be made of files overwritten during restore. The copies are in the same directory, with the same filename, but different extension, e.g. $$1. The copies can be useful if the restore operation should be undone.
COMPAREREGISTRY=Y or N Corresponds to option "Compare registry keys". If Y, registry keys will be compared during file-compare.
USEPRIV=Y or N Corresponds to option "Use restore privilege". If Y, restore privilege will be used to restore files.
USEPRIV=Y or N Corresponds to option "Use restore privilege". If Y, restore privilege will be used to restore files.
ROWNER=Y or N, RGROUP=Y or N, RACL=Y or N, RSYSACL=Y or N, Corresponds to restore options "Restore files owners/groups/permissions/auditings", and controls, which parts of NTFS security will be restored.

·/STARTRESTORE
Start restoration at program startup. The directories/files to be restored must be selected with /SELECT1=-option.

·/STARTCOMPARE
Start filecompare at program startup. The directories/files to be compared must be selected with /SELECT1=-option.

·/STARTVERIFY
Start backup verification with checksum at program startup.

·/EXIT
Exit restore program after the automatically started restore, compare or backup verify operation is completed successfully. It does not exit if the executed operation ends on error.

·/CONFIGURENET
Automatically starts the Network-configuration wizard. This is used during ASR disaster recovery over Network. This option also enables follow menu commands under menu Special, which can be useful for ASR disaster recovery: Configure Network, Map Network Drive and Command prompt.

Example command to make automatic full restore of C-drive and exit after restore, without any asking-dialogs, and write log-messages to a file on D-drive:
"C:\Stratesave 4.0\RESTORE" macro /LOADLOG /SELECT1=C:\ /RESTOREOPTS="REXISTDIR=Y,OVERWRITEFILE=Y,OVERWRITENEWERFILE=Y" /STARTRESTORE /EXIT /MESSAGESFILE=D:\RESTORE.LOG

Stratesave    Help Files