Displaying 20 results from an estimated 20000 matches similar to: "Rsync deletion issue on failure"
2009 Nov 25
2
something about filter rules of rsync
i want rsync to include all the *.dat files(and the *.dat files in the
subdirectory), and exclude all other files. how can i write the filter
rules? i have read the man rsync, but i still got no idea to do it.
for example, the result of find -printf "%y %p\n" is below:
d .
d ./1
d ./1/a
f ./1/a/a.c
f ./1/a/a.d
f ./1/a/a.dat
f ./1/a/b
f ./1/a.c
f ./1/a.d
f ./1/a.dat
f ./1/b
d ./2
how can
2010 Jan 26
2
Rsync in daemon mode
Hi,
I am a newbie to Rysnc and a had a quick question, the answer for which I wasn't able to find in the documentations.
Currently I have Solaris system A which has files that are being generated and changed in real time. I am running rysnc in daemon mode on A.(server)
On system B I use the appropriate rysnc command to connect to system A and sync all the files on B. I am having
2010 Jan 21
2
option 'auth users' in rsyncd.conf
Hi there,
this is my first posting to this list, so let me quickly introduce
myself. I'm Alex and currently working on a new version of the rsync
package for the eisfair Linux distribution?.
I have some problems understanding the behaviour of the 'auth users'
option in the rsyncd.conf file when running rsync in daemon mode. I set
up a module and a secrets file. This is the behaviour
2010 Jan 18
2
Another cygwin/rsync question
Hi, Been using rsync for many years but I'm stuck with this problem.
I'ts a simplistic backup using rsync from a Windows 2k3 machine to a
Linux box out on the 'net, using pre-shared ssh keys. In this case I'm
saving, files belonging to various users, using the administrator
account on the windows machine and the destination is a normal user
account and its home file area.
2008 Apr 09
3
Interface bonding?
I'm try to bond a few interfaces together with the hopes of getting
increased throughput, and I'm using a cisco Catalyst 2900 as the switch.
I've tried using mode 0, 5, and 6 with nothing special on the switch,
and mode 4 with some ports "trunked" together (I have a feeling that the
"trunking" that the 2900 does is not 802.3ad, as it disabled the ports
it saw as
2003 Oct 20
4
how to escape #
Hi,
This morning I found myself stumped when a remote interactive system
asked me to enter some identification followed by the # key, and my
local Asterisk interrupted with "Transfer?".
Is there a way to escape the pound key, short of disabling transfers?
Cheers,
--
"Make it idiot proof, and somebody will make a better idiot."
2009 Aug 11
2
I don't get --link-dest, at all
Hourly I have an rsync job backup /home to /home/backup. I have 24
directories (one for each hour):
home.0
...
home.23
Here is the script I am running via cron:
#! /usr/local/bin/bash
dest=`date +%k | sed 's/ //g'`
linkdir=`date -v-1H +%k | sed 's/ //g'`
chflags -R noschg /home/backup
rm -rf /home/backup/home.$dest
rsync -ahHP --numeric-ids --delete --stats --link-dest=../
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
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
2004 Jun 19
1
Another way to transfer zones
Hi,
I've been working on a replacement for nsd-xfer/bind-xfer for the use
with NSD for some evenings now, and since I believe that at least some
of you do have the same problem I experienced during my transition to
NSD (that is, bind-xfer is only available in BIND8, which is sometimes a
little bit peeky in being compiled, plus the many invokations of that
program during the regular
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
2005 Feb 08
2
How to xfer calls or is my setup wrong?
I am having problems transferring calls from one sip extension to
another - the extensions use various phones hardware/software.
From what I can tell I should just be able to press # and then dial an
extension to blind xfer a call right? How do I do attended xfer?
Either the phones (for this test I have tried xlite and budgetone102)
are not sending DTMF correctly or something else is amiss...
2014 Jan 30
1
excluding changed or deleted files from --backup
Hi,
I use the options --backup and --backup-dir (in combination with
--delete) to backup changed or deleted files. And for each rsync I use a
different backup-dir so I keep all the deleted/changed files.
Now I have some big files (> 50GB) that change every day but I only need
one last version on my destination server. I want to have these files
synced, but I don't want to have a --backup
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.
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
2014 Mar 28
1
basic dsync wrapper for migration from another server
Hi,
I cobbled together this somewhat shoddy Bash script to migrate email
accounts from our Cyrus server to a new dovecot system. Feel free to
use, or laugh at it as you wish :)
#!/bin/bash
##
# Migrate email accounts via IMAP from one server to another
##
trap "kill 0" SIGINT
workdir=/root/migrate
# Load list of users into array. The file "migration_map" should
contain
2010 Dec 10
1
1.6.2.14 > 1.6.2.15: blind transfer works but not Xfer on aastra
Upgraded from 16.2.14 to 1.6.2.15 on Fedora 13, with aastra 9133i and 57i.
On 9133i and 57i:
#<extension># works for a blind transfer.
Xfer<extension>Xfer doesn't!
All this worked on 1.6.2.14.
Nothing useful on cli, verbose 3, DEBUG. Here extension 169 answers an
outside call, and tries to transfer it to 145 using the Xfer button:
-- SIP/169-0000009c answered
2009 Aug 28
1
Failure booting CD on elderly gateway
The current Debian distribution (AKA "lenny") install CD verstion "netinst"
for i386 fails on an elderly gateway (details below) with the following
message:
------------------
ISOLINUX 3.71 Debian-2008-09-06 isolinux: Loading spec packet failed, trying
to |<-- screen wrap
wing it ...
isolinux: Failed to located CD-ROM device; boot failed.
See http://syslinux.zytor.com/sbm
2006 May 10
3
Rsync via ssh hangs on same file repeatedly
Hi all,
I'm having problems with an rsync via ssh process hanging during transfer.
The basic problem, (gory details to follow):
I've set up a machine on my LAN to act as the receiver and have two
(soon to be more) remote servers transferring files via a script.
It seems as if certain files are causing the transfer to hang. These
are different files on each of the sending machines,
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