Les Mikesell wrote:
On Wed, 2005-12-21 at 12:30, Marty wrote:

That brings up another question for anyone here -- does cp -al work (within the filesystem) on the pool, or on the cpool, or is it also prohibitively time-consuming? If it works (and you don't run out of inodes) then it seems you could use it to take an snapshot for the above scripts to work from, to minimize backuppc server downtime.

You'd need -aH to do hardlinks,

Are you sure?  If that's true, then all my backup scripts are wrong!

From man cp (Debian):

       -H     follow command-line symbolic links

I've never used that option, but I've always assumed that it means replace symbolic links with the files they reference.

 but it doesn't really help you
to have copied the data under the pooled names anyway.  When
you rsync the pc directories it will copy all the data under
the new name since it has no way to connect that to the pooled
name without the time/memory-intensive step of including the
pool in the rsync run.

Sorry, I think I asked the wrong question. In the original question, substitute the pc directory for the pool/cpool directory. Then you have your snapshot, right? The pool file is handled by the script, but it's much fast the second time around.


There is a linux program called 'hardlink' that will do a
brute-force matchup of indentical files under the specified
directories  and convert to hardlinks.  I'm not sure how
fast it is but I'd expect it to be slower than something
that knows the backuppc name conventions.


I've used it. Same problem as the other methods. It took a day or so to replicate a small pool (about 40 GB).


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to