mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-10 08:37:02 +00:00
aio-interface: handle SSH key authorization error explicitly in remote backup setup
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
committed by
Simon L.
parent
5a474d92d9
commit
69fe038ceb
@@ -916,6 +916,10 @@ readonly class DockerActionManager {
|
||||
}
|
||||
}
|
||||
|
||||
public function isBorgBackupSshAuthError(): bool {
|
||||
return file_exists(DataConst::GetBorgSshAuthErrorFile());
|
||||
}
|
||||
|
||||
public function GetBackupcontainerExitCode(): int {
|
||||
$containerName = 'nextcloud-aio-borgbackup';
|
||||
$url = $this->BuildApiUrl(sprintf('containers/%s/json', urlencode($containerName)));
|
||||
|
||||
Reference in New Issue
Block a user