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
<p>Performs a full backup of all databases on the sql2016 instance to their own containers under the <ahref="https://dbatoolsaz.blob.core.windows.net/azbackups/">https://dbatoolsaz.blob.core.windows.net/azbackups/</a> container on Azure blob storage using the sql <br>
620
623
credential "dbatoolscred" registered on the sql2016 instance.<br></p>
<p>Performs a full compressed backup of the AdventureWorks database to an S3-compatible storage bucket. Requires SQL Server 2022 or later and a credential matching the S3 URL created with <br>
654
+
New-DbaCredential using Identity 'S3 Access Key'.<br></p>
<p>Performs a full backup to a MinIO S3-compatible storage server using the S3BaseUrl alias. The credential must be created to match the S3 URL path.<br></p>
<p>Performs a full backup to S3 with explicit region specification and a 10MB transfer size. The StorageRegion parameter adds BACKUP_OPTIONS to the backup command for cross-region scenarios.<br></p>
<p>Specifies Azure blob storage container URLs for cloud backup destinations.<br/>
1254
-
Single URL required for page blobs (with AzureCredential), multiple URLs supported for block blobs with SAS.<br/>
1255
-
Requires corresponding SQL Server credentials for authentication. Limits other parameter usage to core backup options.<br/>
1256
-
Essential for backing up to Azure storage for cloud-native or hybrid SQL Server deployments.<br></p>
1270
+
<h5id="storagebaseurl">-StorageBaseUrl</h5>
1271
+
<p>Specifies cloud storage URLs for backup destinations, supporting Azure Blob Storage and S3-compatible object storage.<br/>
1272
+
For Azure: Use https:// URLs like 'https://account.blob.core.windows.net/container'. Single URL required for page blobs (with StorageCredential), multiple URLs supported for block blobs with SAS.<br/>
1273
+
For S3: Use s3:// URLs like 's3://bucket.s3.region.amazonaws.com/folder'. Requires SQL Server 2022 or later. Supports AWS S3, MinIO, and other S3-compatible providers.<br/>
1274
+
Requires corresponding SQL Server credentials for authentication. Essential for backing up to cloud storage for cloud-native or hybrid SQL Server deployments.<br></p>
<p>Specifies the SQL Server credential name for Azure storage access key authentication.<br/>
1285
-
Creates page blob backups with automatic single-file restriction and ignores BlockSize/MaxTransferSize.<br/>
1286
-
For SAS authentication, use credentials named to match the AzureBaseUrl. Required for Azure storage access key scenarios.<br></p>
1301
+
<h5id="storagecredential">-StorageCredential</h5>
1302
+
<p>Specifies the SQL Server credential name for cloud storage authentication.<br/>
1303
+
For Azure: The credential for storage access key authentication. Creates page blob backups with automatic single-file restriction and ignores BlockSize/MaxTransferSize.<br/>
1304
+
For S3: The credential containing the S3 Access Key ID and Secret Key ID. The credential name should match the S3 URL path.<br/>
1305
+
For SAS authentication, use credentials named to match the StorageBaseUrl.<br></p>
<p>Copies credential definitions without the actual password values.<br/>
792
+
Use this in security-conscious environments where password decryption is restricted or when passwords should be manually reset after migration.<br></p>
793
+
<table>
794
+
<thead>
795
+
<tr>
796
+
<th></th>
797
+
<th></th>
798
+
</tr>
799
+
</thead>
800
+
<tbody>
801
+
<tr>
802
+
<td>Alias</td>
803
+
<td></td>
804
+
</tr>
805
+
<tr>
806
+
<td>Required</td>
807
+
<td>False</td>
808
+
</tr>
809
+
<tr>
810
+
<td>Pipeline</td>
811
+
<td>false</td>
812
+
</tr>
813
+
<tr>
814
+
<td>Default Value</td>
815
+
<td>False</td>
816
+
</tr>
817
+
</tbody>
818
+
</table>
789
819
<h5id="force">-Force</h5>
790
820
<p>Overwrites existing credentials on the destination server by dropping and recreating them with the source values.<br/>
791
821
Use this when you need to update credential passwords or identities that have changed on the source server since the last migration.<br></p>
<p>Copies credential definitions without the actual password values.<br/>
691
+
Use this in security-conscious environments where password decryption is restricted or when passwords should be manually reset after migration.<br></p>
692
+
<table>
693
+
<thead>
694
+
<tr>
695
+
<th></th>
696
+
<th></th>
697
+
</tr>
698
+
</thead>
699
+
<tbody>
700
+
<tr>
701
+
<td>Alias</td>
702
+
<td></td>
703
+
</tr>
704
+
<tr>
705
+
<td>Required</td>
706
+
<td>False</td>
707
+
</tr>
708
+
<tr>
709
+
<td>Pipeline</td>
710
+
<td>false</td>
711
+
</tr>
712
+
<tr>
713
+
<td>Default Value</td>
714
+
<td>False</td>
715
+
</tr>
716
+
</tbody>
717
+
</table>
687
718
<h5id="force">-Force</h5>
688
719
<p>Overwrites existing Database Mail objects on the destination that have matching names from the source. Without this switch, existing profiles, accounts, or mail servers are skipped to prevent<br/>
0 commit comments