Limited time promo

This help topic applies only to Backup4all. If you don't have it yet, you must download it first.

Download now Buy licenses
Adrian (Softland)
Mar 22, 2022
Backup4all 9.x
We strive to keep our help as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
Backup4all uses for each action a small application that runs independently from the main application. They can be used to create batch files.
The command line parameters for restore action are described bellow.

Backup jobs

Syntax

bRestore [/RE] job_name [/DEST path] [/NDL] [/DATE] [/RNC] [/RDE] [-Priority[{1|2|3|4}]

Formatting legend
Italic - Information that must be supplied by the user
Bold - Elements that the user must type exactly as shown
/ - Switches are preceded by slash
[] - Elements between square brackets are optional
| - Vertical line separates possible choices
{} - Items between braces are a set of choices from which the user must choose only one
  • /RE - execute the restore for the named backup job
  • /DEST - execute the restore into the specified destination. You also need to enter the path for restore.
  • /NDL - execute the restore without creating the drive letter folder
  • /DATE - execute the restore of all files as of a specified date
  • /RNC - execute the restore of the specified backup numbers
  • /RDE - execute the restore including excluded and deleted files
Examples:
To execute a restore for My Pictures backup job

bRestore /RE "My Pictures" - Priority 2
To execute a restore for My Pictures backup job to another destination as of a specified date

bRestore /RE "My Pictures" /DEST "C:\Restore" /DATE 12.30.2011 - Priority 2

Tags

Syntax

bTagRestore [/RE] tag_name [/DEST path] [/NDL] [-Priority[{1|2|3|4}] }]
  • /RE - execute the restore for the named backup tag
  • /DEST - execute the restore into the specified destination. You also need to enter the path for restore.
  • /NDL - execute the restore without creating the drive letter folder
For the priority level you can select a value between 1-4, as 1 is the lowest priority and 4 is the highest priority.
Examples:
To execute a restore for Samples tag in original location:

bTagRestore /RE "Samples" - Priority 2
To execute a restore for Documents backup tag to another destination without creating drive letter:

bRestore /RE "Documents" /NDL /DEST "C:\Restore" - Priority 2
Backup4all returns exit codes after each task execution (backup, independent test, repair, restore or cleanup).
As a general case, if the action was successful, the exit code is 0, otherwise is different.
Here are the possible exit codes:
  • 0 : action was successful
  • 1 : action has not started, parameter errors, syntax errors, other errors
  • 2 : action finished with errors
  • 3 : action was finished with warnings
  • 4 : independent test was finished with errors
  • 5 : independent test was finished with warnings