samba-bugs at samba.org
2014-Jan-29 21:50 UTC
[Bug 10405] New: Feature request: Add support for pre/post cmds for the rsync client
https://bugzilla.samba.org/show_bug.cgi?id=10405 Summary: Feature request: Add support for pre/post cmds for the rsync client Product: rsync Version: 3.1.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: idl0r at qasl.de QAContact: rsync-qa at samba.org Hi, it would be really useful to have some kind of --pre-cmd/--post-cmd and esp. more advanced like --post-cmd-fail, --post-cmd-success. rsync should then execute the passed scripts and (add a command for it as well?) it should also pass the list of transfered (all), failed or successfully transfered files/dirs. A control option for it could e.g. look like --cmd-pass=[0|1|2|3] where: 0 = disabled, nothing passed at all 1 = only successfully transfered objects 2 = only failed 3 = any That would make rsync almost perfect and one could easily take care of different situations without having to parse the complete output of rsync. It shouldn't be that difficult actually, esp. basic pre/post cmds. I'd perhaps even try to write a patch that adds the mentioned features (in case I get to it). -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-Jan-29 21:57 UTC
[Bug 10405] Feature request: Add support for pre/post cmds for the rsync client
https://bugzilla.samba.org/show_bug.cgi?id=10405 --- Comment #1 from Kevin Korb <rsync at sanitarium.net> 2014-01-29 21:57:03 UTC --- Personally, I wouldn't have any use for the processing of the output part but a pre and post command to create and destroy lvm2 snapshots would be useful. Especially in keeping rsync from attempting to backup an empty mountpoint if the snapshot fails. Yes, this can be handled in a script but it would be easier if rsync handled it internally especially if using a restricted ssh key for access to the system being backed up. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-Aug-06 21:45 UTC
[Bug 10405] Feature request: Add support for pre/post cmds for the rsync client
https://bugzilla.samba.org/show_bug.cgi?id=10405 --- Comment #2 from roland <devzero at web.de> 2014-08-06 21:45:38 UTC --- regarding restricted ssh - wouldn`t that be a security nightmare if rsync could exec any additional command ? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-Aug-07 19:17 UTC
[Bug 10405] Feature request: Add support for pre/post cmds for the rsync client
https://bugzilla.samba.org/show_bug.cgi?id=10405 --- Comment #3 from Christian Ruppert <idl0r at qasl.de> 2014-08-07 19:17:22 UTC --- (In reply to comment #2)> regarding restricted ssh - wouldn`t that be a security nightmare if rsync could > exec any additional command ?At least my idea is meant to be client side only. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Apparently Analagous Threads
- [Mesa-stable] [PATCH 2/2] nv50: zero out unbound samplers
- [PATCH 1/2] nvc0/ir: avoid infinite recursion when finding first uses of tex
- [PATCH 2/2] nv50: zero out unbound samplers
- [Mesa-stable] [PATCH 2/2] nv50: zero out unbound samplers
- [Mesa-stable] [PATCH 2/2] nv50: zero out unbound samplers