BackupPC-users

[BackupPC-users] 4.1.2 CGI Wipes Config.pl Settings

2017-05-24 12:08:45
Subject: [BackupPC-users] 4.1.2 CGI Wipes Config.pl Settings
From: Michael McGregor <mcgrmic2 AT isu DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 24 May 2017 10:07:39 -0600
Hello,

I have a problem with the BackupFilesExclude setting not persisting or populating the website correctly.

If I modify the BackupFilesExclude setting on the global config in the CGI interface, the settings make it into the config.pl correctly. But when I reload the global config webpage, the "values" for the hash are all gone. They are still in the config.pl file, but the CGI interface must not be parsing the setting correctly to populate the webpage. If I save any settings, the configuration is wiped out.

I found this out the hard way as a server backup was backing up /proc when I found it.

After editing the CGI interface to add the proper values, config.pl reads:

$Conf{BackupFilesExclude} = {
  '/' => [
    'dev',
    'media',
    'mnt',
    'proc',
    'run',
    'sys',
    'tmp'
  ]
};

After reediting the configuration through the CGI interface and saving, config.pl reads:

$Conf{BackupFilesExclude} = {
  '/' => []
};

Any advice?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by KimLaw, PLLC