rsync --archive --one-file-system --hard-links --human-readable --inplace --numeric-ids --link-dest=/home/www.example.com/public_html/ /home/www.example.com/public_html/ /home/test.example.com/public_html/
This is the command I run.
What I got this (after delete some file from test).
6.3G /home/test.example.com 576M /home/www.example.com
- Got problem If any edits done on test that affect on www? what can I do?
- But I want the source will be the www and that will take space.
- Is there any problem with what I currently have? Because I can delete/modify the files/folders in test site or can delete entire dir.
- I don't care anything happen on test but care if happen on www.