pgpassword security and conflict avoidance (#442)

This commit is contained in:
chansizzle
2025-07-05 16:13:33 -06:00
committed by GitHub
parent 08fdebd1bb
commit 0c6aeb216b
5 changed files with 15 additions and 0 deletions

View File

@@ -25,3 +25,6 @@ pg_dump --verbose -Fc --host=$db_host --port=$db_port -U fusionpbx fusionpbx --s
#tar -zvcf /var/backups/fusionpbx/backup_$now.tgz /var/backups/fusionpbx/postgresql/fusionpbx_pgsql_$now.sql /var/www/fusionpbx /usr/local/freeswitch/scripts /usr/local/freeswitch/storage /usr/local/freeswitch/recordings /etc/fusionpbx /usr/local/freeswitch/conf /usr/local/freeswitch/sounds/music/
echo "Backup Completed"
# pgpassword security and conflict avoidance
unset PGPASSWORD

View File

@@ -175,3 +175,6 @@ fi
#completed message
echo "Maintenance Completed";
# pgpassword security and conflict avoidance
unset PGPASSWORD