Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Maintaining backup integrity

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2007, 05:38 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Maintaining backup integrity

I hope no-one takes this amiss as these attachments are not written in B4PPC. However while organising my backups just now it occurred to me that these utilities that I wrote to help me might deserve a wider audience as I find them invaluable.

I keep my backups on two additional separate disks as mirror images of the folders and sub-folders that I want to backup from my main disk. One of the disks is my D: and the other is a USB drive that can unplugged and stored separately. I do this as even DVDs are too small and fiddly to back up to and storage is so cheap nowadays. I want to make backing up so easy that it is routine. Over time differences creep in between the backup copies and the originals due to deletions and reorganisation. I wrote these utilities to manage my backups and give me assurance that all is well.

I first use a batch file, example enclosed in the zip, to copy over changed files to my D: drive. I do the same thing for my partner's PC over the network. I then in turn use a similar batch file to copy the D:backups to the external drive. I then occasionally check the integrity of the backup copies using the TreeDifference utility enclosed. Any differences found may be corrected using the DirectoryDifference utility enclosed which is linked to TreeDifference using .NET Remoting. A help file explains. It really beats trying to find differences with two instances of Windows Eplorer!

Put the two exes and the dll in the same directory and play! Unfortunately they are compiled for and so require .NET 2.0 on your desktop. If anyone wants the sources however they are welcome to them.
Attached Files
File Type: zip TreeDifference.zip (75.5 KB, 42 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop-only backup utility robmh Share Your Creations 1 11-03-2007 03:16 PM
B4PPC Backup utility v1 Cableguy Share Your Creations 5 07-09-2007 08:29 AM


All times are GMT. The time now is 12:54 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0