bug fix: remote restore of incremental backups

This commit is contained in:
Usman Nasir
2020-07-28 22:33:08 +05:00
parent 2c5439007f
commit 463cf814c3

View File

@@ -432,6 +432,11 @@ class IncJobs(multi.Thread):
self.reconstruct = self.extraArgs['reconstruct'] self.reconstruct = self.extraArgs['reconstruct']
if self.reconstruct == 'remote': if self.reconstruct == 'remote':
self.jobid = JobSnapshots.objects.get(pk=jobid)
self.findRestorePath()
self.jobid = self.extraArgs['jobid'] self.jobid = self.extraArgs['jobid']
self.backupDestinations = self.extraArgs['backupDestinations'] self.backupDestinations = self.extraArgs['backupDestinations']
self.passwordFile = self.extraArgs['password'] self.passwordFile = self.extraArgs['password']