Technology Software

How to Create Incremental & Differential Backups

    • 1). Launch your backup software. If you have software that automatically performs backups for you on a given schedule, you need only open its settings and select "incremental" or "differential." If you use OS X's "Time Machine" software, then your backups are automatically incremental.

    • 2). Program your own backup script. You can do this with any programming language, but it will likely be best done with a high level scripting language, such as Python or Perl. Using this method, it is best if you only back up your home folder.

    • 3). Create a master list of files. You can either program a script designed to be run only once to create this list for use by your regular backup script, or you can make your normal script capable of cataloging large numbers of files whenever it is run. Make the list include the file's name, the date when it was last backed up, its directory, and some means of tracking when the file has changed. MD5 sums are good for this purpose.

    • 4). Write a function that scans the files on your hard drive, and compares it to your master list. If it encounters a file that is not on the master list, include the functionality to add the file, and its information, to the master list. This way you won't have to manually edit your script every time you create a new file.

    • 5). Compare the scanned file to its data in the master list in your script. If the method you have used to identify change, I recommended MD5 sums (the data constituting your file is run through an encryption algorithm, producing a unique alpha-numeric string that changes if a byte of your file's data does), is different, then that will be the trigger to overwrite the file in your backup drive with the file currently on your hard drive. Have your script update the master list with the new information accordingly.

    • 6). Run your program for the first time to set up your incremental backup system. After this, use your system's scheduler to set the intervals at which your incremental backup script will run. If you want to use a differential system, then set up the scheduler to alternate between your script that automatically copies every file in the target folder, and your script that only copies files that have changed.

SHARE
RELATED POSTS on "Technology"
local area network (LAN)
local area network (LAN)
How to Make Watermarks
How to Make Watermarks
How to Convert RTF to Doc
How to Convert RTF to Doc
How to Insert a Check Box in Word 2007
How to Insert a Check Box in Word 2007
How to Digital Scrapbook With Adobe Photoshop
How to Digital Scrapbook With Adobe Photoshop
RiT PatchView: Designing Your Own Personal Network With Technicians' Assisting in the Performance
RiT PatchView: Designing Your Own Personal Network With Technicians' Assisting in the Performance
Best Things About Software Development Services In India
Best Things About Software Development Services In India
Diwali Festival New Year Offer For School Management System
Diwali Festival New Year Offer For School Management System
How to Edit Pictures to Make Teeth Whiter
How to Edit Pictures to Make Teeth Whiter
3 Quick Fix Solutions to Common DVD Driver Issues
3 Quick Fix Solutions to Common DVD Driver Issues
How to Make a Java Game With NetBeans
How to Make a Java Game With NetBeans
Convert Offline EDB to PST When Exchange Server Crashed
Convert Offline EDB to PST When Exchange Server Crashed
How to Compress BMP Files
How to Compress BMP Files
How to View Two PowerPoint 2007 Presentations in Sync
How to View Two PowerPoint 2007 Presentations in Sync
How to Convert AVI to MPEG2 in Linux
How to Convert AVI to MPEG2 in Linux
xinetd
xinetd
How to Design a Corporate Enterprise Email System
How to Design a Corporate Enterprise Email System
Solving Complex Data Migration Problems With ET Tools
Solving Complex Data Migration Problems With ET Tools
Web Development Being Powered by Ajax Programming!
Web Development Being Powered by Ajax Programming!
Biztalk Server Deployment A Challenging Task For Deploying Over A Remote Account
Biztalk Server Deployment A Challenging Task For Deploying Over A Remote Account
Great Plains Small Business Financials Upgrade Overview For Consultant
Great Plains Small Business Financials Upgrade Overview For Consultant
Choosing The Right Mobile Application Development Platforms: Tips And Guidelines
Choosing The Right Mobile Application Development Platforms: Tips And Guidelines
Taking A Closer Look At SugarSynch
Taking A Closer Look At SugarSynch
Online Scheduling Software- How Online Scheduling Software Can Revolutionize Your Business
Online Scheduling Software- How Online Scheduling Software Can Revolutionize Your Business

Leave Your Reply

*