Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
dumper: Don't check size when restoring to local VMDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Jan 25, 2016
1 parent 43c8f64 commit 119581f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vadp_dumper/bareos_vadp_dumper.cpp
Expand Up @@ -1452,7 +1452,7 @@ void usage(const char *program_name)
fprintf(stderr, "Usage: %s [-d <vmdk_diskname>] [-f <vixdisklib_config] [-s sectors_per_call] [-t disktype] [-CcDlMmRSv] dump <workfile> | restore <workfile> | show\n", program_name);
fprintf(stderr, "Where:\n");
fprintf(stderr, " -C - Create local VMDK\n");
fprintf(stderr, " -c - Check size of VMDK\n");
fprintf(stderr, " -c - Don't check size of VMDK\n");
fprintf(stderr, " -D - Cleanup on Disconnect\n");
fprintf(stderr, " -d - Specify local VMDK name\n");
fprintf(stderr, " -f - Specify VDDK config file\n");
Expand Down Expand Up @@ -1480,6 +1480,10 @@ int main(int argc, char **argv)
switch (ch) {
case 'C':
create_disk = true;
/*
* If we create the disk we should not check for the size as that won't match.
*/
check_size = false;
break;
case 'c':
check_size = false;
Expand Down

0 comments on commit 119581f

Please sign in to comment.