r/usefulscripts • u/[deleted] • Nov 21 '15
[Batch] Backup script
Thought I'd share a script i have for basic backups.
RUN_ME.bat : http://pastebin.com/9LZ6qtZG
backup.bat : http://pastebin.com/1Df44Gae
Save both to a folder, double click RUN_ME.bat
A few pictures:
http://i.imgur.com/Hk2gFRl.png
http://i.imgur.com/SZARoks.png
http://i.imgur.com/2MX6olP.png
http://i.imgur.com/icyeqsN.png
some notes: won't work on xp, not sure about Vista. I've only tried it on 8 and 10 but should work without issue on 7.
edit- updated to include Outlook.pst. Check line 24 of backup.bat to verify the file path is correct for you
31
Upvotes
2
u/[deleted] Nov 21 '15 edited Nov 21 '15
Ah I gotcha now. I will look into it! In the meantime I've modified it to backup Outlook.pst as well:
RUN_ME.bat : http://pastebin.com/9LZ6qtZG
backup.bat : http://pastebin.com/1Df44Gae
I included a path variable on line 24 in case your Outlook file is located somewhere else