Todd Cary wrote:
Thanks to the encouragement of some people on this list, I am using rsync to synchronize two servers: one is a backup to the other in case the primary one fails. By hand, I inserted the names of the users on the primary server into the backup server. So, now all works well.
/usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/
My question is what would happen if the users were not on the backup
They just get set to the UID/GID of the source server.
server?
Is there anyway to have the users automatically inserted into passwd and group?
I'd investigate NIS to fix this issue.
Thanks!
Mark Schoonover IS Manager American Geotechnical - California, Nevada and Arizona V-> 858.450.4040 F-> 714.685.3909 C-> 858.472.3816
On Wednesday 24 January 2007 13:33, Mark Schoonover wrote:
Todd Cary wrote:
Thanks to the encouragement of some people on this list, I am using rsync to synchronize two servers: one is a backup to the other in case the primary one fails. By hand, I inserted the names of the users on the primary server into the backup server. So, now all works well.
/usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/
My question is what would happen if the users were not on the backup
They just get set to the UID/GID of the source server.
I've used rsync to backup lots of data from a web server at an ISP. I want to make it available read-only to certain staff via SMB, but ran into posix permissions problems. Is there a way to simultaneously mount a partition without ownership properties, EG: as if it were a FAT partition?
Also, if you mount the same filesystem twice, is there any problem with that?
-Ben
On Wed, 2007-01-24 at 16:30 -0800, Benjamin Smith wrote:
I've used rsync to backup lots of data from a web server at an ISP. I want to make it available read-only to certain staff via SMB, but ran into posix permissions problems. Is there a way to simultaneously mount a partition without ownership properties, EG: as if it were a FAT partition?
What about monting it as read-all of all users?? You can specify a umask during mounting.
Also, if you mount the same filesystem twice, is there any problem with that?
sure.. NOt an issue.