Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 12:59:28 -0500
From:      "Jason Lavigne" <jlavigne@bwlogic.com>
To:        "'M.D. DeWar'" <mark@s-wit.net>, "'freebsd'" <freebsd-questions@FreeBSD.org>
Subject:   RE: rsync help
Message-ID:  <002a01c39cb4$11062e90$0501a8c0@canada>
In-Reply-To: <009f01c39cab$8deb61e0$fb65a8c0@ocfl061>

next in thread | previous in thread | raw e-mail | index | archive | help
Here is what I have that I run from cron,

/usr/local/bin/rsync -aq --password-file=/usr/local/etc/rsync.password
rsyncuser@myserver::usr/local/www/bwlogic.com/html
/usr/local/www/bwlogic.com

now I am using a password file and not SSH, I see that you are looking
to use SSH to connect, if so this page might be of some help
http://killyridols.net/rsyncssh.shtml

I would suggest you drop the SSH until you have rsync working fine, then
add SSH.

cheers

Jay


-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of M.D. DeWar
Sent: Monday, October 27, 2003 11:58 AM
To: freebsd
Subject: rsync help

I would like to backup some website directorys on one machine to another
machine.
I have read the rsync man pages and some sites but am still confused
about
how the command line should be.
I will only run it from the command line every so often.

I have tried several ways but can't figure it out. I guess I am having
issues with how the directories should be listed on the command line.

One the server that is to be backed up the directory is
/home/sites/www.domain.com/web - all files and other directories are
below
the /web  and in reading it seemed I should keep the trailing slash off.

on the server that the files will be copied to the directory is
/home/domain/website/
If I understood right the trailing slash should be on this one.

./rsync -ae ssh
newbiedummy@servertobebackedup.com:/home/sites/www.domain.com/web
/home/domain/website/

am I even close to being right ?
thanks

Mark


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002a01c39cb4$11062e90$0501a8c0>