[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Moving Backup Of Site To Another Server
- Subject: RE: [cobalt-users] Moving Backup Of Site To Another Server
- From: "Gavin Nelmes-Crocker" <cobalt@xxxxxxxxxxxxxxxx>
- Date: Sat Jun 29 06:32:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Hi Gavin could you explain the cmuExport & Import. This
> obviously sounds like what I need to do.
>
> Can you explain or point me to information on achieving this.
For the benefit of the archive CmuExport - exports all of an individual
site or all of the sites on a RaQ to include data,mail,users,passwords
etc and cmuImport does the reverse.
More can be found on
http://sunsolve.sun.com/patches/cobalt/migration.html where you get the
pkgs to install afterwards if you do man cmuImport or cmuExport you will
get the man pages that explain the switches you need to use.
basically to export an individual site you do /usr/local/sbin/cmuExport
-n www.example.com -v this will place the site in
/home/cmu/www.example.com and give you verbose info while it does it
then simply tar that directory up with tar cvfz www.example.com.tgz
/home/cmu/www.example.com/
then scp the resulting file to the new server with scp
www.example.com.tgz root@newseverip:/home/cmu/
on the new server
untar with tar xvfz www.example.com.tgz
then cmuImport -d /home/cmu/
If you want you can edit the cmu.xml file to change the ip and then
import.
Notes - current known issue with 2.27 if the username has '.' in it then
the mail doesn't get created properly check in the archives for a
solution. I believe there will be a new version of CMU coming out soon.
This is not an exhaustive list merely a pointer to get you started there
are other switches and I think a couple of other bugs but in the main it
works very well, a useful addition to this is the backup script at
http://www.neuhaus-internet.de/cobalt/raqbackup/ which runs the backup
late at night and can ftp it to another server.
Hope this helps
Regards
Gavin
--
Gavin Nelmes-Crocker <developers@xxxxxxxxxxxxxxx>
Sun Cobalt RaQ Consulting and High Availability Systems
www.cobaltworld.com located in the United Kingdom
Mobile +44 7860 181700