Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
Backup Strategy with PowerShell and ntbackup
About once a year, I spend about a day going doing preventative maintenance on my development servers. Today is that day. I've had basic backups being done via a scheduled task an NTBACKUP, these seem to work, but luckily I've never needed them. What I didn't like was that although my SQL Server backups send me emails I look for each morning, my file backups didn't. I did a little research on some programs out there, anything that I would trust for this kind of stuff seemed rather expensive so I decided that I could take this opportunity to learn Windows PowerShell and create my own little backup strategy...disclaimer, although this process seems solid, in no-way-shape-or-form will Software Logistics be liable if you attempt to mimic this process and for some reason you may loose data. If you continue on reading, we'll just assume that you'll accept this disclaimer and won't try to take my house if something goes wrong!
Here's my setup...
$mailServer =
And now my backup is completed!
This was really my first in-depth powershell experience and it wasn't too painful, I'm sure there is plenty of room for optimization but hey it's Saturday and this seems to work!
-ec
Remember Me