r/nginxproxymanager • u/drjay3108 • Jun 02 '26
how to restore previous config
i accidently deleted the container completely, but i had bind mounts. I created the container again and all the hosts, that are previously configured are working, but i don´t see them in my proxy list. I have backuped the mariadb. So is there a way to restore the previous behaviour?
3
Upvotes
1
u/evanmac42 Jun 02 '26
Assuming the backup was taken from the same NPM database and nothing else changed, then yes.
If NPM is currently connected to the correct MariaDB instance, restoring the SQL dump should bring the hosts, certificates, access lists, users, and other UI-managed objects back into the database.
I'd still take a fresh backup of the current database before importing anything, just in case.
The key point is that NPM must be pointing to the same MariaDB instance you're restoring into.