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    Please enter the name of the dataset you want to restore the backup in.
 
  15    The dataset has to exist before a restoration can be started.
 
  16    You can create a missing dataset by going back and chosing "Create Dataset".
 
  20    The backup you upload here has to be a file created with "pg_dump -o -Ft".
 
  21    It may optionally be compressed with "gzip".
 
  22    Files created by Lx-Office's "Backup Dataset" function are such files.
 
  27     <td valign="top">Dataset name</td>
 
  28     <td valign="top"><input name="new_dbname"></td>
 
  32     <th valign="top">Multibyte Encoding</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">Backup file</td>
 
  42     <td valign="top"><input type="file" accept="*" name="content"></td>
 
  46   <input type="hidden" name="nextsub" value="restore_dataset_start">
 
  52   <input type="submit" class="submit" name="action" value="Continue">