[freeside-commits] branch FREESIDE_3_BRANCH updated. c02a46631f58e7cfe64cd115c6b0fd108595f7c5

Ivan Kohler ivan at freeside.biz
Sat Aug 15 08:32:59 PDT 2020


The branch, FREESIDE_3_BRANCH has been updated
       via  c02a46631f58e7cfe64cd115c6b0fd108595f7c5 (commit)
      from  bbbf74832209212a7556df8109844215d3f46eea (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 c02a46631f58e7cfe64cd115c6b0fd108595f7c5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Aug 15 08:32:58 2020 -0700

    skip RT sessions table

diff --git a/FS/FS/Cron/backup.pm b/FS/FS/Cron/backup.pm
index 1f621868f..2ffbda0b3 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 -T h_cdr -T h_queue -T h_queue_arg $database >/var/tmp/$database.Pg");
+    system("pg_dump -Fc -T h_cdr -T h_queue -T h_queue_arg -T sessions $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