Robin Lee Powell wrote:

> I've been using my own scripts
> http://digitalkingdom.org/~rlpowell/hobbies/backups.html to remotely
> mirror backuppc's date in an encrypted fashion.
>
> The problem is, the time rsync takes seems to keep growing.  I
> expect this to continue more-or-less without bound, and it's already
> pretty onerous.
>
> So, I need to find a way to rsync on a per-file basis, but still be
> encrypted.  Hence, questions:
>
>
> 1.  Does anyone know a way to mount a filesystem so that only one
> process can see it?  If I could do that, I could have an encrypted
> loop filesystem mounted remotely for rsync's sole use, and just
> rsync into that.  I'm not willing to have the encripted filesystem
> mounted globally on the remote machine, as I am not the sole user,
> nor do I own it.
>
> 2.  Does backuppc ever change pool files (rather than simply replace
> them)?  If the answer is no, I don't need to worry about the
> rsync-friendliness of any per-file encryption method I might use.
>
> 3.  Ignoring logs and such, is anything outside of the pool or cpool
> dir ever *not* a hard link into the pool/cpool dir?  If the answer
> is no, then per-file encryption is relatively easy.  One way is to
> rsync -H a copy of all backuppc data and encrypt each pool file (in
> a way that doesn't break hard links) and then rsync that encrypted
> copy out remotely.  Another way is to roll encryption in to the
> backuppc compression program.
>
> Can anyone think of other ways to solve this problem?

It is generally believed on this list (I believe) that it's not  
feasible to use something as 'high-level' as rsync to replicate  
BackupPC's pool. The amount of memory needed by rsync will just  
explode because of all the hardlinks. Usually people have been using  
low-level tools like dd or dump to copy a complete pool filesystem to  
another one.

Nils Breunese.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to