You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/manage/azure-automation-automated-export/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,22 +33,22 @@ Provides the scripts and lists the steps to set up automatically exporting your
33
33
Save the AutoExport.ps1 and AutoExportBlobRetention.ps1 files locally to make these edits
34
34
35
35
1. In the AutoExport.ps1 script, here are the values that need to be modified:
36
-
- $databaseServerPairs: This is where you put in the names of the databases you want to export along with the name of the server they are on.
36
+
- **$databaseServerPairs:** This is where you put in the names of the databases you want to export along with the name of the server they are on.
37
37
Add them in the format: `[pscustomobject]@{serverName="SAMPLESERVER1";databaseName="SAMPLEDATABASE1"}` make sure to comma separate the items
38
-
- $serverCredentialsDictionary: If you are backing up from multiple servers, you can setup all of the credentials here and look them up by the server’s name later.
38
+
- **$serverCredentialsDictionary:** If you are backing up from multiple servers, you can setup all of the credentials here and look them up by the server’s name later.
39
39
Add a $serverCred variable in the format `$serverCred1 = Get-AutomationPSCredential -Name 'NAMEOFSERVERCREDENTIAL1';` for each Azure Automation Credential you created. Increment the variable name (eg. $serverCred2 $serverCred3) for each one.
40
40
Add the $serverCreds to the dictionary in the format `'SAMPLESERVERNAME1'=$serverCred1;`
41
-
- $batchingLimit: This tells the script how many databases can be worked on at the same time (basically, the maximum number of database copies that there will be at once).
42
-
- $retryLimit: This tells the script how many times it can retry an operation.
43
-
- $waitTimeInMinutes: This tells the script how long it can wait for an operation to complete before it fails.
44
-
- $storageKeyVariableName: This is the Azure Automation string Variable name you created to store your Storage Key.
45
-
- $storageAccountName: This is the name of the storage account you are exporting to.
46
-
- $connectionAssetName: Connection Asset Name for Authenticating (Keep as AzureClassicRunAsConnection if you created the default RunAs accounts)
41
+
- **$batchingLimit:** This tells the script how many databases can be worked on at the same time (basically, the maximum number of database copies that there will be at once).
42
+
- **$retryLimit:** This tells the script how many times it can retry an operation.
43
+
- **$waitTimeInMinutes:** This tells the script how long it can wait for an operation to complete before it fails.
44
+
- **$storageKeyVariableName:** This is the Azure Automation string Variable name you created to store your Storage Key.
45
+
- **$storageAccountName:** This is the name of the storage account you are exporting to.
46
+
- **$connectionAssetName:** Connection Asset Name for Authenticating (Keep as AzureClassicRunAsConnection if you created the default RunAs accounts)
47
47
2. In AutoExportBlobRetention, here are the values that need to be modified:
48
-
- $storageKeyVariableName: This is the Azure Automation string Variable name you created to store your Storage Key.
49
-
- $storageAccountName: This is the name of your Storage Account you exported your bacpacs to.
50
-
- $storageContainerName: This is the name of the storage container where you will be monitoring the exported blobs.
51
-
- $retentionInDays: This is how many days you want to keep the exported blobs stored for before deleting.
48
+
- **$storageKeyVariableName:** This is the Azure Automation string Variable name you created to store your Storage Key.
49
+
- **$storageAccountName:** This is the name of your Storage Account you exported your bacpacs to.
50
+
- **$storageContainerName:** This is the name of the storage container where you will be monitoring the exported blobs.
51
+
- **retentionInDays:** This is how many days you want to keep the exported blobs stored for before deleting.
0 commit comments