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

Re: [cobalt-users] raqbackup.sh version 2.1



cbtrussell wrote on 24.08.2001:

>>
>> 2.1 - 24.08.2001
>> added support to backup DNS-records

> Daniel - I'm a little confused about how the CMU works in conjunction with
> your script for restoration. Your instructions mention using cmuImport after
> an OS-Restore, but am I correct to assume DNS and mySQL will have to be
> restored manually by admin (me) from the archive file?

Yes, this is true. There will be a restore-script in the near future
but until then you'll have to restore the files manually.

DNS-records (whole /etc/named-directory) are stored in the file
<sourcename>.zones.tar.gz and the mysqldump in <sourcename>.mysqldump.sql
The cmuExport is stored in several *.tar.gz-files (user and site data
e.g. user's mailspool) and *.xml-files (configuration).

Best solution is to ftp to the backup-machine and mget all files from
<backupdirectory>/<sourcename>. Then do a "cmuImport -d
/directory/to/backupfiles" on the restored machine. After that type
"tar zxvf <sourcename>.zones.tar.gz" to extract the dns-records and
copy the extract to /etc/named. AFAIR you'll have to call a cgi-script
to import the record-files to the server-administration (never done
DNS on a RaQ). Last think is to import the MySQL-dump to mysql. Well,
I've done this via PHPMyAdmin but there should be a solution to import
this files via shell, too.

> I'm specifically wondering about the data in PostgreSQL - server
> config data as well as user data. Does the CMU touch this?

CMU touches all site and user configuration so that you can restore
all sites and user data. But I doesn't know for sure if it touches
something like time-setting etc (don't think so).

Regards,
Daniel