I've finally got round to automating my data backup process. It's not been running for long so may get refined, but it's a lightweight solution using a batch file and the ROBOCOPY command with the /mir switch.
I simply list the source and destination folders and run it.
It seems to be very clever. The first time I run, it copies everything to the backup drive - including sub-folders. Subsequent times it only copies and overwrite files which have been modified. Any new files added are also picked up and copied and what's really nice is that any files deleted are also deleted from the backup. So it really does mirror.
As only new and modified files are copied across, subsequent runs are relatively quick.
I couldn't get the mirroring of deleted files to work with XCOPY. Also, it was just skipping a top level directory for some reason. I didn't solve this - I used ROBOCOPY instead.
I think ROBOCOPY is only available on Vista and above - so possibly not on XP. I'm using Windows 7.
I just need to think now of the best way and time of running the batch file...
Responsive and mobile websites
2013Searching sent emails in Outlook 2010
2012Changing PHP extensions from MySQL to MySQLi
Recent project - my own cash flow reporting
First tax return and my invoicing system
Google.co.uk home page now https
Content Management Systems CMS
Adding an eCommerce online shop to my own site.
2011Recent project - eCommerce website, online shop
Slow broadband in the evenings
Website updates - dynamic menu and executing PHP in a .html page
The transition from Microsoft Access to PHP/MySQL
Working with a range of coding languages
Software development environments - IDEs
Object orientated coding V's procedural
2010