I need a good backup program.

Colin Watson cjwatson at ubuntu.com
Fri Jan 24 15:04:44 UTC 2014


On Fri, Jan 24, 2014 at 02:29:50PM +0100, Patrick Asselman wrote:
> Last time i tried to use rsync i ran into some problems.
> On a single machine it is easy to run it as root and have it backup
> all user dirs. Backing up to another machine via ssh is not so
> simple because root is not allowed to ssh in from another machine
> due to security reasons.

That may be your configuration; it is not the default in Ubuntu or in
OpenSSH upstream.  Anyway, you might consider backing off from
"PermitRootLogin no" to "PermitRootLogin forced-commands-only" (which I
may well make the default at some point, though I'd prefer somebody to
make the case to upstream first).  At that point you can install an
uncompressed copy of /usr/share/doc/rsync/scripts/rrsync.gz somewhere
useful and make it the forced command for the SSH key used by your
backup system.  This works well.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list