[freeside-commits] branch FREESIDE_3_BRANCH updated. fb48167caac4b049e455531b9a3888dcd8b46c2e
Ivan
ivan at 420.am
Mon Aug 14 21:49:42 PDT 2017
The branch, FREESIDE_3_BRANCH has been updated
via fb48167caac4b049e455531b9a3888dcd8b46c2e (commit)
from c63641b613e227a220b432191fe0981a0337e2ef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fb48167caac4b049e455531b9a3888dcd8b46c2e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Aug 14 21:49:41 2017 -0700
exclude big non-operational history tables from backup
diff --git a/FS/FS/Cron/backup.pm b/FS/FS/Cron/backup.pm
index 6e172ae..1f62186 100644
--- a/FS/FS/Cron/backup.pm
+++ b/FS/FS/Cron/backup.pm
@@ -25,7 +25,7 @@ sub backup {
my $ext;
if ( driver_name eq 'Pg' ) {
- system("pg_dump -Fc $database >/var/tmp/$database.Pg");
+ system("pg_dump -Fc -T h_cdr -T h_queue -T h_queue_arg $database >/var/tmp/$database.Pg");
$ext = 'Pg';
} elsif ( driver_name eq 'mysql' ) {
system("mysqldump $database >/var/tmp/$database.sql");
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Cron/backup.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list