Hi,
I've set up a rsync deamon with the following config, on the remote side.
[deploiement]
path = /data/one_tree
use chroot = yes
max connections=2
lock file = /var/lock/rsyncd
read only = no
uid = nobody
gid = nogroup
hosts allow = someIP
from the source host I do :
Hi guys , i need some help. I am trying to make a full sync of two of
my servers. But i noticed a very odd thing.
If i create a directory , for example
/usr/include/SOME_FOLDER/some_file on server2
when i do :
root@server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude
dev/ / r
Hi there,
we have an odd problem, which maybe how rsync is
intended to work, but I think not: On server side, we
run rsync in daemon mode with a share [foo] that has a
serverside path of /foo. On client side, we invoke
rsync -zavuSH --delete server::foo/ /foo. The rsync
daemon uses an exclusion l
On 9/24/07, Sylvain Viart <[EMAIL PROTECTED]> wrote:
> from the source host I do :
>
> rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/
> rsync://remote-host/deploiement/preprod/
>
> the --dry-run gives me some file to delete.
>
> but when I run the command without --dry-run, nothi
t when I run the command without --dry-run, nothing is deleted?
I bet the discrepancy has to do with your exclude filter. The
--exclude=.svn tells the receiver never to delete a file named .svn,
[...]
Exactly what I've also found. See my post : Re: --delete not working =>
+filterin
On 9/25/07, Sylvain Viart <[EMAIL PROTECTED]> wrote:
> Exactly what I've also found. See my post : Re: --delete not working =>
> +filtering disable delete!
Indeed; I responded to your first post without noticing that you had
posted again. I try to avoid doing that,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are there any errors? Rsync will abort the deletions if there are any
errors. Run without the -v to get only the errors in the output.
On 03/12/12 15:00, Salatiel Filho wrote:
> Hi guys , i need some help. I am trying to make a full sync of two
> of
i rerun removing the -v and i get no errors at all. Actually no
transfer at all because rsync thinks there are no more differences
between the servers.
[]'s
Salatiel
On Mon, Mar 12, 2012 at 16:02, Kevin Korb wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Are there any errors? Rs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does the "SOME_FOLDER" match any of your excludes? You didn't root
the excludes with a leading / so you are excluding any directory named
proc sys or dev anywhere in the tree.
On 03/12/12 15:05, Salatiel Filho wrote:
> i rerun removing the -v and i g
Actually that is the problem. SOME_FOLDER is /usr/include/sys which is
being ignore because of the sys/* exclude.
Now i have another problem , how can i exclude the /sys , /proc and
/dev for being synced? if i put
rsync -avzhH --delete --exclude /proc/* --exclude /dev/* --exclude
/sys/* / root
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This should be all you need (plus the other paths of course):
- --exclude=/proc
You may also be interested in --one-file-system.
On 03/12/12 15:16, Salatiel Filho wrote:
> Actually that is the problem. SOME_FOLDER is /usr/include/sys which
> is being
sorry , i was not forgetting that. Just forgot to type when mailing :)
[]'s
Salatiel
On Mon, Mar 12, 2012 at 16:16, John Van Essen wrote:
> Aren't you missing something in your rsync command? (Hint: subject line)
>
> John
>
>
> On Mar 12, 2012, at 14:00, Salatiel Filho wrote:
>
>> Hi guys
Thanks a lot kevin.
[]'s
Salatiel
On Mon, Mar 12, 2012 at 16:18, Kevin Korb wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> This should be all you need (plus the other paths of course):
> - --exclude=/proc
>
> You may also be interested in --one-file-system.
>
> On 03/12/12 15:16,
Aren't you missing something in your rsync command? (Hint: subject line)
John
On Mar 12, 2012, at 14:00, Salatiel Filho wrote:
> Hi guys , i need some help. I am trying to make a full sync of two of
> my servers. But i noticed a very odd thing.
> If i create a directory , for example
> /u
That is the way it is intended to work; the exclude list is not sent from
server to client. Back when I was official maintainer of rsync somebody
almost had me convinced to change it, but I decided that it was good the
way it was because to the client it appears like those files don't even
exist
I am having a problem with rsync not deleting files on the destination that
no longer exist on the source. The command I am using is: rsync -vaz
--delete /bantemp/* backenp650:/bantemp
Once the two trees are in sync, if I add a file to the source, run rsync
again, it will copy over the one new
Hi Matt,
In fact, reading bug 3825, has explained me the meaning of Hide and
Protect filter rule. Which I couldn't really understand from the doc.
As I said, Protect and Hide, are not "really" documented. It's only said
in the doc :
*hide, H* specifies a pattern for hiding files from the tr
On 9/25/07, Sylvain Viart <[EMAIL PROTECTED]> wrote:
> As I said, Protect and Hide, are not "really" documented. It's only said in
> the doc :
>
> hide, H specifies a pattern for hiding files from the transfer.
You're right that that line is not enough to thoroughly explain hide
filters. However
ng on 4836
sent 56 bytes received 18 bytes 148.00 bytes/sec
total size is 0 speedup is 0.00
_exit_cleanup(code=0, file=main.c, line=1058): entered
_exit_cleanup(code=0, file=main.c, line=1058): about to call exit(0)
--
View this message in context:
http://www.nabble.com/--delete-not-work
Hi,
If I use rsync of a smaller set of files the "--delete" option delete
files on the recieving side.
But I can not get this to work on big set of files (In this case I try to
rsync a whole machine "/").
Version of rsync on both sides are 2.4.6
Sender: Solaris 2.6
Reciever: FreeBSD 4.1.1
Co
On Tue, Dec 16, 2003 at 06:53:54PM -0400, Wesley Joyce wrote:
> I am having a problem with rsync not deleting files on the destination that
> no longer exist on the source. The command I am using is: rsync -vaz
> --delete /bantemp/* backenp650:/bantemp
I assume the files at issue are directly i
On Tue 14 Jul 2009, Nobuko Three wrote:
> --delete option is not working for me. The following is a minimal example.
>
> $ mkdir box1 box2
> $ touch box1/letter box2/extra
> $ rsync -a -vv box1/ box2/
>
> $ rsync -a -vvv box1/ box2/
> $ rsync -a - box1/ box2/
How do you ex
://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
>
--
View this message in context:
http://www.nabble.com/--delete-not-working-%28minimal-example%29-tp24481809p24485548.html
Sent from the Samba - rsync mailing list archive a
Hi,
I'm trying to copy some directories with rsync and would like to
delete files from the destination if they no longer exist in the
source.
I'm using the following command:
rsync -v --archive --hard-links --delete --force
--filter=':/.rsync-filter' /opt/ /mnt/backup/opt/
/opt does not contain
>>On 01/28/13 17:02, Stewart Jeacocke wrote:
>> I'm trying to copy some directories with rsync and would like to
>> delete files from the destination if they no longer exist in the
>> source.
>>
>> I'm using the following command:
>>
>> rsync -v --archive --hard-links --delete --force
>> --filter='
On Mon, May 21, 2001 at 01:08:21PM +0200, Lasse Andersson wrote:
>
>
> Hi,
>
> If I use rsync of a smaller set of files the "--delete" option delete
> files on the recieving side.
>
> But I can not get this to work on big set of files (In this case I try to
> rsync a whole machine "/").
>
> V
Hi,
Sylvain Viart a écrit :
rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/
rsync://remote-host/deploiement/preprod/
the --dry-run gives me some file to delete.
but when I run the command without --dry-run, nothing is deleted?
I think I've it.
The remote folder in the de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there any output? How about with an additional -v ?
Is there a .rsync-filter file anywhere?
On 01/28/13 17:02, Stewart Jeacocke wrote:
> Hi,
>
> I'm trying to copy some directories with rsync and would like to
> delete files from the destinatio
At 22:02 28.01.2013 +, Stewart Jeacocke wrote:
>Hi,
>
>I'm trying to copy some directories with rsync and would like to
>delete files from the destination if they no longer exist in the
>source.
>
>I'm using the following command:
>
>rsync -v --archive --hard-links --delete --force
>--filter=':
Hello All,
I have lately heard from a couple of people that delete option was not
deleting extraneous files on destination. This only happens when there are
several source directories and at destination some show delete working and
others not. I can not reproduce the issue so it is hard to pin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does --relative fix it? You almost always want --relative with
multiple sources.
On 08/16/2014 09:10 PM, Robert DuToit wrote:
> Hello All,
>
> I have lately heard from a couple of people that delete option was
> not deleting extraneous files on des
Kevin,
I don’t usually use -R unless users choose it -wanting the full directory
structure on destination. In this case of course - it doesn’t matter as the
three are all at root level. Worth a shot. Will let you know.
Thanks, Rob
On Aug 16, 2014, at 9:27 PM, Kevin Korb wrote:
> -BEGIN
HI kevin,
No luck with —relative. I’ll try and see where in the code —delete gets
bypassed.
Rob
On Aug 16, 2014, at 9:27 PM, Kevin Korb wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Does --relative fix it? You almost always want --relative with
> multiple sources.
>
> On
All of the rsync pages say that "rsync -a --delete src dest" will do a
full mirror but it just isn't so for us.
I've only found one Google item similar:
http://www.linuxquestions.org/questions/linux-software-2/rsync-doesnt-seem-to-delete-599985/
We have around 9200 directories in 250G in /home o
Hi. I've been having a frustrating problem with rsync that I'm looking
for advice on.
My goal is to syncronize a set of servers with the same libraries,
binaries, and main configuration files without touching the unique data
that exists on the indivudual servers. My --exclude-from file is rather
e
On Thu, Nov 22, 2007 at 04:01:29PM -0500, Eric Praetzel wrote:
> ssh Solaris_box "cd /home;rsync -az --force --delete *
> Centos_Box::remote_mach"
> ssh Solaris_box "rsync -az --force --delete /home Centos_Box::remote_mach"
Those are two very different things -- the first copies items from
inside
At 12:54 04.12.2007 -0800, Wayne Davison wrote:
>On Thu, Nov 22, 2007 at 04:01:29PM -0500, Eric Praetzel wrote:
>> ssh Solaris_box "cd /home;rsync -az --force --delete *
>> Centos_Box::remote_mach"
>> ssh Solaris_box "rsync -az --force --delete /home Centos_Box::remote_mach"
>
>Those are two very
On Wed, Aug 20, 2003 at 07:03:34AM -0500, [EMAIL PROTECTED] wrote:
> build# rsync -a -vvv -n --delete --exclude-from rsync.excludes /platform/
> individual.server::platform
I assume that the files that are not being deleted are excluded by the
--exclude-from rules -- all files (on both sides) tha
38 matches
Mail list logo