[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Equivalencing usernames/ids across computers



On Fri, 14 Oct 2011 13:34:20 +0200, Tony van der Hoff wrote:

(...)

> So, apart from reallocating user names/numbers at this late stage, what
> dou you recommend using to map across the various systems without my
> having to think too hard about it?

What archiving tool are you using to make the backups?

"Tar" allows setting the username and group for the copied data so could 
create a dummy user/group (backup/backup) with a differenet UID/GID to be 
in charge of all of the backup data between the computers and then pass 
that information along with the rutine you use (rsync, tar...) by means 
of, for example, "tar --user backup --group backup ...". 

On the target system(s) -the one(s) that will contain(s) the backup data- 
create different folders to differentiate the source ("/backup/laptop", "/
backup/server", "/backup/vps"...).

To add extra security when using one account for all, you can encrypt the 
backups so only the proper users can read/access the data.

In addition to this, you can also consider "syncing" the files (instead 
copying) from one machine to the rest, so yo will only have to care in 
one central point.

It's just a mix of a bunch ideas O:-)

Greetings,

-- 
Camaleón


Reply to: