#!/usr/local/bin/perl # restore_form.cgi # Display a form for restore a database require './postgresql-lib.pl' ; &ReadParse ( ) ; &error_setup ( $text{'restore_err'} ) ; $access{'restore'} || &error($text{'restore_ecannot'}); &can_edit_db($in{'db'}) || &error($text{'dbase_ecannot'}); &has_command($config{'rstr_cmd'}) || &error(&text('restore_ecmd', "$config{'rstr_cmd'}")); &header ( $text{'restore_title'}, "", "restore_form" ) ; print "