Re: RSync exclusion

2013-04-20 Thread Jos Chrispijn
Must have had a temporary brain damage, sorry... thanks Jos Paul Macdonald: --exclude /files/photos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: RSync exclusion

2013-04-20 Thread Jos Chrispijn
Daniel O'Callaghan: It uses rsync, but manages a directory tree with hard links to unchanged files. It would solve your problem, but in a different way. Thanks for this - the issue is solved, but I will certainly have a look to that one as well. Jos

Re: RSync exclusion

2013-04-19 Thread Erich Dollansky
Hi, On Thu, 18 Apr 2013 13:30:45 +0200 Jos Chrispijn ker...@webrz.net wrote: I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/

Re: RSync exclusion

2013-04-18 Thread Daniel O'Callaghan
On 18/04/2013 9:30 PM, Jos Chrispijn wrote: rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ Just a thought, but have you looked at rsnapshot? http://www.rsnapshot.org/ http://www.freshports.org/sysutils/rsnapshot/ It uses rsync, but manages a directory tree with hard links to

Re: RSync exclusion

2013-04-18 Thread Paul Macdonald
In this /files folder, amongst others, I have another folder called photos: /files/photos What I now would like to do is sync the /files folder with an exclusion on the /files/photos folder Reason for that is that this /photos subfolder contains 12 gb on photos, which I don't want to have

Re: Rsync and Preservation of Ownership and Permissions

2011-11-24 Thread Martin McCormick
Michael Sierchio writes: Does the same user exist on the remote system, with the same uid, etc.? Yes. If you're using rsync with ssh as the transport, and connecting to the remote machine as the backups user, that's who will own the files on its local filesystem... I thought rsync had some

Re: rsync and the ports tree

2011-10-28 Thread Peter Kryszkiewicz
Sounds like a well-thought out backup strategy. I've started to use your methods here, and I'm building ports I need at the same time, but the wireless here is not password protected so is incredibly slow as there are lots of leaches on the system. But while I'm plodding along, I have a few more

Re: rsync and the ports tree

2011-10-26 Thread Christer Solskogen
On Wed, Oct 26, 2011 at 12:39 PM, Peter Kryszkiewicz tundra2b...@gmail.com wrote: I have several machines installed in my temporary location and only my laptop gets the internet through wireless. So far I've been building ports on the other machines by rsync'ing the distfiles from the laptop as

Re: rsync and the ports tree

2011-10-26 Thread C. P. Ghost
On Wed, Oct 26, 2011 at 12:39 PM, Peter Kryszkiewicz tundra2b...@gmail.com wrote: I have several machines installed in my temporary location and only my laptop gets the internet through wireless. So far I've been building ports on the other machines by rsync'ing the distfiles from the laptop as

Re: rsync over nfs or rsync protocol

2011-09-26 Thread Jerry McAllister
On Sun, Sep 25, 2011 at 09:10:22AM -0700, Jason C. Wells wrote: On 09/23/11 14:11, Jerry McAllister wrote: Why would you interject NFS in the middle of it? jerry There would be no middle. I would run rsyncd or nfsd, but not both. Ah, I get it. In that case, I think rsync is probably

Re: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells
On 09/23/11 14:11, Jerry McAllister wrote: Why would you interject NFS in the middle of it? jerry There would be no middle. I would run rsyncd or nfsd, but not both. Jason ___ freebsd-questions@freebsd.org mailing list

Re: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells
On 09/23/11 14:15, Chuck Swiger wrote: Lots. The handbook has a chapter on backups which is worth reading, also Regards, Ah the handbook. I forgot all about it. Thanks. Later, Jason ___ freebsd-questions@freebsd.org mailing list

RE: rsync over nfs or rsync protocol

2011-09-23 Thread Gary Gatten
I'm sure you'll get a TON of responses on this. Maybe some script that combines tar, g[b]zip, and rsync? I wouldn't use NFS just for this, but if it's already there it may have a place. -Original Message- From: owner-freebsd-questi...@freebsd.org

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Jerry McAllister
On Fri, Sep 23, 2011 at 02:04:03PM -0700, Jason C. Wells wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs. I have two servers. I'd like to make each a backup server for the other. I'm considering using rsync. Is

Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:04 PM, Jason C. Wells j...@speakeasy.net wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd like to make each a backup server for the other.  I'm considering using rsync.

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Chuck Swiger
On Sep 23, 2011, at 2:04 PM, Jason C. Wells wrote: Is rsync a good choice for a backup tool? It's OK. A versioned backup system (dump/restore, Legato Networker, Amanda, Retrospect, etc) is more efficient at using backup storage. Should I use the rsyncd or should I use NFS? I'm using 100

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Bill Campbell
On Fri, Sep 23, 2011, Jason C. Wells wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs. I have two servers. I'd like to make each a backup server for the other. I'm considering using rsync. Is rsync a good choice

Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:15 PM, Chuck Swiger cswi...@mac.com wrote: Lots.  The handbook has a chapter on backups which is worth reading, also True. Personally, I like dump/restore for disaster-recovery backups on FreeBSD. However, if you frequently need individual file recovery (e.g., Joe

Re: rsync: failed to set permissions on filename: Function not implemented (38)

2010-10-27 Thread Warren Block
On Wed, 27 Oct 2010, Noah wrote: No response on the rsync mail list so I am trying here. I am trying to figure out how I can get my rsync client and server to coexist better. I am running into the following error: rsync: failed to set permissions on filename: Function not implemented

Re: rsync include and exclude

2009-10-07 Thread krad
2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory.

Re: rsync include and exclude

2009-10-07 Thread Jay Hall
Thanks. That took care of the problem. Jay On Oct 7, 2009, at 3:02 PM, krad wrote: 2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything

Re: rsync colon in filename to MSWin fails

2009-06-08 Thread davetbo
Here's a good workaround. This works for me from Linux to Win32. In your rsync script, before the rsync, do either find ./ -name '*:*' | xargs tar -czvf colon_files.tgz or (if you're doing the whole box as an rsync backup, like I am) do updatedb locate : | xargs tar -czvf colon_files.tgz

Re: rsync approach

2009-05-30 Thread Karl Vogel
On Wed, 27 May 2009 15:03:30 -0700, prad p...@towardsfreedom.com said: P We are thinking of rsync to duplicate 1st [box] 2nd [box] (with the P exception of rc.conf and a few other files of course because we don't P want them to be absolutely identical). P we plan to allow root login and have

Re: rsync approach

2009-05-28 Thread Wojciech Puchar
we have 2 static ip addresses with a machine running 7.2 connected to each. one is the primary server, while the other does only dns and receives bkp dumps from the first. we want to set things up so the 2nd can be brought on line at a moment's notice. therefore, we are thinking of rsync to

Re: rsync approach

2009-05-27 Thread Doug Hardie
On 27 May 2009, at 15:03, prad wrote: we have 2 static ip addresses with a machine running 7.2 connected to each. one is the primary server, while the other does only dns and receives bkp dumps from the first. we want to set things up so the 2nd can be brought on line at a moment's

Re: Rsync | Push script

2009-02-26 Thread Frank Shute
On Sat, Feb 21, 2009 at 02:40:21PM +0100, Jos Chrispijn wrote: Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync

Re: Rsync | Push script

2009-02-26 Thread Andrew Gould
On Sat, Feb 21, 2009 at 02:40:21PM +0100, Jos Chrispijn wrote: Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop

Re: Rsync | Push script

2009-02-21 Thread Bill Moran
Jos Chrispijn j...@webrz.net wrote: Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync -avpog /var/db/mysql

Re: Rsync | Push script

2009-02-21 Thread Jos Chrispijn
Sorry for the confusion; the problem is in the rsync line: rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/ Running this line causes rsync to say: Unexpected remote arg: r...@10.10.10.50:123 rsync error: syntax or usage error (code 1) at main.c(1202) [sender=3.0.5] On the server

Re: Rsync | Push script

2009-02-21 Thread Roland Smith
On Sat, Feb 21, 2009 at 06:14:27PM +0100, Jos Chrispijn wrote: Sorry for the confusion; the problem is in the rsync line: rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/ Running this line causes rsync to say: Unexpected remote arg: r...@10.10.10.50:123 rsync error: syntax or

Re: Rsync | Push script

2009-02-21 Thread Polytropon
Just a small note which has nothing to do with the actual rsync problem: On Sat, 21 Feb 2009 14:40:21 +0100, Jos Chrispijn j...@webrz.net wrote: DATE=`date +%d%m%y` In order to be able to sourt your backups by date, you could use the form DATE=`date +%y%m%d` or DATE=`date

Re: rsync throwing odd error

2008-11-21 Thread John Almberg
On Nov 21, 2008, at 12:50 PM, John Almberg wrote: This is the week for strange problems... I use rsync to copy tinydns data files to backup name servers. This has been working for about a year with no problem. Suddenly, I am getting odd errors: /usr/local/bin/rsync -az -e 'ssh ' data.cdb

Re: rsync throwing odd error

2008-11-21 Thread John Almberg
A... a reverse DNS problem! Nope... wasn't that. Reverse DNS was working fine. I just didn't know how to check it properly. Well, that was a good idea. Time to find another one! - John ___ freebsd-questions@freebsd.org mailing list

Re: rsync throwing odd error

2008-11-21 Thread Wojciech Puchar
/usr/local/bin/rsync -az -e 'ssh ' data.cdb [EMAIL PROTECTED]:/usr/local/etc/tinydns/root/data.cdb channel 1: open failed: administratively prohibited: open failed The rsync does work. That is, the file is copied over. So this is actually a warning, I guess. On the other server, the one

Re: rsync or even scp questions....

2008-10-13 Thread Jeremy Hooks
How, may I ask, does this work? If you search the bash man file you can find this and lots of other useful constructs, search for 'Parameter Expansion' - I'm not sure how much of this relates to other Bourne Shell derivatives, but I don't imagine it would be difficult to test it out.

Re: rsync or even scp questions....

2008-10-12 Thread Matthew Seaman
mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`;

Re: rsync or even scp questions....

2008-10-12 Thread Jeremy Chadwick
On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
On Sun, Oct 12, 2008 at 01:49:31AM -0700, Jeremy Chadwick wrote: On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is

Re: rsync or even scp questions....

2008-10-11 Thread mdh
--- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo

Re: rsync colon in filename to MSWin fails

2008-09-19 Thread Giorgos Keramidas
On Fri, 19 Sep 2008 13:37:50 +0100, Anton Shterenlikht [EMAIL PROTECTED] wrote: I cannot trasfer a file with a colon via rsync to a Win box. I've rsync-3.0.4 on the FBSD (sending side) and rsync-2.6.9 under cygwin on Win (receiving side). I'm not sure what the error message means: % rsync

Re: Rsync

2008-08-10 Thread Matthew Seaman
Jos Chrispijn wrote: I have server1 of which I would like to backup some slices/directories to a backup server2 that in fact is a mirror of the one that I want to backup. I don't allow root logon from prompt on Server2. Can someone tell me how I can force rsync to backup server1 without having

Re: Rsync

2008-08-10 Thread Jos Chrispijn
Matthew Seaman wrote: Use anonymous rsync? There's a section on rsyncd in the rsync(1) man page, but most of the meat is in the rsyncd.conf(5) man page. The downside is you'll lose information about user and group ownership of files. Oh, and obviously be careful about limiting where people can

Re: Rsync

2008-08-10 Thread Matthew Seaman
Jos Chrispijn wrote: Matthew Seaman wrote: Use anonymous rsync? There's a section on rsyncd in the rsync(1) man page, but most of the meat is in the rsyncd.conf(5) man page. The downside is you'll lose information about user and group ownership of files. Oh, and obviously be careful about

Re: Rsync

2008-08-10 Thread Jos Chrispijn
Thanks for sharing, I will look at the suggest solutions! regards, Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Rsync

2008-08-10 Thread Roland Smith
On Sun, Aug 10, 2008 at 09:01:36PM +0200, Jos Chrispijn wrote: I have server1 of which I would like to backup some slices/directories to a backup server2 that in fact is a mirror of the one that I want to backup. I don't allow root logon from prompt on Server2. Can someone tell me how I

Re: Rsync From FreeBSD To Windows

2008-06-12 Thread Tim Daneliuk
Tim Daneliuk wrote: I have an smbfs share that mounts at boot time on a 6.3-STABLE system. I want to rsync from a FreeBSD directory to the Windows share. For reasons I seem to not be able to discover, rsync insists on copying every file, every time. The exact command is: rsync -va

RE: rsync as root for mail servers?

2008-05-05 Thread Catalin Miclaus
You can use the SSH key then change it for security reasons. For directories is working fine, I never tried on the e-mail spool thou. Best Regards Catalin Miclaus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Maness Sent: Monday, May 05,

Re: rsync as root for mail servers?

2008-05-05 Thread Bill Moran
In response to Chris Maness [EMAIL PROTECTED]: I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using

Re: rsync

2008-03-01 Thread Gary Kline
On Friday 29 February 2008 19:25:50 Girish Venkatachalam wrote: On 18:18:06 Feb 29, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has only /home/*?? Of course, I could always create

Re: rsync

2008-03-01 Thread Roger Olofsson
Gary Kline skrev: On Friday 29 February 2008 19:25:50 Girish Venkatachalam wrote: On 18:18:06 Feb 29, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has only /home/*?? Of course, I could

Re: rsync

2008-03-01 Thread Gary Kline
On Saturday 01 March 2008 14:04:17 Roger Olofsson wrote: Gary Kline skrev: On Friday 29 February 2008 19:25:50 Girish Venkatachalam wrote: On 18:18:06 Feb 29, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my

Re: rsync

2008-03-01 Thread Girish Venkatachalam
On 13:36:56 Mar 01, Gary Kline wrote: What does the --delete do?! I want to make a complete copy of, say, /usr/home/kline/* from here [tao] to my Ubuntu server, ethos, which has a /home mountpoint--- in otheer words: /home/kline/*. If the --delete /usr/home* /home syntax will let rsync

Re: rsync

2008-02-29 Thread James
On Fri, 2008-02-29 at 18:18 -0800, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has only /home/*?? Of course, I could always create /usr/home on my other computers. ... tia, gary

Re: rsync

2008-02-29 Thread Gary Kline
On Fri, Feb 29, 2008 at 07:43:38PM -0700, James wrote: On Fri, 2008-02-29 at 18:18 -0800, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has only /home/*?? Of course, I could

Re: rsync

2008-02-29 Thread Girish Venkatachalam
On 18:18:06 Feb 29, Gary Kline wrote: Is there a flag I can set to use with rsync to backup every file of /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has only /home/*?? Of course, I could always create /usr/home on my other computers. ... Your question is not clear

Re: rsync to lacie disk (via samba?)

2007-11-21 Thread Ivan Voras
Jerahmy Pocott wrote: Hello, I'm wanting to use rsync from FreeBSD to some lacie ethernet disks, they have a number of access options including ftp and windows file sharing.. Would mounting the shares with samba then using rsync on the mounted samba share as though it was syncing between

Re: rsync and perms...

2007-06-16 Thread Bill Campbell
On Sat, Jun 16, 2007, Agus wrote: Hi all, Trying to use rsync to update my home page in my freebsd, i am not able to keep the owner,group and perms of the files... I do all the updates in my ubntu. when everything is ready I run from my ubuntu: rsync -uav --delete --rsh=ssh /home/user/web/ [EMAIL

Re: rsync and perms...

2007-06-16 Thread Agus
2007/6/16, Bill Campbell [EMAIL PROTECTED]: On Sat, Jun 16, 2007, Agus wrote: Hi all, Trying to use rsync to update my home page in my freebsd, i am not able to keep the owner,group and perms of the files... I do all the updates in my ubntu. when everything is ready I run from my ubuntu: rsync

Re: rsync and perms...

2007-06-16 Thread Jerry McAllister
On Sat, Jun 16, 2007 at 04:20:42PM -0300, Agus wrote: 2007/6/16, Bill Campbell [EMAIL PROTECTED]: On Sat, Jun 16, 2007, Agus wrote: Hi all, Trying to use rsync to update my home page in my freebsd, i am not able to keep the owner,group and perms of the files... I do all the updates in my

Re: rsync and perms...

2007-06-16 Thread Lars Kristiansen
Jerry McAllister skrev: On Sat, Jun 16, 2007 at 04:20:42PM -0300, Agus wrote: 2007/6/16, Bill Campbell [EMAIL PROTECTED]: On Sat, Jun 16, 2007, Agus wrote: Hi all, Trying to use rsync to update my home page in my freebsd, i am not able to keep the owner,group and perms of the files... I do

Re: rsync install md5 error

2007-06-09 Thread Agus
Great...thanks a lot.. Greetz 2007/6/8, Beech Rintoul [EMAIL PROTECTED]: 2007/6/8, Beech Rintoul [EMAIL PROTECTED]: On Friday 08 June 2007, Agus said: Hi all, I am trying to install /usr/ports/net/rsync and i am getting MD5 checksum mismatch for rsync-2.6.6.tar.gz then it

Re: rsync install md5 error

2007-06-08 Thread Daniel Marsh
On 6/9/07, Agus [EMAIL PROTECTED] wrote: Hi all, I am trying to install /usr/ports/net/rsync and i am getting MD5 checksum mismatch for rsync-2.6.6.tar.gz then it says if u are sure u want to override this check, type make NO_CHECKSUM=yes What does it mean that the MD5 and sha256

Re: rsync install md5 error

2007-06-08 Thread Beech Rintoul
On Friday 08 June 2007, Agus said: Hi all, I am trying to install /usr/ports/net/rsync and i am getting MD5 checksum mismatch for rsync-2.6.6.tar.gz then it says if u are sure u want to override this check, type make NO_CHECKSUM=yes What does it mean that the MD5 and sha256 checksums

Re: rsync install md5 error

2007-06-08 Thread Agus
I see that in samba.org the version is 2.6.9...so my bsd tries to download it from another place is there a way to make install version 2.6.9 instead of the default that is trying?? thanksss 2007/6/8, Beech Rintoul [EMAIL PROTECTED]: On Friday 08 June 2007, Agus said: Hi all, I am

Re: rsync install md5 error

2007-06-08 Thread Beech Rintoul
2007/6/8, Beech Rintoul [EMAIL PROTECTED]: On Friday 08 June 2007, Agus said: Hi all, I am trying to install /usr/ports/net/rsync and i am getting MD5 checksum mismatch for rsync-2.6.6.tar.gz then it says if u are sure u want to override this check, type make

Re: Rsync w/ Windows

2007-03-16 Thread Jeremy Gransden
On 3/16/07, Chris Maness [EMAIL PROTECTED] wrote: I need to sync a directory with my freebsd box. In linux/bsd I use the command rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and this works perfectly for me. However, using the cwrsync package in windows with this syntax

Re: Rsync w/ Windows

2007-03-16 Thread Roger Olofsson
Hello Chris, May I suggest that you take a peek at http://www.itefix.no/phpws/index.php?module=pagemasterPAGE_user_op=view_pagePAGE_id=6MMN_position=23:23 As example I have the following syntax in my cwrsync.cmd (In this example I backup documents and settings from pc to FreeBSD by using

Re: Rsync w/ Windows

2007-03-16 Thread Chris Maness
Roger Olofsson wrote: Hello Chris, May I suggest that you take a peek at http://www.itefix.no/phpws/index.php?module=pagemasterPAGE_user_op=view_pagePAGE_id=6MMN_position=23:23 As example I have the following syntax in my cwrsync.cmd (In this example I backup documents and settings from

Re: Rsync w/ Windows

2007-03-16 Thread Lee Capps
At 09:31 Fri 16 Mar 2007, Chris Maness wrote: I need to sync a directory with my freebsd box. In linux/bsd I use the command rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and this works perfectly for me. However, using the cwrsync package in windows with this syntax does

Re: rsync and trailing '/'

2007-03-05 Thread Matthew Seaman
Noah wrote: rsync version 2.6.9 protocol version 29 I am running rsync, and I wonder if having the trailing '/' at the end of the directory is proper configuration? --- snip --- /usr/local/bin/rsync -avz -e ssh [EMAIL PROTECTED]:/var/cron/ /var/cron/ Presence of absence of the

Re: rsync and trailing '/'

2007-03-05 Thread Y Sidhu
From: Noah [EMAIL PROTECTED] Subject: rsync and trailing '/' To: User Questions freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed rsync version 2.6.9 protocol version 29 I am running rsync, and I wonder if having the

Re: rsync issues

2007-01-23 Thread Peter Pluta
I've gotten a few replies and i've tried almost all of the suggestions but the problem still resides. I re-installed rsync on both box's and it still does this. Peter Pluta wrote: Anyone? Peter Pluta wrote: I have a win2k3 server running as my rsync server. I also have a freebsd web server

Re: rsync issues

2007-01-23 Thread Zbigniew Szalbot
Hi, I've gotten a few replies and i've tried almost all of the suggestions but the problem still resides. I re-installed rsync on both box's and it still does this. Most likely won't help, but do you have any sort of traffic shaping between the two boxes (not sure if they are on the same LAN

Re: rsync issues

2007-01-23 Thread Greg Albrecht
just to go through what i'd normally check: 1) make sure the source host is up at 100full 2) make sure the port the source host is plugged into is 100full 3) make sure the destination host is up at 100full 4) make sure the port the destination host is plugged into is 100full given all of that,

Re: rsync issues

2007-01-22 Thread Peter Pluta
Anyone? Peter Pluta wrote: I have a win2k3 server running as my rsync server. I also have a freebsd web server being the rsync client. A shell script runs every night at 5am (it's below). Shell script: #!/bin/sh . `dirname $0`/settings.inc destination=**.***.***.***::backup if [ $TERM ];

Re: rsync issues

2007-01-22 Thread Bill Moran
In response to Peter Pluta [EMAIL PROTECTED]: Peter Pluta wrote: I have a win2k3 server running as my rsync server. I also have a freebsd web server being the rsync client. A shell script runs every night at 5am (it's below). Shell script: #!/bin/sh . `dirname $0`/settings.inc

Re: rsync issues

2007-01-22 Thread Jay Chandler
Peter Pluta wrote: Anyone? Peter Pluta wrote: I have a win2k3 server running as my rsync server. I also have a freebsd web server being the rsync client. A shell script runs every night at 5am (it's below). Shell script: #!/bin/sh . `dirname $0`/settings.inc

Re: rsync issues

2007-01-22 Thread Greg Albrecht
On 21/01/07, Peter Pluta [EMAIL PROTECTED] wrote: After it runs for 5 minutes it throws this: rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken pipe (32) rsync: read error: Connection reset by peer (54) rsync error: error in rsync protocol data stream (code 12) at io.c(613)

Re: rsync does not --exclude: (??)

2006-10-28 Thread Malcolm Kay
On Sat, 28 Oct 2006 11:39 am, Lars Kristiansen wrote: Gary Kline skrev: People, Weeks ago I tried this *without* the --exclude flags and overwrote DOT file that I didn't want to. Iust rechecked this use of rsync, saving important files from my work server elseswhere, and

Re: rsync does not --exclude: (??)

2006-10-27 Thread Malcolm Kay
On Sat, 28 Oct 2006 03:15 am, Gary Kline wrote: People, Weeks ago I tried this *without* the --exclude flags and overwrote DOT file that I didn't want to. Iust rechecked this use of rsync, saving important files from my work server elseswhere, and see that some files or

Re: rsync does not --exclude: (??)

2006-10-27 Thread Gary Kline
On Sat, Oct 28, 2006 at 06:18:44AM +0930, Malcolm Kay wrote: On Sat, 28 Oct 2006 03:15 am, Gary Kline wrote: People, Weeks ago I tried this *without* the --exclude flags and overwrote DOT file that I didn't want to. Iust rechecked this use of rsync, saving important files

Re: rsync does not --exclude: (??)

2006-10-27 Thread Lars Kristiansen
Gary Kline skrev: People, Weeks ago I tried this *without* the --exclude flags and overwrote DOT file that I didn't want to. Iust rechecked this use of rsync, saving important files from my work server elseswhere, and see that some files or directories

Re: rsync on Freebsd 5.3

2006-08-18 Thread Chad Leigh -- Shire.Net LLC
On Aug 18, 2006, at 10:40 AM, Lisa Casey wrote: Anyone know what might be wrong? Or can anyone suggest a better way of moving these mail boxes? I don't know what might be wrong with rsync but can't you just tar up the mail, move the tar file, and untar at the new place? Simple fast

Re: rsync on Freebsd 5.3

2006-08-18 Thread Kevin Sanders
I've never needed to do any rsync specific configuration, just install from ports on both machines. This sounds more like a ssh configuration issue (connect to host newfreebsd.com port 22: Connection refused) on newfreebsd.com. Or maybe you're not allowing ssh connections thru the firewall on

Re: rsync on Freebsd 5.3

2006-08-18 Thread Greg Barniskis
Lisa Casey wrote: Hi, I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine (oldfreebsd.com) to another (newfreebsd.com). I decided to use rsync for this since it would preserve ownership, permissions, etc. I made sure rsync was installed on both machines. Neither

Re: rsync on Freebsd 5.3

2006-08-18 Thread Lars Kristiansen
Lisa Casey skrev: Hi, I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine (oldfreebsd.com) to another (newfreebsd.com). I decided to use rsync for this since it would preserve ownership, permissions, etc. I made sure rsync was installed on both machines. Neither

Re: rsync errors

2006-05-28 Thread Philip Hallstrom
I have rsync installed on 2 6.1-RELEASE boxes on my home lan. I want to sync the webserver (curly) to the backup server (moe). When I run rsync on moe, I get the following: $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/apache22 Password: receiving file list ... done

Re: rsync errors

2006-05-28 Thread Norberto Meijome
On Sun, 28 May 2006 23:34:33 -0500 Charles Howse [EMAIL PROTECTED] wrote: $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/ apache22 Password: receiving file list ... done rsync: mkstemp /usr/local/etc/apache22/.httpd.conf.p9eLuI failed: Permission denied (13) the

Re: rsync errors

2006-05-28 Thread Charles Howse
On May 28, 2006, at 11:41 PM, Philip Hallstrom wrote: I have rsync installed on 2 6.1-RELEASE boxes on my home lan. I want to sync the webserver (curly) to the backup server (moe). When I run rsync on moe, I get the following: $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf

Re: rsync script not excluding dirs

2006-03-20 Thread Alex Zbyslaw
Parv wrote: in message [EMAIL PROTECTED], wrote Pat Maddox thusly... I have a backup script that runs nightly, and I want it to exclude certain dirs (ports, obj, etc). However when I run the script it doesn't exclude anything, leaving me with pretty massive backups. ... /, /var,

Re: rsync script not excluding dirs

2006-03-19 Thread Parv
in message [EMAIL PROTECTED], wrote Pat Maddox thusly... I have a backup script that runs nightly, and I want it to exclude certain dirs (ports, obj, etc). However when I run the script it doesn't exclude anything, leaving me with pretty massive backups. ... /, /var, /usr, and /backup are

two quick conceptual questions RE: rsync (and rsyncing snapshots)

2005-11-01 Thread user
Hello, I have started using rsync somewhat extensively and had two questions regarding its operation. First, how does rsync respond to, and perform, when the source filesystem is under very heavy change ? If I have a filesystem that I want to rsync up to a backup server, but that filesystem is

Re: two quick conceptual questions RE: rsync (and rsyncing snapshots)

2005-11-01 Thread Chuck Swiger
user wrote: First, how does rsync respond to, and perform, when the source filesystem is under very heavy change ? If I have a filesystem that I want to rsync up to a backup server, but that filesystem is _very busy_ with the creation, destruction and changing of files, how well does rsync

Re: two quick conceptual questions RE: rsync (and rsyncing snapshots)

2005-11-01 Thread user
Chuck - thank you... On Tue, 1 Nov 2005, Chuck Swiger wrote: rsync complains when the filesystem changes underneath it, but it will continue to run. On the other hand, rsync is not going to safely maintain the referential integrity of a complex file like a live database, but it's okay

Re: two quick conceptual questions RE: rsync (and rsyncing snapshots)

2005-11-01 Thread Chuck Swiger
user wrote: Chuck - thank you... Sure. On Tue, 1 Nov 2005, Chuck Swiger wrote: rsync complains when the filesystem changes underneath it, but it will continue to run. On the other hand, rsync is not going to safely maintain the referential integrity of a complex file like a live database,

Re: rsync unable to sync suid files

2005-09-30 Thread Alex Zbyslaw
Rajarajan Rajamani wrote: I am running Release 5.4 with 2 disks and am using rsync to sync between the two. On installing the second disk I used dump/restore to mirror them and am since using rsync for incremental changes. However I have a problem that rsync is unable to copy some files and I

Re: rsync and moving files [Re: backup w/ snapshots]

2005-08-31 Thread Svein Halvor Halvorsen
* Charles Swiger [2005-08-30 10:49 -0400] On Aug 30, 2005, at 3:32 AM, Svein Halvor Halvorsen wrote: Yes, that's correct! But let's say I keep more than one snapshot around. I maybe didn't mention this, but this the sole purpose of using snapshots; for me to have more full backups

Re: rsync and moving files [Re: backup w/ snapshots]

2005-08-31 Thread Svein Halvor Halvorsen
* Garance A Drosihn [2005-08-30 12:50 -0400] Fwiw, I understand the problem you're trying to describe. And the basic issue is that rsync keeps no information between separate runs of it. It has no way of knowing that a given file on the source volume used to be at a different location.

Re: rsync and moving files [Re: backup w/ snapshots]

2005-08-30 Thread Svein Halvor Halvorsen
* Greg Barniskis [2005-08-29 11:45 -0500] Eh? Bad assumptions about snapshots, I think. If a snapshot occupied even a tenth of the space of the data that it represented, we would quickly fill all our disks and the snapshot technology would be almost as painful as useful. A snapshot is

  1   2   >