1 [% USE HTML %]<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); ">
5 <form name="Form" method="post" action="admin.pl" enctype="multipart/form-data">
7 <input type="hidden" name="dbdriver" value="Pg">
8 <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
9 <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
10 <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
11 <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
14 <translate>Please enter the name of the dataset you want to restore the backup in.</translate>
15 <translate>The dataset has to exist before a restoration can be started.</translate>
16 <translate>You can create a missing dataset by going back and chosing "Create Dataset".</translate>
20 <translate>The backup you upload here has to be a file created with "pg_dump -o -Ft".</translate>
21 <translate>It may optionally be compressed with "gzip".</translate>
22 <translate>Files created by Lx-Office's "Backup Dataset" function are such files.</translate>
27 <td valign="top"><translate>Dataset name</translate></td>
28 <td valign="top"><input name="new_dbname"></td>
32 <th valign="top"><translate>Multibyte Encoding</translate></th>
34 <select name="dbencoding">
35 [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
41 <td valign="top"><translate>Backup file</translate></td>
42 <td valign="top"><input type="file" accept="*" name="content"></td>
46 <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
47 <input type="hidden" name="nextsub" value="restore_dataset_start">
53 <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">