Re: [BackupPC-users] Different UID numbers for backuppc on 2 computers
2011-07-11 18:19:26
On 7/11/2011 4:55 PM, Timothy Murphy wrote:
> I want to archive backuppc on machine A to machine B.
> (Both are running CentOS-5.6 .)
> The problem is that backuppc has different UIDs on the 2 machines:
> on A it is 101, on B it is 102.
What do you mean by 'archive'?
> Now when I NFS mount /archive on machine B on /archive on machine A
> I am told that /archive belongs to avahi-autoipd ,
> which has UID 102 on machine A.
It shouldn't matter to the machine exporting the nfs directory whether
there is a local user with the same uid or not. Or are you trying to
access the files from both machines?
> This seems to prevent backuppc from archiving onto /archive .
All you should need is write access (which might be from having the same
owner at the top of the tree). If you permit root nfs access from the
backuppc client you can arrange the proper permissions from there.
> Is there any simple way of changing a UID
> (together with all the files it owns)?
You can't do both at once. You can change the uid in the passwd file
but your real problem is that some other package took the uid you want.
> Alternatively, is there a way of telling backuppc to ignore the UIDs?
No, but if you really only want one instance of backuppc running, it
doesn't matter what the nfs-server side thinks about the owner's name.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|