Re: [BackupPC-users] Copying in a file instead of backing up?
2009-01-13 19:44:11
Christian Völker wrote at about 22:13:24 +0100 on Tuesday, January 13, 2009:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yohoo!
>
> I'm having an issue with my BackupPC.
>
> One of the machines to be backed up is a remote box. Unfortunately the
> BackupPC box only has very limited external download bandwith (384kb/s).
>
> Usually (and thanks to rsync!) this isn't an issue.
>
> But now there is a 4GB file on the remote box- and the broadband
> connection is dropped every 24h hours (f!ck Telekom), so any running
> backup process will fail.
>
> This means unless there is really no traffic on the connection a backup
> will never succeed- am I right? Looks like, because I'm watchingthis now
> for a couple of days.
>
> Whatever, because I have this file locally as well (same file, md5sum
> and times are the same!) can I "insert" tthis file somehow into my
> backupPC under /var/lib so it recognizes it as "already there"and does
> not try to backup all the time?
>
> Thanks for further ideas.
>
The following "kludge" should work.
1. Create a new temporary backuppc host that points to your local
machine. Set up the corresponding 'share' so it only backs up the
4GB file you have locally. This will give you a valid (c)pool
backup of that file.
2. Then run backuppc on your remote machine and it will create a
hard-link to the now already existing pool file.
3. Delete the temporary host config and the corresponding tree under
TopDir.
Alternatively, you could cobble together a routine for directly
injecting a file into the pool or cpool (by calculating the md5sum
name and compressing as appropriate). Be sure to either add an extra
temporary link to it or keep BackupPC_nightly from running until you
do a real backup of the remote machine or otherwise the pool entry
will be dropped.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|