When updating an existing file-level backup that was not previously encrypted, the encryption will only apply to the newly uploaded files.Įnables server-side encryption of the backup's contents (if a storage provider supports this feature).įor example: cbb addBackupMsSqlPlan -n "plan_name" -a "Amazon_S3_account" -instanceName "MY-PC\SQLEXPRESS" -winAuth yes -dbSelectionType "All" -sse yes For example: cbb addBackupMsSqlPlan -n "plan_name" -a "account" -instanceName "MY-PC\SQLEXPRESS" -winAuth yes -dbSelectionType "All" -ea "AES192" -ep "password" This can speed up uploading of your backup while it takes longer to process it before uploading.Įncrypts the backup's contents using a specified algorithm ( AES128, AES192 or AES256) and protects the backup with a password. For example: cbb addBackupMsSqlPlan -n "plan_name" -a "account" -instanceName "MY-PC\SQLEXPRESS" -winAuth yes -dbSelectionType "All" -c yes Indicates whether or not to compress files in the backup. Use the following parameters to encrypt and/or compress the contents of your backup. Specifying the Encryption and Compression Settings cbb addBackupMsSqlPlan -n "plan_name" -a "account" -instanceName "MY-PC\SQLEXPRESS" -winAuth no -userName "user" -password "password" -verify yes -dbSelectionType "All" -copyOnly yes -sp yes The following example illustrates how to create a new plan to back up all databases when a SQL Server instance uses its own authentication mechanism. cbb addBackupMsSqlPlan -n "plan_name" -a "account" -instanceName "MY-PC\SQLEXPRESS" -winAuth yes -dbSelectionType "Selected" -databases "AdventureWorks2017 custom" -copyOnly yes -sp yes The following example illustrates how to create a new plan to back up selected databases of a SQL Server instance that uses Windows authentication. sp Indicates whether or not to save the backup plan configuration to the backup storage along with the backup's contents. When this option is enabled, the database contents is copied to the backup without affecting the source database(s). copyOnly Enable this option to prevent the backup from making any changes to the source database(s) which is the case when using native SQL Server backup mechanism. You can list multiple databases by separating them using a semicolon. databases When the " -dbSelectionType" parameter is set to " Selected", you can use this parameter to specify which database(s) to include in your backup. " Selected" - enables you to select which database(s) you wish to back up by specifying the "-databases" parameter (see below).The backup will not include system databases (such as a master or model database). " User" - backs up only user databases that are available on the selected SQL Server instance." All" - backs up all databases available on the selected SQL Server instance, including user and system databases.dbSelectionType Specifies the databases to back up. See the following article for more information: How to enable SSL encryption for an instance of SQL Server by using Microsoft Management Console. The SQL Server instance must have a corresponding certificate installed, which becomes automatically trusted by the MSP360 (CloudBerry) client application. Use this option to select whether you need to secure an encrypted SSL/TLS connection between the database server and MSP360 (CloudBerry) Backup. The user must be assigned the sysadmin role in SQL Server. userName and -password Use these parameters to specify SQL Server user credentials when the " -winAuth" parameter is set to " no".Įnable this option to make the wizard automatically check whether the specified user account has all necessary permissions to restore the database. winAuth Indicates whether or not the selected SQL Server instance uses Windows authentication. instanceName Identifies the SQL Server instance containing the database(s) that you would like to back up. You can use the following parameters when executing the addBackupMsSqlPlan command. cbb addBackupMsSqlPlan -n "plan_name" -a "account" The following example illustrates how to use these parameters. Specifies the name or ID of a storage account to where to upload your backups. The following parameters are required to execute the addBackupMsSqlPlan command. This article describes how you can use MSP360 (CloudBerry) Backup CLI to create and customize Microsoft SQL Server backup and restore plans.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |