BackupSQL
1.1
Performs Full and Log Backup of SQL Server instance databases with SMO in a zip file and sends an email with the result.
Deletes backups older than n days.
For detailed how to use, run: Get-Help BackupSQL.ps1 -Full
Requisites to run backup in a computer without SQL Server installed
1. Navigate to: https://www.microsoft.com/en-US/download/details.aspx?id=55992 and
Deletes backups older than n days.
For detailed how to use, run: Get-Help BackupSQL.ps1 -Full
Requisites to run backup in a computer without SQL Server installed
1. Navigate to: https://www.microsoft.com/en-US/download/details.aspx?id=55992 and
Performs Full and Log Backup of SQL Server instance databases with SMO in a zip file and sends an email with the result.
Deletes backups older than n days.
For detailed how to use, run: Get-Help BackupSQL.ps1 -Full
Requisites to run backup in a computer without SQL Server installed
1. Navigate to: https://www.microsoft.com/en-US/download/details.aspx?id=55992 and install SQLSysClrTypes.msi
2. Run from PowerShell
- Register-PackageSource -provider NuGet -name nugetRepository -location https://www.nuget.org/api/v2
- Install-Package Microsoft.SqlServer.SqlManagementObjects
3. Run from PowerShell: Install-Module -Name SqlServer
Show more
Deletes backups older than n days.
For detailed how to use, run: Get-Help BackupSQL.ps1 -Full
Requisites to run backup in a computer without SQL Server installed
1. Navigate to: https://www.microsoft.com/en-US/download/details.aspx?id=55992 and install SQLSysClrTypes.msi
2. Run from PowerShell
- Register-PackageSource -provider NuGet -name nugetRepository -location https://www.nuget.org/api/v2
- Install-Package Microsoft.SqlServer.SqlManagementObjects
3. Run from PowerShell: Install-Module -Name SqlServer
Installation Options
Owners
Copyright
2021 Juan Granados
Package Details
Author(s)
- Juan Granados
Tags
SQL Server WID Windows Internal Database backup mail email rotation network share
Functions
Dependencies
This script has no dependencies.
Release Notes
Fix switch parameters
FileList
- BackupSQL.nuspec
- BackupSQL.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.1 (current version) | 134 | 9/3/2021 |
1.0 | 25 | 9/2/2021 |