Hi Vincent, On Thu, 2003-10-02 at 00:54, Vincent wrote: > I have a fresh new midgard (1.5.0) server ready for > a site that has been developed on a 1.44/Aegir 1.0rc2 > platform. I know I'm supposed to use repligard to export > the site from the old location. Since I have data already > do I need to install midgard-data on the new server. I was thinking > not but wanted to check with you guys before going any further.
You don't need midgard-data, but you do need the empty database
structure. This structure is available in empty.sql in the data package.
1. create a new database
mysqladmin create midgard
2. create a midgard user
mysql -u root -p mysql
insert into user (Host,User,Password) values
('localhost','midgard',password('yourpasswordhere');
insert into db values ('localhost','midgard','midgard','Y',....,'Y');
[all 'Y' is overkill, Drop_priv should be 'N' for example, you need
at least select, insert, update and delete privileges]
flush privileges;
3. edit your repligard.conf to reflect the username/password info for
the _database_
4. repligard -c <your-repligard.conf> -a -i
<yourrepligarddumptoimport.xmlgz>
Because the database you import into is empty, repligard will disregard
the information in the <login username="someuser" password="somepass" />
element.
wkr,
--
Envida http://www.envida.net/
Armand A. Verstappen Graadt van Roggenweg 328
[EMAIL PROTECTED] 3531 AH Utrecht
tel: +31 (0)30 298 2255 Postbus 19127
fax: +31 (0)30 298 2111 3501 DC Utrecht
signature.asc
Description: This is a digitally signed message part
