Bugs fixed
gitea/vn-vmware/pipeline/head This commit looks good
Details
gitea/vn-vmware/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ad0c2b1cb2
commit
c9d438c605
|
@ -1,4 +1,4 @@
|
|||
vn-vmware (1.1.23) stable; urgency=low
|
||||
vn-vmware (1.1.24) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -540,7 +540,7 @@ sub backup_machine() {
|
|||
}
|
||||
|
||||
$pigz_processes = max(1, $pigz_processes);
|
||||
my $tar_command = "tar -I \"pigz -p $pigz_processes\" -c -C \"$local_tmp_dir\" .";
|
||||
my $tar_command = "tar -I \"pigz -p $pigz_processes\" --create --sparse -C \"$local_tmp_dir\" .";
|
||||
|
||||
if (defined($passphrase_file)) {
|
||||
my $gpg_command = "gpg -c --passphrase-file \"$passphrase_file\" --batch --yes -o \"$tmp_file\"";
|
||||
|
@ -822,8 +822,8 @@ sub replicate_backups() {
|
|||
log_message $rsync_command;
|
||||
|
||||
unless ($test) {
|
||||
my $tar_status = system($rsync_command);
|
||||
unless ($rsync_command == 0) {
|
||||
my $rsync_status = system($rsync_command);
|
||||
unless ($rsync_status == 0) {
|
||||
die "An error occurred while replicating backups.";
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue