[CentOS] restoring using rysnc

Thu Dec 31 22:59:24 UTC 2009
robert mena <robert.mena at gmail.com>

Hi,

My backup server (B) has a /backup/home and I'd like to restore
/backup/home/userX to /home/userX in my server A

I am trying to do with in the server where I want to restore.

rsync -e ssh -avzp -R --exclude "*.journal"
backup_server:/backup/home/userX/ /home/userX

But it is creating a /home/userX/backup/home/userX

What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091231/6da78c89/attachment-0004.html>