mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add comment with link
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
983e523bde
commit
362cad79db
1 changed files with 2 additions and 0 deletions
|
|
@ -487,6 +487,8 @@ class ConfigurationManager
|
|||
throw new InvalidSettingConfigurationException("The path must start with '/', and must not end with '/'! Another option is to use the docker volume name 'nextcloud_aio_backupdir'.");
|
||||
}
|
||||
|
||||
// Prevent backup to be contained in Nextcloud Datadir as this will delete the backup archive upon restore
|
||||
// See https://github.com/nextcloud/all-in-one/issues/6607
|
||||
if (str_starts_with($location . '/', rtrim($this->GetNextcloudDatadirMount(), '/') . '/')) {
|
||||
throw new InvalidSettingConfigurationException("The path must not be a children of or equal to NEXTCLOUD_DATADIR, which is currently set to " . $this->GetNextcloudDatadirMount());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue