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

Re: [cobalt-developers] Restoring a RAQ4r



"Dico Reyers" <dico@xxxxxxxxxxxxxxxx> wrote:
> When I was talking to the Cobalt support people (very friendly folk) today
> I asked them how to properly restore my raq4r in case something did
> happen.  This wasn't the reason of my call, but I thought that I'd inquire
> because the manual has a lot of exclamation points around this subject.
>
> They told me that I would have to restore my Raq (with the restore
disk)...
> then add all the domain names I was hosting (in the exact same order as I
> entered them the first time), then add all the users again (exactly the
> same as the first time), then add all the information to the DNS server
> again (in the proper order once again)

I can't think of a reason why the DNS has to be added in any particular
order.  Perhaps there was some miscommunication on this issue or some
misunderstanding on their end.

> The tech person was very adamant about setting up all domain names and
> users EXACTLY in the SAME ORDER as I had done the first time.  This seems
> hard for a person to remember... especially if you had 100 accounts.  Can
> anyone shed some light on this for me?

This will tell you your sites and their site number, which corresponds to
the order they were installed:

ls /home/sites | grep /home/sites/site

This will tell you the order the users were created:

more /etc/passwd

The uid (user id) is the third field (fields are separated by colons ":").
Each time a user is created the user is assigned a uid one greater than that
of the highest uid created using the Cobalt GUI.

*** IMPORTANT NOTE ***
If you have deleted sites or users there will be gaps in the numerical
sequences of the user uids and the site numbers.  I don't use the Cobalt
backup system, but I imagine this could complicate things if Cobalt's backup
expects sites and users to be created with the site #s and uids they had
previously.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/