Migrating From one Ubuntu machine to another

BACKUP DATABASE ON OLD SYSTEM FIRST

Go to terminal

cd ~;

sudo -s;

wget -O db-backup.sh https://raw.githubusercontent.com/deforay/intelis/master/scripts/db-backup.sh

sudo chmod u+x db-backup.sh;

sudo ./db-backup.sh;

RESTORE DATABASE AND INSTALL VLSM ON NEW SYSTEM

Ensure new system is Ubuntu 22.04 or above (ONLY LTS)

Copy the backed up file from flash disk or CD to the Desktop folder of the new computer

then in the terminal run the following commands one by one.

cd ~/Desktop;

sudo -s;

rm -f *.sql

gzip -d vlsm-*.sql.gz && mv vlsm-*.sql vlsm.sql

wget -O setup.sh https://raw.githubusercontent.com/deforay/intelis/master/scripts/setup.sh

chmod +x setup.sh;

./setup.sh  --db  vlsm.sql

rm setup.sh;

exit; exit;


Enter the mysql password and STS URL correctly when prompted.

VLSM Setup


Revision #6
Created 15 April 2024 10:15:18 by Amit
Updated 5 September 2025 12:55:46 by Amit