Help with script - Ziping and moving SQL backups

Hello all,

I am having issues getting a script of mine to work and need some asstiance.

The goal of the script is to take SQL backups, ZIP them using 7zip, them move them to a NAS. After the move, the original backup is deleted, but not before confirming the name and size.

You can find my script here.

If there's a better way to achieve what I'm trying to do or an already built script I could be pointed to, that would be great!

September 9th, 2015 2:01pm

Hi,

Thanks for the post, what error you got with your script? For the zip SQL backup files using 7zip, you can check the script below for some reference:

https://gallery.technet.microsoft.com/scriptcenter/PowerShell-and-7Zip-83020e74

Best Regards,

Elaine  

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 3:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics