HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Preserving ownership during rsync
Operating System - HP-UX
1833788
Members
2318
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 10:29 PM
05-11-2002 10:29 PM
Preserving ownership during rsync
Is there way which rsync could preserve the ownership of filesystems transferred between remote sites, having different NIS servers? Owners of a filesystem exists on both remote sites, and have different uid, and possibly the same or different uname on both sites.
If there is an option, could someone show it to me, please?
If there is an option, could someone show it to me, please?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2002 12:59 AM
05-12-2002 12:59 AM
Re: Preserving ownership during rsync
Chern
I have never used rsync,but have found the following webpage
http://rsync.samba.org
Have a look , it has an FAQ area , plus documentation
Regards
Steve
I have never used rsync,but have found the following webpage
http://rsync.samba.org
Have a look , it has an FAQ area , plus documentation
Regards
Steve
take your time and think things through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2002 01:06 AM
05-12-2002 01:06 AM
Re: Preserving ownership during rsync
Steve,
Thanks.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 08:12 AM
05-13-2002 08:12 AM
Re: Preserving ownership during rsync
I used RDIST to do system syncs on a few of my systems. With the -M option , it will Check ownership/groups and make sure they are the same.
I have a .rdistfile on each host with the parm's and files/dirs I want synced, then in cron I have the times I want it to sync.
Here's a modified version of what I use. It emails the sync results. :)
.rdistfile
------------------------------
DIR = ( /dir_to_sync )
USERS = ( bmarkus@rcoe.k12.ca.us )
${DIR} -> ${HOSTS}
install -R;
notify ${USERS};
-------------------------------
Here's what I threw in cron
--------------------------------
0,15,30,45 * * * * /usr/bin/rdist -f ~userdir/.rdistfile 2>&1
Hope this helps
Brian.
I have a .rdistfile on each host with the parm's and files/dirs I want synced, then in cron I have the times I want it to sync.
Here's a modified version of what I use. It emails the sync results. :)
.rdistfile
------------------------------
DIR = ( /dir_to_sync )
USERS = ( bmarkus@rcoe.k12.ca.us )
${DIR} -> ${HOSTS}
install -R;
notify ${USERS};
-------------------------------
Here's what I threw in cron
--------------------------------
0,15,30,45 * * * * /usr/bin/rdist -f ~userdir/.rdistfile 2>&1
Hope this helps
Brian.
When a sys-admin say's maybe, they don't mean 'yes'!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP