Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 4301688

Browse files
committed
fix: backup destination not found
1 parent 5a4a135 commit 4301688

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AppBundle/Service/Backup/BackupService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function makeDuplicityCall(Host $host, Backup $backup)
8282

8383
$exec = $session->getExec();
8484

85-
$result = $exec->run('duplicity --no-encryption /tmp/' . $backup->getManualBackupName() . ' ' . $destination->getDestinationText($backup->getManualBackupName()));
85+
$result = $exec->run('duplicity --no-encryption /tmp/' . $backup->getManualBackupName() . ' ' . $backup->getDestination()->getDestinationText($backup->getManualBackupName()));
8686

8787
if (strpos($result, 'Error') !== false) {
8888
return substr($result, strpos($result, 'Error'));

0 commit comments

Comments
 (0)