[Bug 8456] improve --link-dest bahaviour

2013-12-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #8 from Toralf Förster toralf.foers...@gmx.de 2013-12-27 13:06:00 
UTC ---
well - so seems to be solved ? :-)

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2013-12-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #7 from Wayne Davison way...@samba.org 2013-12-25 23:25:53 UTC ---
The latest rsync will now look into link-dest dirs even for files that exist in
the destination directory hierarchy.  It still requires all preserved
attributes to match for the link to occur, though (e.g. if preserving --times,
the mtime must match).  What it doesn't yet support is an option to tell rsync
to not modify attributes on any hard-linked file in the dest hierarchy (they
still get their attrs tweaked in-place).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: [Bug 8456] improve --link-dest bahaviour

2011-09-18 Thread Henri Shustak

 In general - --link-dest works as expected *only*, if the destination 
 directory
 is empty.

Going along with this idea of ensuring the destination directory is empty. 
LBackup is a rsync  backup wrapper system which may be of assistance in this 
regard.


---
This email is protected by LBackup
http://www.lbackup.org


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: [Bug 8456] improve --link-dest bahaviour

2011-09-18 Thread Henri Shustak

 I'd like to use rsync as an efficient (== do not store the same file twice at
 the backup media) backup solution. The backup should be made into N remote
 directories (rotating each day) _without_ the need to delete the remote
 directory before.

This is essentially, what LBackup is doing. However, keep in mind that if the 
transfer is interrupted. The incomplete backup will be deleted and then it will 
be restarted only using the latest successful backup (with regards link-dest). 
LBackup will always backup to a clean (empty) backup destination directory 
called Section.inprogress.

The LBackup project is open source. As such, you are free to have a look at the 
code to get an idea of what it is doing or even fork the project (github - 
makes this easy) for your specific requirements.

Also, keep in mind that if a file is not hard linked to save space and it has 
been updated then it will end up taking up additional space on the destination 
backup system. 

I have not experimented with de-duplicating file systems. However, if you want 
to save on space then this may be an avenue to investigate as well with regards 
backups, regardless of wheather you use LBackup, a different wrapper, rsync 
directly or some other system.

I hope this helps. 


---
This email is protected by LBackup
http://www.lbackup.org

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: [Bug 8456] improve --link-dest bahaviour

2011-09-18 Thread Wayne Davison
On Wed, Sep 14, 2011 at 9:48 AM, samba-b...@samba.org wrote:

 I'd like to use rsync as an efficient (== do not store the same file twice
 at
 the backup media) backup solution.


Check out PCBackup -- it can use rsync (either via ssh or a daemon) and
stores files without duplicates.

There's also a diff in the patches called link-by-hash that will hard link
files together that have the same hash because it maintains a directory of
hash-named files.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

Toralf Förster toralf.foers...@gmx.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from Toralf Förster toralf.foers...@gmx.de 2011-09-14 13:16:18 
UTC ---


*** This bug has been marked as a duplicate of bug 8450 ***

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

Toralf Förster toralf.foers...@gmx.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #2 from Toralf Förster toralf.foers...@gmx.de 2011-09-14 13:17:43 
UTC ---
*** Bug 8450 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #3 from Kevin Korb rs...@sanitarium.net 2011-09-14 15:44:28 UTC 
---
The simple fact is that two links to the same inode are not 2 different files
but the same file.  Their attributes by definition are the same.  They cannot
have different time stamps.

If you tell rsync to synchronize time stamps then it will update the time stamp
in the target.  It cannot do that and maintain the time stamp in the link-dest
(which is read only as far as rsync is concerned) at the same time.  This is
simply impossible.

Note that if you do not synchronize timestamps the result would be pretty much
the same as --ignore-times which would probably be a bigger problem for you.

The only thing rsync could possibly do would be to add an option to allow for
minor changes to affect the files within the link-dest (and probably other
previously used link-dests).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #4 from Toralf Förster toralf.foers...@gmx.de 2011-09-14 16:24:35 
UTC ---
No, the problem is a complete different IMHO:
If the touch command is skipped, then rsync does hard-link the file instead
to copy it over !

In general - --link-dest works as expected *only*, if the destination directory
is empty.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #5 from Kevin Korb rs...@sanitarium.net 2011-09-14 16:28:05 UTC 
---
Oops, I read what I thought you were saying instead of what you were.  That
behavior is documented in the man page:

This option works best when copying into an empty destination hierarchy, as
rsync treats existing files  as  definitive
(so  it never looks in the link-dest dirs when a destination file already
exists), and as malleable (so it might change
the attributes of a destination file, which affects all the hard-linked
versions).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8456] improve --link-dest bahaviour

2011-09-14 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #6 from Toralf Förster toralf.foers...@gmx.de 2011-09-14 16:48:16 
UTC ---
well - now the Oops is on my side ;-) - really overlooked that part of the man
page.

Is there any chance to convince rsync to always look into --link-dest ?

background :

I'd like to use rsync as an efficient (== do not store the same file twice at
the backup media) backup solution. The backup should be made into N remote
directories (rotating each day) _without_ the need to delete the remote
directory before.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html