diff --git a/98_backup.pm b/98_backup.pm index 7d1ecfa..08aac50 100644 --- a/98_backup.pm +++ b/98_backup.pm @@ -236,10 +236,10 @@ sub createArchiv($$$) { my $cmd = ''; if ( !defined($backupcmd) ) { if ( lc($symlink) eq 'no' ) { - $tarOpts = 'cf'; + $tarOpts = 'cfz'; } else { - $tarOpts = 'chf'; + $tarOpts = 'chfz'; } # prevents tar's output of "Removing leading /" and return total bytes of