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

RE: [cobalt-users] Backup again!



> Gavin I disagree. Here's why:
> When you use the CMU utility, it does *not* put the sites back in the
> same place that they were. For example, if www.foobar.com was in
> folder /home/site16 before, it won't be site16 once the CMU gets done
> - it will be some other folder.
> Then when you restore the sites using your big tar file, you're going
> to be putting the wrong domain's files into the new/current site16
> folder.

Carrie the big tar file is to tar up what CMU creates i.e. /home/cmu/* where
* is the directory CMU creates normally called the same as the RaQ's
hostname.  This way when you untar it and do a cmuImport everything goes
back not necessarily to the same site number but CMU puts it all in the
right place i.e. site data in correct site.

You do still have the problem with any hard coded scripts but then it is
possible to write them another way most of the time to get round that.

Believe me this does work its the only way I trust at the moment.  In my
view a backup means the ability to have a box go down replace it ftp get a
tar file untar it and cmuImport and be up and running in about 30minutes
The only issue that I'm left with my method is that CMU doesn't preserve the
file permissions which can cause a problem.

I'm working on a script at the moment hopefully with a UI to help with this.

Gavin