Hi,
The restore is little more complicated, It normally involves the messaging of the passwd, shadow, group, gshadow files as you have an new install the users made while installing (system and pplication) sometime have different UID and GID's
you need to cut the ISPC users out and append that manually to the above files.
The rest is rather easier, tar xvfz the tar files and swop them inplace with the existing. e.g.
tar the var backup to some place and
Code:
mv /var/www /var/www.old
then
Code:
mv /someplace/var/www /var/www
the problem all have is to restore the sql data. this is actually very strait forward using this syntax
Code:
mysql -u root -p -e "source /home/backup/hera-2007-Friday-mysql.sql" mysql
mysql -u root -p -e "source /home/backup/hera-2007-Friday-db_ispconfig.sql" db_ispconfig
Use special care in restoring the mysql database, it might have desasterous results. This database is backed up in case of "Total desasters" This database keep the management info of all the databases including the security of the other databases such as db_ispconfig. Another this is before restoring the databases you need to create and empty one.
to log in and then
Code:
create database xyz;
and quit, rinse and repeat for each database you have. Also remember to "correct" the database passwords by changing them in the ISPC config {look for this in the ISPC Site, Options) were you originally created it.
also see
Total Desaster Posting Maybe this posting actually have newer information and include the automatic login between source and destination servers, via ssh using certificates.
Recent comments
5 hours 54 min ago
12 hours 35 min ago
16 hours 26 min ago
18 hours 4 min ago
1 day 2 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 20 hours ago
1 day 21 hours ago