please ignore this entire post.  egregious user error was involved.

my apologies.

summary:  adding --hard-links to the commandline for a previously backed-up
system works fine -- files that used to be just files become hard-links,
as they should.

sorry for the noise.

(i still think "--hard-links" should be mentioned in the config file
comments somewhere, or perhaps should even become the default.)

paul


i wrote:
 > i wrote:
 >  > many thanks, craig.  somehow i overlooked this response until
 >  > today, and in my earlier testing, i hadn't added '--hard-links'. 
 >  > i hadn't yet had time to debug my lack hard links, so i'm glad i
 >  > found your reply.
 > 
 > hmmm.  it seems i may have created a problem for myself.
 > 
 > i've been doing backups with tar, for forever.
 > 
 > i have files in the pool that are marked as hardlink, and which
 > restore as such (using tar, at least -- haven't tried rsync, and
 > i'm not too concerned about that.)
 > 
 > a few days ago i tried switching that host to use rsync, but i
 > neglected to add the "--hard-links" argument.  i did a single
 > full backup.  the same files in the pool (which were hard-links in
 > tar backups) were now just regular unlinked files.
 > 
 > today, having found craig's message, i added "--hard-links" to
 > RsyncArgs, and did another full, thinking it would fix it.  but
 > the same files are still just files, and not hard-links.  
 > the full backup command was:
 >   Running: /usr/bin/ssh -x -l root stump /usr/bin/rsync --server --sender 
 > --numeric-ids --perms --owner --group -D --one-file-system --hard-links 
 > --links 
 > --times --block-size=2048 --recursive --ignore-times . /
 > 
 > another test, using a different, newly converted (i.e. from tar
 > to rsync) host, tells me that a fresh full backup using the
 > correct --hard-lins argument works fine, and hard-links are preserved
 > correctly.
 > 
 > so -- is there anything i can do to "fix" a host where there are
 > files in the wrong "link" state, presumably as a result of
 > running an rsync backup without '--hard-links'?
 > 
 > paul
 > =---------------------
 >  paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 37.4 degrees)

=---------------------
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 44.6 degrees)

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to