rsync help

Jason Lavigne jlavigne at bwlogic.com
Mon Oct 27 09:59:33 PST 2003


Here is what I have that I run from cron,

/usr/local/bin/rsync -aq --password-file=/usr/local/etc/rsync.password
rsyncuser at 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 at freebsd.org
[mailto:owner-freebsd-questions at 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 at servertobebackedup.com:/home/sites/www.domain.com/web
/home/domain/website/

am I even close to being right ?
thanks

Mark


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



More information about the freebsd-questions mailing list