Allow to reset the borg backup host location before initial backup was started

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-10 14:18:05 +02:00
parent 3396c83df4
commit 694a3f6356
3 changed files with 21 additions and 0 deletions

View file

@ -413,6 +413,12 @@ class ConfigurationManager
$this->WriteConfig($config);
}
public function DeleteBorgBackupHostLocation() : void {
$config = $this->GetConfig();
$config['borg_backup_host_location'] = '';
$this->WriteConfig($config);
}
/**
* @throws InvalidSettingConfigurationException
*/