https://github.com/aniketfuryrocks/mssql-s3-backup
MsSQL backup and restore utility with s3
https://github.com/aniketfuryrocks/mssql-s3-backup
msssql s3
Last synced: 6 months ago
JSON representation
MsSQL backup and restore utility with s3
- Host: GitHub
- URL: https://github.com/aniketfuryrocks/mssql-s3-backup
- Owner: aniketfuryrocks
- License: mit
- Created: 2020-12-15T15:48:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-15T16:51:29.000Z (almost 5 years ago)
- Last Synced: 2025-04-01T14:17:48.861Z (6 months ago)
- Topics: msssql, s3
- Language: PowerShell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MSSQL-S3-BACKUP
MsSQL backup and restore utility with s3 for windows## Requirements :
+ Correctly Configured Aws Cli
+ 7zip## Backup
> Backup.ps1 *backup-dir* *bucket-name*
The Backup script backs up all databases to the specified directory,
compressed it to `.7z` using `7zip`, pushes the .7z file to s3 bucket and then deletes the directory. Leaving behind the compressed .7z file.
## Restore> Restore.ps1 *object-name* *bucket-name*
The restore script downloads the specified `.7z` file from s3, decompresses it to the base name of the file, deletes the file and then for every backup in the directory, it restores it to the basename of `.BKP` files.