mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
rename password to encryption password
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
14153b424b
commit
e78de8a113
1 changed files with 7 additions and 7 deletions
|
|
@ -136,7 +136,7 @@
|
||||||
{% if backup_exit_code > 0 %}
|
{% if backup_exit_code > 0 %}
|
||||||
<span class="status error"></span> Last {{ borg_backup_mode }} failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup" target="_blank" rel="noopener">Logs</a>)<br /><br />
|
<span class="status error"></span> Last {{ borg_backup_mode }} failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup" target="_blank" rel="noopener">Logs</a>)<br /><br />
|
||||||
{% if borg_backup_mode == 'test' %}
|
{% if borg_backup_mode == 'test' %}
|
||||||
Please adjust the path and/or the password in order to make it work!<br><br>
|
Please adjust the path and/or the encryption password in order to make it work!<br><br>
|
||||||
{% elseif borg_backup_mode == 'check' %}
|
{% elseif borg_backup_mode == 'check' %}
|
||||||
The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following <a href="https://borgbackup.readthedocs.io/en/stable/faq.html#i-get-an-integrityerror-or-similar-what-now"><b>this documentation</b></a><br><br>
|
The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following <a href="https://borgbackup.readthedocs.io/en/stable/faq.html#i-get-an-integrityerror-or-similar-what-now"><b>this documentation</b></a><br><br>
|
||||||
<details>
|
<details>
|
||||||
|
|
@ -174,29 +174,29 @@
|
||||||
{% elseif borg_backup_mode == 'restore' %}
|
{% elseif borg_backup_mode == 'restore' %}
|
||||||
{% if backup_exit_code > 0 %}
|
{% if backup_exit_code > 0 %}
|
||||||
<span class="status error"></span> Last restore failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup" target="_blank" rel="noopener">Logs</a>)<br /><br />
|
<span class="status error"></span> Last restore failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup" target="_blank" rel="noopener">Logs</a>)<br /><br />
|
||||||
Somehow the restore failed which is unexpected! Please adjust the path and password, test it and try to restore again!
|
Somehow the restore failed which is unexpected! Please adjust the path and encryption password, test it and try to restore again!
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if borg_backup_host_location == '' or borg_restore_password == '' or borg_backup_mode not in ['test', 'check', ''] or backup_exit_code > 0 %}
|
{% if borg_backup_host_location == '' or borg_restore_password == '' or borg_backup_mode not in ['test', 'check', ''] or backup_exit_code > 0 %}
|
||||||
Please enter the location of the backup archive on your host and the password of the backup archive below:<br><br>
|
Please enter the location of the backup archive on your host and the encryption password of the backup archive below:<br><br>
|
||||||
<form method="POST" action="/api/configuration" class="xhr">
|
<form method="POST" action="/api/configuration" class="xhr">
|
||||||
<input type="text" name="borg_restore_host_location" value="{{borg_backup_host_location}}" placeholder="/mnt/backup"/>
|
<input type="text" name="borg_restore_host_location" value="{{borg_backup_host_location}}" placeholder="/mnt/backup"/>
|
||||||
<input type="text" name="borg_restore_password" value="{{borg_restore_password}}" placeholder="enter the borg password"/>
|
<input type="text" name="borg_restore_password" value="{{borg_restore_password}}" placeholder="encryption password"/>
|
||||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||||
<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 location and password" />
|
<input class="button" type="submit" value="Submit location and encryption password" />
|
||||||
</form>
|
</form>
|
||||||
{{ include('includes/backup-dirs.twig') }}
|
{{ include('includes/backup-dirs.twig') }}
|
||||||
⚠️ 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 %}
|
||||||
<b>Everything set!</b> Click on the button below to test the path and password:<br/><br/>
|
<b>Everything set!</b> Click on the button below to test the path and encryption password:<br/><br/>
|
||||||
<form method="POST" action="/api/docker/backup-test" class="xhr">
|
<form method="POST" action="/api/docker/backup-test" class="xhr">
|
||||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||||
<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="Test path and password"/><br/>
|
<input class="button" type="submit" value="Test path and encryption password"/><br/>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue