BackupPC-users

Re: [BackupPC-users] Don't use rsync -H!! (was Re: copying the pool to a new filesystem?!)

2010-12-07 14:36:49
Subject: Re: [BackupPC-users] Don't use rsync -H!! (was Re: copying the pool to a new filesystem?!)
From: Dan Pritts <danno AT internet2 DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 7 Dec 2010 14:18:51 -0500
On Dec 7, 2010, at 2:58 AM, Tyler J. Wagner wrote:
> So, if you wanted to copy the entire /var/lib/backuppc directory to
> another filesystem, what commands would you use, for example?

Not exactly an answer to your question, but i would do this:

umount /var/lib/backuppc
dd if=/dev/onedisk of=/dev/someotherdisk bs=1M

this will overwrite /dev/someotherdisk with a complete copy of the 
/var/lib/backuppc filesystem. 

If it's not its own filesystem, well, you need to do the rest of the filesystem.

In practice, rsync -H is the reasonable way to do what you're after, EXCEPT 
that there are just too many hard links on a backuppc data store for this to 
work. 

danno
--
Dan Pritts, Sr. Systems Engineer
Internet2
office: +1-734-352-4953 | mobile: +1-734-834-7224


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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>