Skip to content
Snippets Groups Projects
Commit 1500913c authored by Andy Yates's avatar Andy Yates
Browse files

Letting the config file specify just SQL dumps

parent 37fbcb34
No related branches found
No related tags found
No related merge requests found
......@@ -503,6 +503,9 @@ sub _set_opts_from_hostname {
#Setup default connection params
$o->{host} = $host;
$o->{port} = $settings->{port};
#Set just SQL dump mode only if specified in cfg file
$o->{sql} = $settings->{sql} if $settings->{sql};
if (!$o->{databases}) {
my $opts_pattern = $o->{pattern};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment