DO NOT REPLY [Bug 4793] link-dest hardlink does not always work well with -o -g -p

samba-bugs at samba.org samba-bugs at samba.org
Fri Jul 20 05:25:04 GMT 2007


https://bugzilla.samba.org/show_bug.cgi?id=4793





------- Comment #3 from getarealname at excite.com  2007-07-20 00:25 CST -------
> You can accomplish this yourself by filling the destination with hard-links
> from the previous backup in advance using "cp -al".  

I'll give this a shot.

> You might also consider representing the source attributes in a separate file
> in the backup so that there is no need to use -ogp.

Is there a tool to save permissions and then reapply them? 
This would work for me.

> I think it's odd to want to preserve attributes in the current backup but
> not care about attributes in previous backups being overwritten.

I honestly didn't think it that odd. To explain: When we need to restore an
entire file system due to hardware error, it will without exception be from the
last available backup. In this case it is desirable to restore all permissions. 

The main/only reason to go to older snapshots is if a user needs an older copy
of the data within one of his files where the latest backup is insufficient. In
this case we could restore the backup file over top of his current file if it
exists while keeping the current permissions (this might be preferred even if
backup permissions were available).

> I don't see a strong argument for building support for this into rsync.

Fair enough.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list