mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-04 09:40:34 +00:00 
			
		
		
		
	fix pbs backups of templates/vms without disks
fingerprint is now given with an environment variable not as parameter Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
		
							parent
							
								
									35171ddb0d
								
							
						
					
					
						commit
						77b24c6267
					
				@ -356,6 +356,7 @@ sub archive_pbs {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	local $ENV{PBS_PASSWORD} = $password;
 | 
			
		||||
	local $ENV{PBS_FINGERPRINT} = $fingerprint if defined($fingerprint);
 | 
			
		||||
	my $cmd = [
 | 
			
		||||
	    '/usr/bin/proxmox-backup-client',
 | 
			
		||||
	    'backup',
 | 
			
		||||
@ -364,7 +365,6 @@ sub archive_pbs {
 | 
			
		||||
	    '--backup-id', "$vmid",
 | 
			
		||||
	    '--backup-time', $task->{backup_time},
 | 
			
		||||
	];
 | 
			
		||||
	push @$cmd, '--fingerprint', $fingerprint if defined($fingerprint);
 | 
			
		||||
 | 
			
		||||
	push @$cmd, "qemu-server.conf:$conffile";
 | 
			
		||||
	push @$cmd, "fw.conf:$firewall" if -e $firewall;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user