From 8e35abee1623a1f122c23279b159ffeedd2bb091 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 21 Mar 2005 19:49:01 +0000 Subject: Allow most areas of xml configuration to be restored and backed up individually. --- usr/local/www/diag_backup.php | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 64dc62d..eec4fa6 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -34,6 +34,27 @@ $omit_nocacheheaders = true; require("guiconfig.inc"); require("xmlparse_pkg.inc"); +function spit_out_select_items() { + $select = << + + + + + + + + + + + + + +EOD; + echo $select; + +} + if ($_POST) { unset($input_errors); if (stristr($_POST['Submit'], "Restore configuration")) @@ -196,11 +217,7 @@ if (isset($config['system']['version_control'])) {

Click this button to download the system configuration in XML format.

- Backup area: - + Backup area:

Do not backup package information.

@@ -217,11 +234,7 @@ if (isset($config['system']['version_control'])) { Open a pfSense configuration XML file and click the button below to restore the configuration.

- Restore area: - + Restore area:

-- cgit v1.1