Results 1 to 4 of 4
Hi,
I want to use rsync to make backups of my server. What flags do i need to use with rsync to make sure that i keep the original owner ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-07-2011 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 6
Keep permissions with rsync?
Hi,
I want to use rsync to make backups of my server. What flags do i need to use with rsync to make sure that i keep the original owner and group permissions on those files and folder? And if i want to resore them, what flags should i then use?
Thanks
- 03-07-2011 #2Note: you can sync by uid/gid or by user/groupCode:
man rsync
You must always face the curtain with a bow.
- 03-07-2011 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 6
- 03-07-2011 #4
-a is *probably* what you want.
But rsync is a very versatile tool, hence the many options.
As you have read the manual, my advise would be to test the line first.You must always face the curtain with a bow.


Reply With Quote

