Craig-
The fix appears to work in my instance. I can no longer replicate the
problem, and the config file, managed via CGI, appears as expected.
Thanks!
On Fri, May 12, 2017 at 11:21 AM, Craig Barratt <
[email protected]> wrote:
> I pushed a fix
> <https://github.com/backuppc/backuppc/commit/7936184a9ec049fef3d0d67e012b23d79eb336f1>
> for this last night.
>
> Craig
>
> On Fri, May 12, 2017 at 9:56 AM, Ray Frush <[email protected]>
> wrote:
>
>> I’m seeing this issue too!
>>
>> I noticed that with 4.1.2 if I use the WebUI (CGI) to edit a host config
>> that has an existing $Conf{BackupFilesExclude} set, under the’xfer’ tab,
>> there’s a checkmark for the Override of “BackupFilesExclude”, but the CGI
>> does not show the list of excludes.
>>
>> Saving the config leaves an empty set:
>>
>> $Conf{BackupFilesExclude} = {};
>>
>> or (on a second test)
>>
>> $Conf{BackupFilesExclude} = {
>> '*' => []
>> };
>>
>>
>> But the LOG reports, incorrectly:
>>
>> 017-05-12 10:44:30 backuppc changed BackupFilesExclude in
>> host grover config to {} from {'*' => ['/proc','/sys','/mnt','/net',
>> '/dev','/var/log/lastlog','/var/run','/ais02','/backup','/ex
>> port','/software','/oracledba','/syswork’]}
>> or
>> 2017-05-12 10:52:00 backuppc changed BackupFilesExclude in
>> host grover config to {'*' => []} from {'*' =>
>> ['/proc','/sys','/mnt','/net','/dev','/var/log/lastlog','/va
>> r/run','/ais02','/backup','/export','/software','/oracledba','/syswork']}
>>
>>
>>
>> Please let me know if there's any additional information we can provid.
>>
>>
>> --
>> Ray Frush
>>
>> On Thu, May 11, 2017 at 5:38 PM, Moorcroft, Mark (ARC-TS)[Analytical
>> Mechanics Associates, INC.] <[email protected]> wrote:
>>
>>> Using the 4.1.2 COPR on CentOS7. If I set the BackupFilesExclude in
>>> config.pl it will be overwritten the second I change any other setting.
>>> If I change the setting in the GUI it saves, but reverts to empty the next
>>> time any other setting is saved.
>>>
>>>
>>> 2017-05-11 16:29:05 tsadmin changed MaxOldPerPCLogFiles in main config
>>> to '12' from '10'
>>> 2017-05-11 16:29:05 Reloading config/host files via CGI request
>>> 2017-05-11 16:29:05 Next wakeup is 2017-05-11 17:00:00
>>> 2017-05-11 16:35:20 tsadmin changed BackupFilesExclude in main config to
>>> {'*' => ['lastlog']} from {'*' => []}
>>> 2017-05-11 16:35:20 Reloading config/host files via CGI request
>>> 2017-05-11 16:35:20 Next wakeup is 2017-05-11 17:00:00
>>> 2017-05-11 16:35:39 tsadmin changed BackupFilesExclude in main config to
>>> {'*' => []} from {'*' => ['lastlog']}
>>> 2017-05-11 16:35:39 tsadmin changed MaxOldPerPCLogFiles in main config
>>> to '10' from '12'
>>> 2017-05-11 16:35:39 Reloading config/host files via CGI request
>>> 2017-05-11 16:35:39 Next wakeup is 2017-05-11 17:00:00
>>>
>>>
>>> Ideas?
>>>
>>> --
>>>
>>> Contractor: AMA Incorporated
>>> Mark Moorcroft – Lead Admin
>>> ESTRAD Linux Computer Support
>>> NASA Ames Research Center
>>> Moffett Field, CA 94035-1000
>>> N230/108 (MS N230-1)
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> 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
>>> [email protected]
>>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> Wiki: http://backuppc.wiki.sourceforge.net
>>> Project: http://backuppc.sourceforge.net/
>>>
>>
>>
>>
>> --
>> Time flies like an arrow, but fruit flies like a banana.
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>> [email protected]
>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki: http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>
>>
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
--
Time flies like an arrow, but fruit flies like a banana.
------------------------------------------------------------------------------
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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/