Move 1.9.022321 to Artica 2.x without lost settings


If you need to use the new 2.x version with installing a new Artica server without lost your settings, follow these procedures.

Backup settings.

  • Open an SSH session to your old 1.9x server.
  • Backup MySQL databases.
mysqldump --force -u root -S /var/run/mysqld/squid-db.sock squidlogs >/home/squidlogs.sql
mysqldump --force -u root -S /var/run/mysqld/mysqld.sock artica_backup >/home/artica_backup.sql
  • Backup Artica settings
cd  /etc/artica-postfix/settings/Daemons
tar -czf /home/Daemons.tar.gz  *
Copy backuped files to the new 2.x appliance.
scp /home/squidlogs.sql root@YOURSERVER:/home/
scp /home/artica_backup.sql root@YOURSERVER:/home/
scp /home/Daemons.tar.gz root@YOURSERVER:/home/

Restore settings

Open an SSH session to your new 2.x server.

  • Restore MySQL databases
mysql --force -u root -S /var/run/mysqld/squid-db.sock squidlogs < /home/squidlogs.sql
mysql --force -u root -S /var/run/mysqld/mysqld.sock artica_backup </home/artica_backup.sql
  • Restore Artica Settings.
tar xf /home/Daemons.tar.gz -C /etc/artica-postfix/settings/Daemons/

Open the 2.x console and modify the Networks settings.

 

Leave a comment