On Sat, May 28, 2005 at 03:33:51PM -0300, Pupeno wrote

> My question is, how do I run a command like this:
> rsync --verbose --checksum --archive --partial --progress --rsh="ssh" [EMAIL 
> PROTECTED]:/var/ ./var/
> having root-privileges on the server.

  I think you're going about it the wrong way.

  - can you set up a cron job on the remote machine to push the backup
    to your machine (or where-ever)?  The cron job can run the backup as
    root, so you wouldn't need to worry about permissions.

  - Google on the search term
    +ssh +"remote backup"
    for a whole bunch of examples.

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to