Commit ecf6675c authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-15713 mariabackup: throw warning, if --stream is used without --backup

parent 37f24806
...@@ -6699,6 +6699,10 @@ int main(int argc, char **argv) ...@@ -6699,6 +6699,10 @@ int main(int argc, char **argv)
xtrabackup_incremental = NULL; xtrabackup_incremental = NULL;
} }
if (xtrabackup_stream && !xtrabackup_backup) {
msg("Warning: --stream parameter is ignored, it only works together with --backup.\n");
}
if (!xb_init()) { if (!xb_init()) {
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
Markdown is supported
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