mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #2418 from nextcloud/enh/noid/backup-include
put duplicated path examples into a dedicated include
This commit is contained in:
commit
af91a01c04
2 changed files with 8 additions and 12 deletions
|
|
@ -175,12 +175,7 @@
|
||||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||||
<input class="button" type="submit" value="Submit" />
|
<input class="button" type="submit" value="Submit" />
|
||||||
</form>
|
</form>
|
||||||
The folder path that you enter must start with <b>/</b> and must <b>not</b> end with <b>/</b>.<br><br>
|
{{ include('includes/backup-dirs.twig') }}
|
||||||
An example for Linux is <b>/mnt/backup</b>.<br>
|
|
||||||
On Synology it could be <b>/volume1/docker/nextcloud/backup</b>.<br>
|
|
||||||
For macOS it may be <b>/var/backup</b>.<br>
|
|
||||||
On Windows it might be <b>/run/desktop/mnt/host/c/backup</b>. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.)<br>
|
|
||||||
Another option is to enter a specific volume name here: <b>nextcloud_aio_backupdir</b>. This volume needs to be created beforehand manually by you in order to be able to use it.<br><br>
|
|
||||||
⚠️ Please note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named 'borg'. Otherwise will the backup container not find the backup archive!<br><br>
|
⚠️ Please note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named 'borg'. Otherwise will the backup container not find the backup archive!<br><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
@ -359,12 +354,7 @@
|
||||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||||
<input class="button" type="submit" value="Submit" />
|
<input class="button" type="submit" value="Submit" />
|
||||||
</form>
|
</form>
|
||||||
The folder path that you enter must start with <b>/</b> and must <b>not</b> end with <b>/</b>.<br><br>
|
{{ include('includes/backup-dirs.twig') }}
|
||||||
An example for Linux is <b>/mnt/backup</b>.<br>
|
|
||||||
On Synology it could be <b>/volume1/docker/nextcloud/backup</b>.<br>
|
|
||||||
For macOS it may be <b>/var/backup</b>.<br>
|
|
||||||
On Windows it might be <b>/run/desktop/mnt/host/c/backup</b>. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.)<br>
|
|
||||||
Another option is to enter a specific volume name here: <b>nextcloud_aio_backupdir</b>. This volume needs to be created beforehand manually by you in order to be able to use it.<br><br>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
||||||
6
php/templates/includes/backup-dirs.twig
Normal file
6
php/templates/includes/backup-dirs.twig
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
The folder path that you enter must start with <b>/</b> and must <b>not</b> end with <b>/</b>.<br><br>
|
||||||
|
An example for Linux is <b>/mnt/backup</b>.<br><br>
|
||||||
|
On Synology it could be <b>/volume1/docker/nextcloud/backup</b>.<br><br>
|
||||||
|
For macOS it may be <b>/var/backup</b>.<br><br>
|
||||||
|
On Windows it might be <b>/run/desktop/mnt/host/c/backup</b>. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.)<br><br>
|
||||||
|
Another option is to enter a specific volume name here: <b>nextcloud_aio_backupdir</b>. This volume needs to be created beforehand manually by you in order to be able to use it.<br><br>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue