Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 09:15:36 -0800 (PST)
From:      "nate" <freebsd@aphroland.org>
To:        <questions@FreeBSD.org>
Subject:   Re: mirror remote web server, no ftp, how?
Message-ID:  <50420.10.10.10.7.1046366136.squirrel@webmail.linuxpowered.net>
In-Reply-To: <OFDC24AEFB.35617C56-ON88256CDA.005DE49D-88256CDB.005E8163@simrad.no>
References:  <OFDC24AEFB.35617C56-ON88256CDA.005DE49D-88256CDB.005E8163@simrad.no>

next in thread | previous in thread | raw e-mail | index | archive | help
> I will be sending my web server out to be co-located, and keeping a second
>  box here
> in my office. I want to be able to make this local box a mirror of the

rsync ..

setup SSH with RSA or DSA authentication, use passphrase-less keys
(or ssh-agent or something) and do something like

(from remote web server)

rsync -e ssh -av /path/to/files remote_server:/path/to/files

use -avn instead of -av to have rsync show what it would do without
actually doing it.

of course if possible I reccomend transferring all files as a non
root user in both cases, my last company I had seperate accounts for
ftp synch and www synch.

nate




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50420.10.10.10.7.1046366136.squirrel>