This is a step by step guide for NetVizura application restore.
Restore procedure will restore the application's state previously saved by backup, such as database and various archive files.
Stop tomcat server:
systemctl stop tomcat8 |
Make sure you have performed Backup procedure and saved all resulting files needed to restore your database and application properly. Also, make sure that you have installed same version of NetVizura application, as the one you have saved during backup. |
You can follow step-by-step installation instructions on NetVizura Ubuntu Installation link.
First go to the folder in which you have copied database backup file.
Perform next commands:
sudo -u postgres dropdb netvizura sudo -u postgres createdb netvizura sudo -u postgres psql netvizura < netvizura.dump |
These commands should recreate database and import backup into it.
Copy netvizura-opt.tgz file to the /opt folder and cd /opt to it:
sudo tar -pzxvf netvizura-opt.tgz |
Place netvizura-var.tgz file to the /var/lib folder and cd /opt to it:
sudo tar -pzxvf netvizura-var.tgz |
Please make sure that path to NetFlow archive directory is correct. |
Finally, start Tomcat service.
systemctl start tomcat8 |
After the migration, the license will be locked. You must contact us with current installation code, and receive unlock code from us.
In our backup article, opt file was called netvizura-opt.tgz |