Difference between revisions of "Template:SQWareProduction sqwmsq BackupDatabase.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmsq_Global.lib | + | Sourcing sqwmsq_Global.lib v2020.01 SQWareProduction for MsSql (dbSQWare) ... |
− | Usage: sqwmsq_BackupDatabase.ksh [-h] | + | Usage: sqwmsq_BackupDatabase.ksh [-h] -I <FreeTdsAlias> -D <DatabaseName> [+ options] |
DESCRIPTION | DESCRIPTION | ||
sqwmsq_BackupDatabase.ksh backup the database | sqwmsq_BackupDatabase.ksh backup the database | ||
SUPPORT | SUPPORT | ||
− | MsSql supported versions: 2000 <= v <= | + | MsSql supported versions: 2000 <= v <= 2019 |
PARAMETERS | PARAMETERS | ||
− | + | -I Instance : Target instance (freeTds alias) for backup. | |
− | -D | + | -D databasename : Target database. |
OPTIONS | OPTIONS | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-BP path : Path to put backup (default: 'HKEY_LOCAL_MACHINE', 'BackupDirectory'). | -BP path : Path to put backup (default: 'HKEY_LOCAL_MACHINE', 'BackupDirectory'). | ||
− | -NS Nb_stripe : Force number of | + | -NS Nb_stripe : Force number of stripes. |
-HI Nb_Generations: Number of generations to keep (by default 2). | -HI Nb_Generations: Number of generations to keep (by default 2). | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
Line 22: | Line 22: | ||
-SBS SizeStat : Size of backup stats (default: Statisticss=10). | -SBS SizeStat : Size of backup stats (default: Statisticss=10). | ||
-REP : Insert into repeat file on error. | -REP : Insert into repeat file on error. | ||
− | -AddMail email : Email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-PurgeDiff : Delete all diff and log backups. | -PurgeDiff : Delete all diff and log backups. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
− | -Type type : Type of backup full,diff,log,CopyOnly ( | + | -Type type : Type of backup full,diff,log,CopyOnly (default full). |
− | -NoMail : | + | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). |
-Locale locale : Force Locale for help display (fr,en). | -Locale locale : Force Locale for help display (fr,en). | ||
-Exec : Execute commands (default, display generated commands) | -Exec : Execute commands (default, display generated commands) | ||
</pre> | </pre> |
Revision as of 18:36, 8 March 2020
Sourcing sqwmsq_Global.lib v2020.01 SQWareProduction for MsSql (dbSQWare) ... Usage: sqwmsq_BackupDatabase.ksh [-h] -I <FreeTdsAlias> -D <DatabaseName> [+ options] DESCRIPTION sqwmsq_BackupDatabase.ksh backup the database SUPPORT MsSql supported versions: 2000 <= v <= 2019 PARAMETERS -I 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 stripes. -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 stats (default: Statisticss=10). -REP : Insert into repeat file on error. -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -PurgeDiff : Delete all diff and log backups. -SendReport : Send execution log report. -Type type : Type of backup full,diff,log,CopyOnly (default full). -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (default, display generated commands)