BackupPC-users

Re: [BackupPC-users] BackupFilesExclude issue

2017-05-12 13:36:22
Subject: Re: [BackupPC-users] BackupFilesExclude issue
From: Ray Frush <frush AT rams.colostate DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 12 May 2017 11:35:44 -0600
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 <cbarratt AT users.sourceforge DOT net> wrote:
I pushed a fix for this last night.

Craig

On Fri, May 12, 2017 at 9:56 AM, Ray Frush <frush AT rams.colostate DOT edu> 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','/export','/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','/var/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.] <mark.moorcroft AT nasa DOT gov> 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]ge.net
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]ge.net
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
BackupPC-users@lists.sourceforge.net
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
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