forked from norman/fusionpbx-install.sh-github-mirror
pgpassword security and conflict avoidance (#442)
This commit is contained in:
3
debian/resources/backup/fusionpbx-backup
vendored
3
debian/resources/backup/fusionpbx-backup
vendored
@@ -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
|
||||
|
||||
@@ -175,3 +175,6 @@ fi
|
||||
|
||||
#completed message
|
||||
echo "Maintenance Completed";
|
||||
|
||||
# pgpassword security and conflict avoidance
|
||||
unset PGPASSWORD
|
||||
|
||||
Reference in New Issue
Block a user