Displaying 20 results from an estimated 30000 matches similar to: "pre/post-xfer: How to distinguish between up- and download?"
2008 Jun 20
1
pre/post-xfer exec not executed ?
Hi,
I've got an issue since about a week and I still can't solve it after a
thorough research.
I've setup a rsync server on my backup host, with shares using
post/pre-xfer exec options but the scripts seems not to even be called :
they should write a lockfile, and write in a logfile some information
about the transfer request / report.
I'm using rsync through stunnel and
2018 Jan 09
0
[Bug 13207] New: rsyncd doesn't send output of failed pre-xfer exec script to client
https://bugzilla.samba.org/show_bug.cgi?id=13207
Bug ID: 13207
Summary: rsyncd doesn't send output of failed pre-xfer exec
script to client
Product: rsync
Version: 3.1.1
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
2008 Nov 19
1
chdir / chroot after pre-xfer ?
Hello,
I am trying to configure rsyncd to mount destination encrypted FS
(using EncFS) before syncing.
In my rsyncd.conf :
[test]
path = /home/dest
<...>
pre-xfer exec = sleep 30 ; echo mypassword | encfs -S /home/
encrypteddir /home/dest ; sleep 30
(I have put "sleep 30" instructions just to make some tests)
/home/encrypteddir is correctly mounted by rsyncd to /home/dest
2006 Dec 21
1
DO NOT REPLY [Bug 4303] New: pre-xfer exec prevents output redirection of invoked commands
https://bugzilla.samba.org/show_bug.cgi?id=4303
Summary: pre-xfer exec prevents output redirection of invoked
commands
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
2007 Jan 02
3
DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
https://bugzilla.samba.org/show_bug.cgi?id=4320
Summary: Daemon should send stdout, stderr of {pre,post}-xfer
command to client
Product: rsync
Version: 3.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2010 Feb 18
0
how to determine transfer direction in pre/post-xfer scripts?
Hi all,
Is there any way to determine transfer direction (download/upload) in pre-xfer and post-xfer
rsync daemon scripts? I want to trigger notification event upon successful upload.
If not, consider this to be a feature request for additional environment variable.
2001 Jul 27
0
(fwd) Re: rsync and named-xfer
i'm posting this to the bind-users and rsync mailing lists in order to
get this archived for the next person who needs to do this :)
comments and suggestions are welcome, but please cc: to me because i'm
not subscribed to either list.
craig
----- Forwarded message from Craig Sanders <cas@taz.net.au> -----
Date: Fri, 27 Jul 2001 10:30:20 +1000
From: Craig Sanders
2006 May 15
2
DO NOT REPLY [Bug 3778] New: rsync triggers ( pre/post xter scripts )
https://bugzilla.samba.org/show_bug.cgi?id=3778
Summary: rsync triggers ( pre/post xter scripts )
Product: rsync
Version: 2.6.8
Platform: Sparc
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2010 May 14
0
Error when pre-xfer script is doing a rsync.
Hello,
I've written an howto about making creating a copy (or snapshot) on a
remote server
(running rsync daemon with backup share)
AND managing the overwritten and deleted items. See:
http://www.howtoforge.com/backing-up-with-rsync-and-managing-previous-versions-history
I've done this by running the rsync command in dry mode first. This
way a detailed report
is created (with the help
2011 Sep 09
1
rsync over ssh with post-zfer
Hi,
I have install rsync version 3.0.8 on my FreeBSD server.
I've set it up so that I have to connect via ssh with key based
authentication.
The following is my rsyncd.conf file in my home directory on the server.
[ben-desktop]
use chroot = no
path = /home/bs/backups/ben-desktop/current
numeric ids = true
log file = /home/bs/backups/ben-desktop/rsync.log
list = true
read only = false
write
2007 Feb 01
1
pre-xfer exec fails in FreeBSD
Hi
I want to use pre-xfer exec function in rsync for permition checking. In my Linux boxes, it successed. But today, I tried to put them in my FreeBSD box, it failed.
I've checked the log, but found the pre-xfer exec returns always be -1, which means waitpid failed to get the return status. After doing a little ugly patch for the wait_process function as follow, pre-xfer works again.
2019 Nov 08
1
Regarding an "earlier" variant of `pre-xfer exec` [feature request and proposed patch]
(I think the subject is quite descriptive; however for use-cases and
details see bellow after the mention of the old conversation and the
patch.)
Searching the mailing list about this topic yields an old conversation
about this from 2008:
* https://lists.samba.org/archive/rsync/2008-November/022148.html
* https://lists.samba.org/archive/rsync/2008-November/022150.html
I'll quote
2006 Sep 08
2
post-xfer exec -- more juice!
Hello,
I'm attempting to use the pre-xfer exec and post-xfer exec utilities to
replace a complicated script which tails the rsync log and does A Bunch
Of Stuff at the beginning and completion of rsync transfers.
(It will also allow us to throw away a nasty hack which forces rsync to
log the fact that is exiting - trying to provide a catch for /all/
possible exit conditions (ie, strings in the
2008 Nov 16
1
pre-exec fails in windows
Hi,
I want to disable windows suspend before starting backup by rsync.
My rsyncd.conf:
-----------------
max connections = 6
log file = /var/log/backup-service.log
read only = false
write only = false
transfer logging = no
list = false
max verbosity = 6
pre-xfer exec = powercfg /H off
[C]
path = /cygdrive/c/
[D]
path = /cygdrive/d/
-----------------
Unfortunately that didn't work.
2008 Dec 30
0
pre-exec works in XP but not in Vista
I run a sshd as well as a rsyncd within cygwin in both, in WindowsXP as well
as in Windows Vista.
Strange to say, pre-xfer will work in XP perfectly but in Vista only after a
previously login through sshd.
Strange too, that sshd use bash.exe and pre-xfer use sh.exe which is a copy
of bash.exe.
Without a previously login through sshd the forked rsync process will hang.
If I do remove sh.exe, rsync
2010 Jan 22
0
FW: Call Xfer issue between DataCenter and User Site
Sorry to bump this one...
Anyone have any other ideas on it?
Regards
Steven Davison
Net Technial Solutions
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steven Davison
Sent: 21 January 2010 08:41
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Call Xfer issue
2007 Nov 27
1
Syncing to multiple servers
Helle everyone,
Let's say we have 3 servers, 2 of them have the latest (stable) version
of rsyncd running (2.6.9)
<Server1> ==> I N T E R N E T ==> <Server2 (rsyncd running)> ==> LAN
==> <Server3 (rsyncd running)>
Suppose I want to send a big file (bigfile.big) from Server1 to both
Server2 and Server3. It would be a good idea to send first from Server1
2005 Jan 04
2
Transferring Large Files w/ Rsync - Initial Xfer
Hi All-
I am trying to use rsync to synchronize very large files- some are close to 2gb in size.
I have copied the files manually to a usb drive and shipped it to the location where the rsync server is running.
At the remote location I copied the files to a directory which resides on the rsync server and is being pointed to by the module section rsyncd.conf.
The source files have
2005 Feb 16
0
Attended xfer
Does anyone know if the attended transfer in CVS head works with
app_queue (and more importantly, chan_agent ?)
This is the only thing stopping me from deploying the attended transfer
patches.
Cheers,
Ben
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mark
Benson
Sent: 16 February 2005 14:44
To: Asterisk
2006 Sep 18
1
daemon excludes all my files
Hello
I am new to rsync but I started the cwRsyncServer daemon on an Windows
2003 Server machine with this exclude option:
exclude = *.obj Debug *~ *.bak *.orig .svn Thumbs.db Copy?of?* Kopie?van?* .*
This option I have placed in the global section so I won't have to
repeat it on every module.
You can see my rsyncd.conf file attached.
The problem is now all my files get excluded
Now on