Re: [CentOS] restoring using rysnc

2009-12-31 Thread Joseph L. Casale
>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?

Trailing slashes & `-R`... Rather than repeat what smarter folk wrote better 
than I,
type man rsync, then `/trailing` and give it a look. Then catch the relative 
part
for -R.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] restoring using rysnc

2009-12-31 Thread robert mena
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?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos