[ixpmanager] Upgrade 5.2.0

Barry O'Donovan barry.odonovan at inex.ie
Mon Mar 23 20:24:27 GMT 2020



Shahab Vahabzadeh wrote on 23/03/2020 20:07:
> Would u please tell me for a secure backup which files and which 
> databases I need to backup? Maybe full database + some files like .env 
> or cron files?

It's not something I generally do as we have our production servers 
backed up nightly. But:

Assuming you have it installed in /srv/ixpmanager then I'd:


1. put it in maintenance mode as Dominik suggests;

2. take a MySQL dump:

mysqldump --lock-tables --quick --skip-events --triggers -h <host> -u 
<username> -p<password> ixpmanager | bzip2 -9 
 >/srv/ixpmanager/db-20200323.sql.bz2

3. rsync the directory:

rsync -a /srv/ixpmanager/ /srv/ixpmanager-20200323

4. Upgrade


Your rollback then is a database restore and just shift the directories 
around:


mv /srv/ixpmanager /srv/ixpmanager-failed
mv /srv/ixpmanager-20200323 /srv/ixpmanager



  - Barry







More information about the ixpmanager mailing list