Template:SQWareProduction sqwmsq BackupDatabase.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by Expdbtools |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwmsq_Global.lib | Sourcing sqwmsq_Global.lib v3.1.b1 SQWareProduction for MsSql (dbSQWare GPL v3) ... | ||
Usage: sqwmsq_BackupDatabase.ksh [-h] -S <FreeTdsAlias> -D <DatabaseName> [+ options] | Usage: sqwmsq_BackupDatabase.ksh [-h] -S <FreeTdsAlias> -D <DatabaseName> [+ options] | ||
| Line 23: | Line 23: | ||
-REP : Insert into repeat file on error. | -REP : Insert into repeat file on error. | ||
-Type type : Type of backup full,diff,log (defaut full). | -Type type : Type of backup full,diff,log (defaut full). | ||
-NoMail : Desactivate sendmail on error | -NoMail : Desactivate sendmail on error default@dbsqware.com (by default, send on error). | ||
-Exec : Execute commands (default, display generated commands) | -Exec : Execute commands (default, display generated commands) | ||
</pre> | </pre> | ||
Revision as of 21:37, 24 May 2011
Sourcing sqwmsq_Global.lib v3.1.b1 SQWareProduction for MsSql (dbSQWare GPL v3) ...
Usage: sqwmsq_BackupDatabase.ksh [-h] -S <FreeTdsAlias> -D <DatabaseName> [+ options]
DESCRIPTION
sqwmsq_BackupDatabase.ksh backup the database
SUPPORT
MsSql supported versions: 2000 <= v <= 2008
PARAMETERS
-S Instance : Target instance (freeTds alias) for backup.
-D databasename : Target database.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-BP path : Path to put backup (default: 'HKEY_LOCAL_MACHINE', 'BackupDirectory').
-NS Nb_stripe : Force number of stripe.
-HI Nb_Generations: Number of generations to keep (by default 2).
-FRT return_code : Force return code value on error.
-SMS SizeMax : Size Max Stripe (default 40000 Mo).
-SBS SizeStat : Size of backup stat (default: stats=10).
-REP : Insert into repeat file on error.
-Type type : Type of backup full,diff,log (defaut full).
-NoMail : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
-Exec : Execute commands (default, display generated commands)