The scope of using the program
through command line is to allow to configure and run a backup through windows
scheduled tasks or from other programs (as a plug-in). Scheduling the program
through windows scheduled tasks you can execute it like a service and so without need user logon.
Run
a BackupSet
Uranium.exe cmdline execbks
"BackupSetName" "M" "V" "T"
The first parameter is the backup set
name
The second parameter indicates if backup
only modified items or all the items: T -> All , M -> Only modified
The third parameter indicates if the activity window must be visible (V) or invisible
(I)
The fourth parameter indicates if end
program after backup end (T) or leave the program opened (A)
In case of execution through windows
scheduled task it is recommended to end the program at backup end (T).
See also this tutorial
for execution as a service through scheduled tasks, and for multiple backup execution
at the same time.
Create new BackupSet
Uranium.exe cmdline newbks "BackupSetName"
"T"
The last parameter indicates if end program after this operation (T) or leave the
program opened (A)
Adding items (files and folders to backup) to an existing BackupSet
Uranium.exe cmdline addelem
"BackupSetName" "C:\user??{F0 - Exclude: *.txt|*.ini} C:\myfolder??C:\Documents??C:\Programs" "T"
The separator between various items must be ?? (double question mark)
It is possible to add an exclusion
filter adding the prefix "{F0 - Exclude: *.txt|*.ini} " to the item
It is possible to add an exclusion filter adding the prefix "{F1 - Include: *.txt|*.ini}
" to the item
The final space after the prefix is obligatory.
The last parameter indicates if end program after this operation (T) or leave the
program opened (A)
Add backup destinations
Uranium.exe cmdline adddest
"BackupSetName" "\\server\dylan??<ZIP
03> \\server\hisfolder??\\networkpc\backup??%TB%" "T"
The separator between various destinations
must be ?? (double question mark)
It is possible to specify if compress
the items in a destination adding before the destination the prefix
"<ZIP 03> ".
The number indicates the number of copies to maintain (it will be always overwritten
the oldest file).
The maximum number of copies to maintain is 99.
The final space after the prefix is obligatory.
If you want to add some special destinations, like tape backup or DVD/Blu-Ray burning, there are some specific special strings available:
%TB%: tape backup
%BB%: burning
The last parameter indicates if end program after this operation (T) or leave the
program opened (A)
Add
Scheduling to an existing BackupSet
Uranium.exe cmdline sched "BackupSetName"
"1" "0" "01,02,03" "12:50,19:00" "T"
The first parameter is the backup set
name
The second parameter
indicates if enable (1) or disable (0) scheduling.
The third parameter indicates the schduling type:
0: Weekdays
>The fourth parameter must contain the weekdays numbers separated by "," (comma)
in the form "01,02,03"
>The fifth parameter must contain the hours in which run the backup separated
by "," (comma) in the form "12:50,19:00,23:45"
1: Days of the month
>The fourth parameter must contain the numbers of the days of the month separated
by "," (comma) in the form "01,02,09,17,27"
>The fifth parameter must contain the hours in which run the backup separated
by "," (comma) in the form "12:50,19:00,23:45"
2: Every specific interval
>The fourth parameter must contain the interval of days, hours and minutes in
which run the backup, in the form "03-05:03" (3 days, 5 hours e 3 minutes)
The last parameter indicates
if end program after this operation (T) or leave the program opened (A)
Delete an existing BackupSet
Uranium.exe cmdline delbks "BackupSetName"
"T"
The first parameter
is the backup set name
The second and last parameter indicates if end program after this operation (T)
or leave the program opened (A)
Open the tape restore window
Uranium.exe cmdline tr "T"
The first parameter must be "tr" (tape restore)
The second and last parameter indicates if end program after this operation (T)
or leave the program opened (A)
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
N.B.: All parameters are obligatory