add --copy-devices option to rsync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsync (Fedora) |
Fix Released
|
Medium
|
|||
rsync (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: rsync
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
2)
$ apt-cache policy rsync
rsync:
Installed: 3.0.7-2ubuntu1
Candidate: 3.0.7-2ubuntu1
Version table:
*** 3.0.7-2ubuntu1 0
500 http://
100 /var/lib/
3) What you expected to happen
I want to be able to copy whole device content as part of backing up kvm virtual machines, this can be enabled by adding patches/
4)
$ rsync --copy-devices
rsync: --copy-devices: unknown option
Apparently some one using fedora had the same idea; https:/
Changed in rsync (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in rsync (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Description of problem: copy-devices. diff
Can you please add this patch:
patches/
as a part of binary rpm? This patch is already in src.rpm (in patches tar).
This patch allows rsyncing device content, instead of default device special device.
I need this option in my project, which backup systems over network and can rsync device content with only minimal changes.
This change can significatly increase speed of my script, which currently need to copy everything (dd) over network.
Version-Release number of selected component (if applicable): 0.5-1.fc10. i386
rsync-3.
How reproducible:
always
Steps to Reproduce:
1. rsync --copy-devices
Actual results:
rsync: --copy-devices: unknown option
rsync error: syntax or usage error (code 1) at main.c(1423) [client=3.0.5]
:-)
Expected results:
Working device rsync copy.
Additional info:
Please, if possible, do this change for F9 and F10 too, not only for rawhide.
To apply this patch, it's enough to add this line after your patches: copy-devices. diff
patch -p1 -i patches/