This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script location : /srv/bin/config.sh | |
npm_db_name=[npm database container name] # Usually nginx-proxy-manager_db_1 | |
mysql_user=[mysql username] # Usually npm | |
mysql_pass=[mysql password] # Usually npm and set in /srv/nginx-proxy-manager/.env.example | |
mysql_db=[mysql database] # Usually npm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script location : /srv/bin/npm_backup.sh | |
# npm_home : Location of nginx-proxy-manager installation | |
# backup_target : Folder name for backup | |
npm_home=/srv/nginx-proxy-manager | |
backup_target=/media/Backups/nginx-proxy-manager | |
# Import protected variables | |
source /srv/bin/.env | |
# Create Backup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script location : /srv/bin/npm_restore.sh | |
# restore_source : Folder name for restore | |
# npm_home : Location of nginx-proxy-manager installation | |
restore_source=/media/Backups/nginx-proxy-manager | |
npm_home=/srv/nginx-proxy-manager | |
# Import protected variables | |
source /srv/bin/.env | |
# Restore Items |