Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I got a Linux Ubuntu Server, where system has its own 5 gig partition. Ive recently made a backup of this system partition into an .img file using dd. Since it is a system partition I needed to boot using live CD, mount the drive and then call dd from the terminal.

Is there any solution how the system could possibly make a differential backup of itself at every startup? (against this .img file I have previously created)

Thanks!

share|improve this question
    
It is not completely clear what are you trying to do - what would be the result of this differential backup? A binary patch file for old .img file? Or differential backup of the files from the filesystem in .img file. If later, in what format and where should those be written? Also, making a system backup process that can only run at startup does not sound as particularly good plan. –  Unreason Sep 24 '10 at 13:11
    
Well the process should find the differences between actual system partition and its image in the .img file and update the .img file, so its always the actual image of the system. Actually the reason why to run this while booting up is that you cant get exclusive access to the partition while the system already booted up (otherwise I would probably use CRON task) –  NumberFour Sep 24 '10 at 15:04
add comment

1 Answer

up vote 1 down vote accepted

You might checkout using rsync for local backup

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.