Page 1 of 1

RegBak Command Line Options

Posted: Fri Aug 07, 2009 5:05 pm
by anidotnet
Can anyone please give me any info on how to run regbak as a command line utility to automate backup?

Re: RegBak Command Line Options

Posted: Sun Aug 16, 2009 12:43 pm
by Aneesh
Sorry, I didn't see this thread at all :-\

regbak.exe <backup path> /reg:suo /silent /overwrite /limitdays:d /limitcount:c

/reg:suo
s=system hives u=user hives, o=all other hives

/silent
silent operation

/overwrite
overwrites previous backup files in the save location

/limitdays:d
d = number of days of backups to keep, older backups will be deleted.

/limitcount:x
keeps last 'x' number of backups

Example:
Assuming "c:\windows\backup" is the backup location:
regbak.exe c:\windows\backup /reg:suo /silent

Re: RegBak Command Line Options

Posted: Sun Dec 13, 2009 10:30 pm
by smarts
Aneesh
Please write how to use <date> or <time> in command line, great demand.

Re: RegBak Command Line Options

Posted: Wed Dec 16, 2009 8:23 am
by Aneesh
You can use <date> and/or <time> in the following way:

regbak "backup path\<date>\<time>" /reg:suo /silent /overwrite /limitdays:d /limitcount:c

Example:
Assuming "c:\windows\backup" is the backup location:
regbak "c:\windows\backup\<date>\<time>" /reg:suo /silent

Re: RegBak Command Line Options

Posted: Wed Dec 16, 2009 11:15 am
by smarts
Thanks!

Re: RegBak Command Line Options

Posted: Mon Nov 28, 2011 2:40 pm
by hack3rakos
I'm sorry for diggin this old thread but does REGRES.exe has command line switches to restore aswell?

Re: RegBak Command Line Options

Posted: Tue Nov 29, 2011 2:11 pm
by hack3rakos
it will be so helpfull so i can put a shutdown script to my sister's pc!!!!

Re: RegBak Command Line Options

Posted: Tue Nov 29, 2011 4:04 pm
by Aneesh
regres.exe has not command line switches. :--|

Re: RegBak Command Line Options

Posted: Wed Nov 30, 2011 12:15 pm
by hack3rakos
ok then! thanks for replying :)