Backups: notify that credentials of remote backups are stored

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Michael Pimmer authored and James Valleroy committed 2018-12-13 18:28:48 -05:00
1 parent fc9e406bf8
commit a5ab22babf
2 files changed
+10 -2

No files matched your search

+1 -2
View File
@@ -104,8 +104,7 @@ class AddRepositoryForm(forms.Form):
label=_('Encryption'),
help_text=format_lazy(
_('"Key in Repository" means that a '
'password-protected key is stored with the backup. <br />'
'<b>You need this password to restore a backup!</b>')),
'password-protected key is stored with the backup.')),
choices=[('repokey', 'Key in Repository'), ('none', 'None')]
)
encryption_passphrase = forms.CharField(
@@ -30,6 +30,15 @@
{{ form|bootstrap }}
<div class="alert alert-warning" role="alert">
{% blocktrans trimmed %}
The credentials for this repository are stored on your {{ box_name }}.
<br />
To restore a backup on a new {{ box_name }} you need the ssh
credentials and, if chosen, the encryption passphrase.
{% endblocktrans %}
</div>
<input type="submit" class="btn btn-primary"
value="{% trans "Create Repository" %}"/>
<a class="abort btn btn-sm btn-default"