BackupPC-users

Re: [BackupPC-users] is it possible to shortcut the 1st backup?

2012-11-25 18:14:54
Subject: Re: [BackupPC-users] is it possible to shortcut the 1st backup?
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 26 Nov 2012 10:12:49 +1100
On 26/11/12 05:06, Matthew Grob wrote:
> Ok folks I've got everything up and running just fine now and am ready to 
> transition from my old manual rsync scripts to backupPC.   But for the 1st 
> backup I'm wondering if there is a way to shortcut the process.
>
> Reason:  I have about 600G to backup, and the machine running backupPC is (at 
> my mom's house) far away.  It will take several weeks to push a new full 
> backup over the internet connections - but a full copy of the directories to 
> be saved is already there on that machine.
>
> Is there any way to manually fill the pool the first time (or similar method) 
> to save having to move all the files across the link distance link on the 
> first backup?
>
>
> I tried to answer my own question by inspecting the files in under the 
> hostname directory in /var/lib/backuppc/pc   but it seems the files have 
> characters appended to their names and so forth so wasn't immediately obvious 
> how to manually work on that.
>
> thanks
> matt
Use the $Conf{ClientNameAlias} = '127.0.0.1'; value to point to the
local machine, and ensure that the paths to the data on the local
machine match the path to the data on the remote machine.

You can use bind mounts (mount -o bind, see the man page for mount) to
make existing path appear somewhere else, etc...

OR, if you really must use a different path for the first backup, after
the backup completes, go into /var/lib/backuppc/pc/<hostname>/0/ and
rename the first directory.
eg, moving from /var/backup/remote to / can be done like this:
mv f%2fvar%2fbackup%2fremote f%2f

Note, every file is prepended with the letter f, and a / is translated
to %2f

Then do another backup and make sure everything is going to the right place.

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>