Stratesave 7.0 Organized Backup Program Help Files
Commandline parameters
Command line at start of backup program can be modified within your Windows-environment.
Stratesave 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.
/PERIOD="period name" or SCHEDULED
Specifies backup period. For example /PERIOD="Daily Backup 1".
SCHEDULED=Scheduled backups after time plan.
If this parameter is not specified, it defaults to "Single Backup after time plan".
/RESTORE
Switch to restore display.
/STARTBACKUP
Starts backup automatically, without waiting for start command.
/LOADLOG
At start log is loaded automatically.
/EXITAFTERBACKUP
After successfull backup, backup program exits automatically. This parameter corresponds to command
Exit program after backup from menu Options.
/SHUTDOWNAFTERBACKUP
After successfull backup, computer will be shut down automatically. This parameter corresponds
to command Shutdown computer after backup from menu Options.
/STOPAFTERBACKUP
After successfull backup after time plan, backup program stops scheduling and running backups.
This parameter corresponds to command Stop scheduling after next backup from menu Options.
/SERVICE
This parameter must be specified, if Stratesave is installed as a Windows Service.
/DELAY=nseconds
Wait time, before /LOADLOG or /STARTBACKUP will be executed. This is useful if Stratesave is running as
a service, and better waits some time with starting the backups until all other system services have been started
and networking has been initialized.
/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 backups.
/ENCRYPTKEYFILE=filename
If specified, reads the encryption key from the specified file. The key stored in the file can be
public key (for backup only) or private key.
/HIDEMINIMIZED
If specified, The Stratesave program is not shown during backup if minimized. Only the task-bar icon is shown.
/NAME=name
Name assigned to this Stratesave session, so it can be remotely controlled.
If Stratesave runs as a service, the service name
should be specified.
/REMOTECTL
If specified, Stratesave will connect to another running Stratesave session, to control it.
/RCNAME=name
Name of the Stratesave session to control.
/RCSERVER=computer
Computer name of the Stratesave session to control.
/RCSERVICE
The Stratesave session to control is a service.
/RCRETRY
Retry to connect to remote Stratesave session, and show taskbar-icon with actual state.
/SELECT1=filename, dirname or databasename /SELECT2=.... /SELECTn=
Selects the specified directories/files/databases for restore.
Specify the lines exactly as shown in restore-file-database-selection. Start with /SELECT1=,
and increment for every additional directory,database 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 ->
For databases, put (DB) in front of name.
Please note that Database names are case sensitive here, for example: /SELECT1="(DB) SQL Server\DBname\ -> (DB) SQL Server\DBname2\"
For Excluded entries, write Excluded: at beginning of line.
/STARTRESTORE
Start restoration at program startup. The directories/files to be restored must be selected
with /SELECT1=-option.
/EXIT
Exit restore program after the automatically started restore.
/MAIL
Send a mail after restore. The email settings must be configured in macro.
/WARNMAIL
Send a mail after restore, if there is an error or files could not be restored. The email settings must be configured in macro.
/ERRMAIL
Send a mail after restore, if there is an error. The email settings must be configured in macro.
/FORCE
If /FORCE is specified, no dialogs will be shown during backup or restore, and all questions are automatically answered with yes.
This is for scripting. Please note: This is a very dangerous option. It is absolutely necessary to test first without this option.
/CONFIGURENET
Automatically starts the Network-configuration wizard. This is used during ASR disaster
recovery over Network. This option also enables following 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 7.0\Stratesave" macro /RESTORE /LOADLOG /SELECT1=C:\
/STARTRESTORE /EXIT /FORCE /MESSAGESFILE=D:\RESTORE.LOG
See also: Examples how to configure automatic backup with commandline parameters
Stratesave  Help Files