Re: Daily sync of hard disk without additional hard disk ?
Brought to you by:
thesun
From: Shachar S. <sh...@sh...> - 2007-06-11 20:16:39
|
renaud wrote: > The simple idea would be : > 1. compare the list of files on the source and on the destination based > on name and time stamp of files, and generate a list of deleted and > changed files on source > 2. encrypt the changed files on source in a separate directory on the > data hard disk (250 MB each day) > 3. delete on destination the files who need to > You mean files that were deleted on the source, right? > 4. sync the encrypted changed files to the destination with rsync > 5. delete encrypted files on source keeping keyfiles files in keydir > > In this scheme we avoid the use of an additional hard disk in exchange > of re-encrypting 250 MB of data every day. > I don't see how you re-encrypt beyond what rsyncrypto would do anyways. All that is different with this scheme is that you save on disk space, in return for manual decision on what has changed. > I guess that everybody who plan to backup an entire hard disk with > rsyncrypto is facing this problem but I have not been able to find any > resource on this subject. > Hey, I'm still in the "wow, people are using it" stage. Don't push me into "everybody use it a certain way" avenue just yet :-) > Mi question is : is there any tested and stable tool or script who > already do this kind of things ? > Not to my knowledge. > Drsync seems of no help for this. > (goes to check what drsync is) Seems like a tool that is a wrapper around rsync, but does things that rsync can do on its own. Strange. Either way, no, it does not seem like it's doing what you want, but it does seem like it's something that can be, relatively easily, adapted to do what you want. Out of curiosity, though, how are you going to manage the initial transfer? In chunks? > I'm using debian etch and rsyncrypto 0.12-1 (sorry, this is an old > version, but i need debian stable) > Last time I checked, Debian Etch had rsyncrypto 0.19 (http://packages.qa.debian.org/r/rsyncrypto.html). I really really really recommend you use 0.19, as one of the major changes was speed improvements, and you sound like you intend to back up really lots of stuff. Thanks, Shachar |