Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 11:58:30 -0500
From:      "M.D. DeWar" <mark@s-wit.net>
To:        "freebsd" <freebsd-questions@FreeBSD.org>
Subject:   rsync help
Message-ID:  <009f01c39cab$8deb61e0$fb65a8c0@ocfl061>

next in thread | raw e-mail | index | archive | 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009f01c39cab$8deb61e0$fb65a8c0>