HOME
Stephen Knight
04/27/2010
01:55 PM
Backup script with rotation of old backups and logs by email
Type:
Batch/Command file
Category:
Backup, Batch, Email
This scriot will clearly need customisation for your own uses but includes lots of examples of code. It as it stands backs up files from
e:\lotus\domino\data\*.*
to G:\backup\files\weekly, daily, monthly, or yearly directories and then keeps a specified number in each directory:
daily 25
weekly 1
monthly 12
yearly all
It keeps a log file for each day in g:\backup\log\og-ddmmyyyy.txt and sends those to a specified email address with details of succes or failure.
Code
Explanation
Examples
Attachments