Azure Stack Hub Multi Stamp Management
Cloud Assert HomeDocs Home
2201.1
2201.1
  • Introduction
  • Release Notes
  • Key Concepts
    • ADMIN
      • Manage Stamps
      • Updates
      • Images and Marketplace
      • Usage and Billing
      • Capacity and Infrastructure Management
      • Alerts
      • Diagnostics
      • Tenant Services
      • Email Reports
      • Offline Marketplace Download
  • INSTALLATION
    • Prerequisites
      • PKI Certificate Requirements
      • AzureStack Certification Authority certificate
      • Create SQL Server VM and necessary databases in a tenant subscription
    • Deployment
      • Validating Prerequisites
      • Install VConnect RP
      • License Activation
        • Offline Activation
      • Update Billing Resource Provider Details
      • Remove VConnect RP
      • Version Update
    • Configuration
      • Configure SMTP Settings
      • Configure Automated Emails
      • Configure Remote Machine for PowerShell Access
      • Configure Offline Marketplace Download
      • Configure a new Azure Stack Hub Stamp
        • Configure an Azure AD Stamp
        • Configure an ADFS Stamp
        • Create Service Principal from Azure Portal
  • Others
    • Troubleshooting
      • Configure VConnect PowerShell Modules
      • Stamp Connectivity
      • Stamp Syncing
      • Enable MSM VConnect Scheduled Tasks
      • Add Billing API Port To VConnect RP Network Security Group
      • Add Transaction Log Shrink Job in SQL Server
      • Update Client Secret in AzureStack Hub Connection
Powered by GitBook
On this page

Was this helpful?

  1. Others
  2. Troubleshooting

Add Transaction Log Shrink Job in SQL Server

PowerShell command to create/update Shrink Log Job

PreviousAdd Billing API Port To VConnect RP Network Security GroupNextUpdate Client Secret in AzureStack Hub Connection

Last updated 1 year ago

Was this helpful?

The following step will help to add a job in SQL Server Agent to shrink the transaction log size in the Database of VConnect, Billing, Hybr and DACM.

  • Open a PowerShell window in the SQL Server machine in elevated mode.

  • Click for the steps to install / update the CloudAssert.Common PowerShell module.

  • Click for the steps to add a SQL Database Connection.

  • Execute the following command to add Transaction Log Shrink Job.

Add-SqlTransactionLogShrinkJob
Input
Description

SQL Connection Name

Name of the SQL database connection created earlier. Ex: vconnect-sql

Backup folder path

The path for saving the database backup and log backup. Ex: C:\\Backup

No.of days to purge old backup

The number of days to retain the backup

Hybr Database Name, VConnect Database Name, Billing Database Name, DACM Database Name

Enter 'Y' if it uses the mentioned DB name. Enter 'N' and specify if a different DB name is used.

here
here