We help IT Professionals succeed at work.
Get Started

how to preserve file permissions/ownership - rsync

1,971 Views
Last Modified: 2013-12-02
Hi guys,

I have a dilemma.

I have a big storage server, around 5.5 tb raid6. I have it NFS mounted to a front end server, and i have several customers backing up data there. The server runs centos 5.4 - 64 bit, and most customers use rsync to backup their data over.

Now i have a request that file/folder permissions and ownership to be retained. I don't know how to work this out, hence when transferring the data from the local to the remote server, will result in the copied files having ownership of the username that is on the remote server.

Can you give me some insights on how to work this out ?

Thanks in advance
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013
Commented:
This problem has been solved!
Unlock 2 Answers and 10 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE