[Spce-user] Reinstall SPCE and keep data (db, users, subscribers...)

Jiri Ptacnik ptakjura at gmail.com
Tue Mar 26 04:01:12 EDT 2024


Hi,

is there any recommended practice how to reinstall SPCE and keep vital data?

If something goes wrong with updates, upgrades, mistakes... and you
are some time in that situation (too long to go version back for
example with snapshot). Clean SPCE of the same version and move data
could be the best approach...

Goal: Clean working SPCE, but with old users, subscribers, domain and
peering settings..., CDRs.

So how about this:

- maintenance mode
- backup /etc/ngcp-config/
- backup /home/
- backup /root/
- backup /ngcp-data/
- backup MySQL databases

- clean install of the same SPCE version
- restore backed folders
- not sure about /ngcp-data in term of MySQL (restore on file or
import level) and may be other unwanted corrupted configs in that
folder
- not sure about Redis/KeyDB restoring - if there are any vital data,
or just temp data

thanks

JiriP



More information about the Spce-user mailing list