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
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,
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
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
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
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
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
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
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
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
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]
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
: [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
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
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
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
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: ./
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
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
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
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.
-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
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
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
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
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
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
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
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
[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
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
/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
32 matches
Mail list logo