Added ADMIN_backup.pl script to create backups of all essential VICIDIAL and Asterisk files, including MySQL database.

git-svn-id: svn://192.168.202.10@796 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-03-17 04:16:47 +00:00
parent 14a643763b
commit fa38fb18af
4 changed files with 296 additions and 27 deletions
+4
View File
@@ -13,6 +13,7 @@
# 80115-1426 - Added ip_relay scripts for port forwarding
# 80122-0320 - Added build_phones_conf flag to generate phones conf entries from phones table records
# 80227-1536 - Added ip_relay to keepalive list
# 80316-2208 - Added $PATHlogs/archive for backups
#
############################################
@@ -2116,6 +2117,9 @@ if ($WEBONLY < 1)
`chmod -R 0766 $PATHmonitor`;
`chmod -R 0766 $PATHDONEmonitor`;
print "Creating $PATHlogs/archive directory for backups...\n";
`mkdir -p $PATHlogs/archive`;
print "Copying bin scripts to $PATHhome ...\n";
`cp -f ./bin/* $PATHhome/`;