Browse Source

Fix view format.

pull/1158/head
Jairo Llopis 9 years ago
committed by Andrea
parent
commit
6a61bcd24a
  1. 14
      auto_backup/view/db_backup_view.xml

14
auto_backup/view/db_backup_view.xml

@ -10,22 +10,17 @@
<form>
<h1><field name="name"/></h1>
<group string="Local backup configuration">
<group string="Basic backup configuration">
<field name="folder"/>
<field name="days_to_keep"/>
<field name="method"/>
</group>
<group
string="SFTP Settings"
attrs="{
'invisible': [
('method', '!=', 'sftp'),
],
}">
<div attrs="{'invisible': [('method', '!=', 'sftp')]}">
<div class="bg-warning text-warning">
<h3>Warning:</h3>
Use SFTP with caution! This writes files to external servers under the path you specify.
</div>
<group string="SFTP Settings">
<field name="sftp_host" placeholder="sftp.example.com"/>
<field name="sftp_port"/>
<field name="sftp_user" placeholder="john"/>
@ -39,10 +34,9 @@
string="Test SFTP Connection"
icon="gtk-network"/>
</group>
</div>
<separator string="Help" colspan="2"/>
<div>
This configures the scheduler for automatic backup of the given database running on given host at given port on regular intervals.
<br/>
Automatic backups of the database can be scheduled as follows:
<ol>
<li>Go to Settings / Technical / Automation / Scheduled Actions.</li>

Loading…
Cancel
Save