Dear Ubuntu SRU team,
Would you please be so kind as to look into this bug and its proposed 
resolution?
I have updated the bug description to match the SRU procedure to the best of my 
abilities.
Thanks in advance,
Lionel Sausin.

** Description changed:

  Binary package hint: rsnapshot
  
- rsnapshot 1.3.0 (the version in lucid) has a known bug that prevents the
- use of the link_dest and sync_first options simultaneously.  The bug in
- question is mentioned in the rsnapshot FAQ as the third question:
- http://rsnapshot.org/faq.html
+ DESCRIPTION
+ rsnapshot 1.3.0 (the version in lucid) has a known bug that makes rsnapshot 
create a plain copy of the files instead of create hard links for all but the 
first backup point when using both the options link_dest (use rsnapshot's 
link-dest feature) and sync_first (seperate the rsync phase from the directory 
rotation logic).
+ This renders rsnapshot mostly useless in this configuration, since it will 
then consume huge portions of disk space instead of beeing rather frugal.
+ This bug is mentioned in the rsnapshot FAQ as the third question: 
http://rsnapshot.org/faq.html and was fixed in v1.3.1 (released with Maverick).
  
- Upgrading rsnapshot to 1.3.2 or 1.3.2 will fix this bug. Can this happen
- before lucid's release?
+ STEPS TO REPRODUCE
+ - Change the default config: link_dest[TAB]1 and sync_first[TAB]1, 
snapshot_root[TAB]/tmp/
+ - run "sudo rsnapshot sync && sudo rsnapshot hourly ; sudo rsnapshot sync && 
sudo rsnapshot hourly"
+ - observe that the files in hourly.0 and hourly.1 are not hardlinks: the link 
count for is always 1 for /tmp/hourly.*/localhost/etc/hosts and the inode 
number is not the same:
+ 
+ FIX
+ A minimal patch is provided as a bazaar branch.
+ 
+ REGRESSION POTENTIAL
+ The fix short-circuits a failed attempt at smartly deciding whether 
--link-dest is usefull or not. The fix always call rsync with --link-dest.
+ This is not an issue for rsnapshot because --link-dest can only help rsync 
create more hard links - unless there is a bug in rsync itself.
+ So the risk is rather low.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/519031

Title:
  rsnapshot in Lucid does not support using link_dest and sync_first
  simultaneously

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to