From a541692ddcc3371809445fc8c40e403a7d65ae61 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 15 Feb 2023 20:11:31 +0000 Subject: [PATCH] update of table categories in ADMIN_backup.pl script git-svn-id: svn://192.168.202.10@3683 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/ADMIN_backup.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/agc_2-X/trunk/bin/ADMIN_backup.pl b/agc_2-X/trunk/bin/ADMIN_backup.pl index 56ecef0f..2307055a 100644 --- a/agc_2-X/trunk/bin/ADMIN_backup.pl +++ b/agc_2-X/trunk/bin/ADMIN_backup.pl @@ -5,7 +5,7 @@ # DESCRIPTION: # Backs-up the asterisk database, conf/agi/sounds/bin files # -# Copyright (C) 2021 Matt Florell LICENSE: AGPLv2 +# Copyright (C) 2023 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # @@ -27,6 +27,7 @@ # 191119-1649 - Fix for sounds symlinks with Asterisk 13, issue #1149 # 191119-1658 - Added --db-remote option to specify '--host' parameter for mysqldumpdump # 210817-1956 - Added --db-leads-only option to dump only the vicidial_list table +# 230215-1456 - update of table categories # $secT = time(); @@ -454,11 +455,11 @@ if ( ($without_db < 1) && ($conf_only < 1) ) { $archive_tables .= " $aryA[0]"; } - elsif ($aryA[0] =~ /_log|server_performance|vicidial_ivr|vicidial_hopper|vicidial_manager|web_client_sessions|imm_outcomes/) + elsif ($aryA[0] =~ /_log|server_performance|vicidial_ivr|vicidial_hopper|vicidial_manager|web_client_sessions|imm_outcomes|_counts|_sip$|_recent|_queue$|_urls$/) { $log_tables .= " $aryA[0]"; } - elsif ($aryA[0] =~ /server|^phones|conferences|stats|vicidial_list$|^custom/) + elsif ($aryA[0] =~ /server|^phones|conferences|stats|vicidial_list$|^custom|_email_list|_email_attachments/) { $regular_tables .= " $aryA[0]"; }