Re: rsync backup problems

2011-02-13 Thread Matt McCutchen
On Mon, 2011-02-14 at 13:27 +1100, Daryl Sayers wrote: rsync -x --delete -azHv myremote:/ myremote:/usr myremote:/usr/local /machines/myremote/ This worked EXCEPT the /usr/local/ was put into /machines/myremote/local/ and not /machines/myremote/usr/local/. You want --relative . -- Matt

Re: Rsync backup issues using relative paths and LVM snapshots

2010-07-19 Thread Henri Shustak
I did think about remotely executing a mkdir before the backup, but one blocker is that I will be using Thecus NAS boxes as some off-site locations and I don't have shell access. You could mkdir the directory locally somewhere (anywhere), and rsync just that directory to the remote side,

Re: Rsync backup issues using relative paths and LVM snapshots

2010-07-16 Thread Paul Slootman
On Fri 16 Jul 2010, Alex Ferrara wrote: I did think about remotely executing a mkdir before the backup, but one blocker is that I will be using Thecus NAS boxes as some off-site locations and I don't have shell access. You could mkdir the directory locally somewhere (anywhere), and rsync

Re: Rsync backup issues using relative paths and LVM snapshots

2010-07-16 Thread Jamie Lokier
Alex Ferrara wrote: My problem is that if I mark a directory to have a snapshot created before rsync and use the -R (relative) option, the directory structure on the destination system will be the relative path of where I mounted the snapshot (/mnt/sync-snapshot in my case). If I don't use

Re: Rsync backup issues using relative paths and LVM snapshots

2010-07-15 Thread Henri Shustak
I really want to put the logic in the script so it is easy to bring another backup location online easily. If you have shell access to the destination system from your backup script then one option may be to issue 'mkdir -p' via ssh. Creating the directories manually on the destination

Re: Rsync backup issues using relative paths and LVM snapshots

2010-07-15 Thread Henri Shustak
Below is a link to a script (which currently only supporting Mac OS X) which will synchronize a sparse bundle image to a remote server. Sorry I forgot the link in the previous email. - http://www.lbackup.org/synchronizing_disk_images_between_machines Finally, yes I would be very

Re: Re: rsync backup permissions

2008-10-10 Thread Matthew Monaco
So would the receiving end need to be running in daemon mode? There would be no way to set the proper ownership if it isn't? Matt McCutchen wrote: On Thu, 2008-10-09 at 14:38 +0100, michael wrote: On Thu, 2008-10-09 at 14:17 +0100, michael wrote: I wish to use rsync to backup users' home dirs

Re: rsync backup permissions

2008-10-10 Thread Matt McCutchen
On Fri, 2008-10-10 at 18:43 -0400, Matthew Monaco wrote: So would the receiving end need to be running in daemon mode? There would be no way to set the proper ownership if it isn't? Not necessarily. The receiving end just needs to run as root, and that can be accomplished on a run over remote

Re: rsync backup permissions

2008-10-09 Thread michael
On Thu, 2008-10-09 at 14:17 +0100, michael wrote: I had a quick look for an answer to what I'd presume is a common Q but failed so wondering if somebody here would point me in the right direction, please thanks?! I wish to use rsync to backup users' home dirs from machineA (Debian) to

Re: rsync backup permissions

2008-10-09 Thread Matt McCutchen
On Thu, 2008-10-09 at 14:38 +0100, michael wrote: On Thu, 2008-10-09 at 14:17 +0100, michael wrote: I wish to use rsync to backup users' home dirs from machineA (Debian) to machineB (Fedora). I have a script, say backup.sh, in my own home dir and linked to from /etc/cron.daily and have set

Re: rsync backup not workingIn-Reply-To=

2007-09-21 Thread Keith Larson
For me, this all worked great until I went to NW65SP6. It has been problematic since. I have applied several post-sp6 patches, back-rev'd winsock and gotten better results, but still have ongoing issues. Keith Larson Franklin Computer Services - K12 Group (614) 561-4887 [EMAIL PROTECTED]

Re: rsync backup - order by size

2007-03-28 Thread Matt McCutchen
On 3/28/07, Ty Miller [EMAIL PROTECTED] wrote: Therefore, is there any way that I can get rsync to backup the files in order of [increasing] size? Rsync has no option to transfer files in order of increasing size, but there are two ways to accomplish something similar to that. See comments #1

RE: rsync backup - order by size

2007-03-28 Thread Ty Miller
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt McCutchen Sent: Thursday, 29 March 2007 10:30 AM To: Ty Miller Cc: rsync@lists.samba.org Subject: Re: rsync backup - order by size On 3/28/07, Ty Miller [EMAIL PROTECTED] wrote: Therefore, is there any way that I can get rsync to backup

Re: rsync backup - order by size

2007-03-28 Thread Matt McCutchen
On 3/28/07, Ty Miller [EMAIL PROTECTED] wrote: If I changed this to include the --min-size and --max-size so that there are the following two rsync passes; - Empty the daily incremental backup dir - Backup small files to the Current dir, moving modified or deleted files to the daily incremental

RE: rsync backup - order by size

2007-03-28 Thread Ty Miller
Thanks Matt. That's great. I'll give it a go! Cheers, Ty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt McCutchen Sent: Thursday, 29 March 2007 12:18 PM To: Ty Miller Cc: rsync@lists.samba.org Subject: Re: rsync backup - order by size On 3/28/07

Re: rsync backup not working

2006-03-06 Thread Wayne Davison
On Sat, Mar 04, 2006 at 10:01:08AM +0800, Jon Miller wrote: rsync -rRutzvP --volume=apps: ./ 192.168.1.252::SCA/apps FYI: The official rsync doesn't have a --volume option, so I don't know if the Novell modifications might be causing this or not. rsync error: error in socketIO (code 10) at

re: rsync backup not working

2006-03-03 Thread Jon Miller
I'm using rsync 2.63 on a NetWare 6.5 server backing up various volumes to a SLES 9 server. My script that I'm using on the NW server is: # Rsync synchronisation of APPS rsync -rRutzvP --volume=apps: ./ 192.168.1.252::SCA/apps # Rsync synchronisation of DATA rsync -rRutzvP --volume=Data: ./

Re: rsync, backup, Macintosh files

2004-08-31 Thread D Andrew Reynhout
If your files are on the Linux fileserver and accessed by the OSX clients via Netatalk, then resource forks and Finder metadata are already being stored in a format that rsync understands. Just run rsync as usual. If you were running HFS+ on the Linux box (hey, why not?), *then* you'd need to

RE: rsync backup

2004-01-16 Thread Hergaarden, Marcel
I've setup SSH for auto login. It seems I can just do rsync -e ssh -aupg 10.10.10.24:/home/MYDOMAIN /home fine Do I still need /etc/rsyncd.conf on the server? Nope. I do the same thing, and I've never needed it. As far as I know you should only have the rsync binary installed. When you

Re: rsync backup

2004-01-15 Thread Norman Zhang
Norman Zhang wrote: John Davis wrote: I want to mirror a samba server (smb0) to a identical server (smb1) in my internal network. So far I can managed to do this from client (smb1), rsync -e ssh -auzpg 10.10.10.24:/home/MYDOMAIN /home rsync -e ssh -auzpg 10.10.10.24:/srv/ /srv I

Re: rsync backup

2004-01-15 Thread Chuck Wolber
I've setup SSH for auto login. It seems I can just do rsync -e ssh -aupg 10.10.10.24:/home/MYDOMAIN /home fine Do I still need /etc/rsyncd.conf on the server? Nope. I do the same thing, and I've never needed it. -Chuck -- http://www.quantumlinux.com Quantum Linux Laboratories, LLC.

RE: rsync backup

2004-01-14 Thread John Davis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Zhang Sent: Wednesday, January 14, 2004 10:48 AM To: [EMAIL PROTECTED] Subject: rsync backup Hi, I want to mirror a samba server (smb0) to a identical server (smb1) in my internal network. So far

Re: rsync backup

2004-01-14 Thread Norman Zhang
John Davis wrote: I want to mirror a samba server (smb0) to a identical server (smb1) in my internal network. So far I can managed to do this from client (smb1), rsync -e ssh -auzpg 10.10.10.24:/home/MYDOMAIN /home rsync -e ssh -auzpg 10.10.10.24:/srv/ /srv I would like to automate this

Re: rsync backup performance question

2003-06-22 Thread jw schultz
On Sun, Jun 22, 2003 at 11:42:46AM +0200, Ron Arts wrote: Dear all, I am implementing a backup system, where thousands of postgreSQL databases (max 1 Gb in size) on as much clients need to be backed up nightly across ISDN lines. Because of the limited bandwidth, rsync is the prime

Re: rsync backup performance question

2003-06-22 Thread Ron Arts
jw schultz wrote: On Sun, Jun 22, 2003 at 11:42:46AM +0200, Ron Arts wrote: Dear all, I am implementing a backup system, where thousands of postgreSQL databases (max 1 Gb in size) on as much clients need to be backed up nightly across ISDN lines. Because of the limited bandwidth, rsync is the

Re: rsync backup performance question

2003-06-22 Thread Ron Arts
jw schultz wrote: You have a couple of points wrong. The receiver generates the block checksums. If you are pushing that would be the server but if you are pulling it is the client. In 2.5.6 and earlier the transmitted block checksums are 6 bytes per block with a default block size of 700 bytes

Re: rsync backup performance question

2003-06-22 Thread jw schultz
On Sun, Jun 22, 2003 at 04:20:34PM +0200, Ron Arts wrote: jw schultz wrote: [snip] Would it be feasible to have a separate process pre-creating blocksums during the day in separate files (ending in ,rsync)? Or, for example, while writing the changed file, the receiver would precompute and

Re: rsync backup performance question

2003-06-22 Thread Ron Arts
jw schultz wrote: [snip.. and thanks for all your comments] Rsync doesn't perform well on non-local filesystems. Really? Won't gigabit ethernet help for NFS, or maybe Samba? I only have to rsync a relatively low number of files, so no large directory scans. Ron -- Netland Internet Services

Re: RSYNC: Backup Solution thoughts...

2001-12-18 Thread Philip Mak
On Tue, 18 Dec 2001, Lachlan Cranswick wrote: My question is: How can I make server A give READ-ONLY rsync access of the entire disk to server B? Something similar the following in the /etc/rsyncd.conf file in the server A might work(?) - just put a read only = yes in the config. (plus

Re: RSYNC: Backup Solution thoughts...

2001-12-18 Thread tim . conway
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/18/2001 11:51 AM To: Lachlan Cranswick [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Re: RSYNC: Backup Solution thoughts... Classification: On Tue, 18 Dec 2001

Re: RSYNC: Backup Solution thoughts...

2001-12-18 Thread Philip Mak
If I understand correctly, you're saying that if someone manages to gain access to my rsync server, they can read my password files and private keys, right? How would they accomplish gaining access to my rsync server, though? Only my backup server would be authorized to connect to it... I think

Re: RSYNC: Backup Solution thoughts...

2001-12-18 Thread tim . conway
/18/2001 04:50 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: [EMAIL PROTECTED] Subject:Re: RSYNC: Backup Solution thoughts... Classification: If I understand correctly, you're saying that if someone manages to gain access to my rsync server, they can