On 11/25/2011 12:09 PM, jbk wrote:
> On 11/23/2011 08:31 PM, jbk wrote:
>
> BackupPC-3.2.1-6.el6.x86_64
>> I have recently moved my server from Fedora to Scientific
>> Linux 6.1 .
>> I installed the backuppc binary from el6 and configured
>> the system to use Mod_perl. At first the test back ups
>> seemed to be working but when I try to do a full backup
>> based on the host configuration files backuppc will only
>> back up the root '/' file system. Partitions in fstab
>> that are mounted at specific mount points return empty
>> dumps.
>> I've ignored these for now as I don't have a whole lot of
>> time to experiment.
Ignorance is bliss until you start backing up what you don't
want. I now understand the hierarchy of the scripts below
and have revised the format as follows:
$Conf{BackupFilesOnly} = {
'*' =>[
'/subdir1',
'/subdir2',
'/subdir3'
]
};
The above applies to all mount points.
The below applies to a specific mount point.
$Conf{BackupFilesOnly} = {
'mountpoint' =>[
'/subdir1',
'/subdir2',
'/subdir3'
]
};
This format carries over to the BackupFilesExclude.
I'm surprised that my old _client.pl files worked given my
prior assumptions, but except for one restore I've never
really checked what was actually getting backed up for the
last three years.
>
> So comparing my host.config.pl
>
> 2008 version
>
> $Conf{BackupFilesOnly} = {
> '*' =>[
> '/subdir1',
> '/subdir2',
> '/subdir3'
> ]
> };
>
> 2011 version
The below treated the sub directories as separate mount
points. I'm not sure how it was working but I noticed that
this format when applied to exclusions was not.
>
> $Conf{BackupFilesOnly} = {
> '/subdir1' => [
> ' '
> ],
> /subdir2' => [
> ' '
> ],
> '/subdir3' => [
> ' '
> ]
> };
>
> So for what ever reason the new format works though the
> commentary in the config.pl says that old 2008 version
> should work also. I always use the CGI to create the
> configurations, I assume there is less chance for error
> that way.
> till next
> Jim Kelly-Rand
>
>
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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/