[vhffs-dev] [1291] Only dump ACTIVATED mysql and pgsql databases.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1291
Author:   gradator
Date:     2008-10-25 16:48:25 +0200 (Sat, 25 Oct 2008)

Log Message:
-----------
Only dump ACTIVATED mysql and pgsql databases.

Modified Paths:
--------------
    trunk/vhffs-robots/src/mysql_dump.pl
    trunk/vhffs-robots/src/pgsql_dump.pl


Modified: trunk/vhffs-robots/src/mysql_dump.pl
===================================================================
--- trunk/vhffs-robots/src/mysql_dump.pl	2008-10-19 01:01:28 UTC (rev 1290)
+++ trunk/vhffs-robots/src/mysql_dump.pl	2008-10-25 14:48:25 UTC (rev 1291)
@@ -49,7 +49,7 @@
 
 Vhffs::Robots::lock( $vhffs , "dumpmysql" );
 
-my $objs  = Vhffs::Services::Mysql::getall( $vhffs  );
+my $objs  = Vhffs::Services::Mysql::getall( $vhffs , Vhffs::Constants::ACTIVATED , undef , undef );
 my $mysqlconf = $vhffs->get_config->get_service('mysql');
 
 my $obj;

Modified: trunk/vhffs-robots/src/pgsql_dump.pl
===================================================================
--- trunk/vhffs-robots/src/pgsql_dump.pl	2008-10-19 01:01:28 UTC (rev 1290)
+++ trunk/vhffs-robots/src/pgsql_dump.pl	2008-10-25 14:48:25 UTC (rev 1291)
@@ -48,7 +48,7 @@
 
 Vhffs::Robots::lock( $vhffs , "dumppgsql" );
 
-my $objs  = Vhffs::Services::Pgsql::getall( $vhffs  );
+my $objs  = Vhffs::Services::Pgsql::getall( $vhffs , Vhffs::Constants::ACTIVATED , undef , undef );
 my $pgsqlconfig = $vhffs->get_config->get_service('pgsql');
 
 my $obj;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/