[freeside-commits] branch FREESIDE_4_BRANCH updated. f03f14e4e1d3a9010458d76a545a7d519f526831

Ivan ivan at 420.am
Mon Aug 14 21:49:40 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  f03f14e4e1d3a9010458d76a545a7d519f526831 (commit)
      from  892fd936fc50276635a35a4dcb6d9ff0510dddc4 (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 f03f14e4e1d3a9010458d76a545a7d519f526831
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Aug 14 21:49:39 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 7d868c8..5276565 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