Dear Sir,
I have a question about rsync restore process.
I backup data in test_laptop folder in my laptop to the server. And I use
another PC to get data back from server, and the folder is named with
test_pc. But rsync is going to create a folder test_laptop in test_pc. I
just wanna everything in test_laptop to be exactly in test_pc. Is there any
option available?

Please help me! An modification of below commands are appreciated! Thanks.

I use following command to back current data to server.
rsync  -avzrtopg --progress --delete --backup
--backup-dir=Increment/2000-00-03-180303
"/cygdrive/d/backup_test/back/test_laptop/" ad...@192.168.2.23::admin_test

And use following command to restore data back to another folder
rsync  -avzrtopg --progress ad...@192.168.2.23::admin_test
"/cygdrive/d/backup_test/back/test_pc"


Best Regards  
 
Daniel Li 
Tel: +86-21-58966996-1400  Fax: +86-21-58967931 
42nd building,1387 Zhang Dong Rd, Pudong New Area, Shanghai, P.R. China
201203

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to