Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-21 Thread Nick Bright
Thanks, I'll give the link a read. I was more asking about the syntax 
than the contents It doesn't matter what's in there, if the syntax 
isn't correct!

---
- Nick Bright
   Network Administrator
   Valnet, LLC
   Tel 888-332-1616 x 315
   Fax 620-332-1201


Juergen Harms wrote:
> Have a look at
> http://backuppc.wiki.sourceforge.net/Common_backup_excludes
> 
> I find the linux excludes somewhat spartiate - different utilities place 
> backkup and temporary files at well hidden places. I just started 
> getting things together, my intial setup for my home directory 
> illustrates that there may be need for additional items to add to the 
> examples quoted above - the kde Trash file is a good example. And I have 
> not yet started hunting for temporary files produced by various Unix 
> utilities.
> 
> $Conf{BackupFilesExclude} = {
>harms => [
>   '/tmp',
>   '/.local/share/Trash',
>   '*~', '#*#'
>]
> };
> 
> 
> For windows, I do not know enough to point out useless stuff. My initial 
> exclude files are simply dictated by what I find in the error log - 
> files that backuppc could not access, because Skype, Thunderbird etc. 
> are using them - I like to have 0 errors unless backup really requires 
> attention. Starting from the example in the URL quoted above and adding 
> files I found in the error log, I added quite some Skype files, and had 
> to deal with the fact the different Mozilla version place the same kind 
> of file at /Application Data and at /Local Settings/Application Data - I 
> simple added pairs of items to catch both.
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> 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/

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-21 Thread Juergen Harms
Have a look at
http://backuppc.wiki.sourceforge.net/Common_backup_excludes

I find the linux excludes somewhat spartiate - different utilities place 
backkup and temporary files at well hidden places. I just started 
getting things together, my intial setup for my home directory 
illustrates that there may be need for additional items to add to the 
examples quoted above - the kde Trash file is a good example. And I have 
not yet started hunting for temporary files produced by various Unix 
utilities.

$Conf{BackupFilesExclude} = {
   harms => [
  '/tmp',
  '/.local/share/Trash',
  '*~', '#*#'
   ]
};


For windows, I do not know enough to point out useless stuff. My initial 
exclude files are simply dictated by what I find in the error log - 
files that backuppc could not access, because Skype, Thunderbird etc. 
are using them - I like to have 0 errors unless backup really requires 
attention. Starting from the example in the URL quoted above and adding 
files I found in the error log, I added quite some Skype files, and had 
to deal with the fact the different Mozilla version place the same kind 
of file at /Application Data and at /Local Settings/Application Data - I 
simple added pairs of items to catch both.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-20 Thread Nick Bright
So, following that template I'd like to ask the list if I'm doing this 
right:

Linux Host:

$Conf{BackupFilesExclude} = {
   '/' => [
'/usr/local/vpopmail/domains',
'/usr/local/MPP/working',
'/proc',
'/var/qmail/queue',
'/backup'
   ]
};

Windows Host (using rsync configured to publish 'cDrive'):

$Conf{BackupFilesExclude} = {
  'cDrive' => ['/pagefile.sys','/Documents and 
Settings/','/WINNT/system32/config/','/WINNT/system32/drivers/']
};


---
- Nick Bright
   Network Administrator
   Valnet, LLC
   Tel 888-332-1616 x 315
   Fax 620-332-1201


Nick Bright wrote:
> That explains things! Seems like maybe the web interface needs a bit of 
> improvement in this regard.
> 
> In the web interface (which is how I added the exclusions), it simply 
> has a box for you to put a pathname to exclude and push "Add".
> 
> ---
> - Nick Bright
>Network Administrator
>Valnet, LLC
>Tel 888-332-1616 x 315
>Fax 620-332-1201
> 
> 
> Bowie Bailey wrote:
>> Nick Bright wrote:
>>> In my /etc/BackupPC/pc/host.pl file, I have the
>>> $Conf{BackupFilesExclude} directive configured as:
>>>
>>> $Conf{BackupFilesExclude} = {
>>>'/usr/local/vpopmail/domains' => [
>>>  ''
>>>],
>>>'/usr/local/MPP/working' => [
>>>  ''
>>>],
>>>'/proc' => [
>>>  ''
>>>],
>>>'/var/qmail/queue' => [
>>>  ''
>>>],
>>>'/backup' => [
>>>  ''
>>>]
>>> };
>>>
>>> This was configured through the web interface, on BackupPC v3.1.0.
>>> Backup method is "rsync".
>>>
>>> The backup runs, but it disregards my exclude directives and backs up
>>> the directories I'm telling it not to back up. Unfortunately, because
>>> of the first exclude line not being excluded, this is making the
>>> backup take about 20 hours to run!
>>>
>>> Any thoughts as to why these directories aren't being excluded?
>> Because you have not told it to exclude anything.  It works like this:
>>
>> $Conf{BackupFilesExclude} = {
>>'ShareName' => [
>>  'Exclusion'
>>],
>> };
>>
>> So you have a list of (probably invalid) share names, none of which have
>> any exclusions.  You probably want to do something like this:
>>
>> $Conf{BackupFilesExclude} = {
>>'/' => [
>>'/usr/local/vpopmail/domains',
>>'/usr/local/MPP/working',
>>'/proc',
>>'/var/qmail/queue',
>>'/backup',
>>]
>> };
>>
>> Assuming that you are backing up the root directory.
>>
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> 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/

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Nils Breunese (Lemonbit)
Bowie Bailey wrote:

> Nick Bright wrote:
>> That explains things! Seems like maybe the web interface needs a bit
>> of improvement in this regard.
>>
>> In the web interface (which is how I added the exclusions), it simply
>> has a box for you to put a pathname to exclude and push "Add".
>
> The web interface is a bit confusing there.  Just keep in mind that  
> the
> "key" you are adding can either be an asterisk (*), or one of your  
> share
> names.  Once you have that defined, then you can add the paths to it.
> If you define the key as '*', it will apply the exclusions to all  
> share
> names.

Technically not all shares, but all shares that don't have any  
explicit excludes configured. See the docs on $Conf{BackupFilesExclude}.

Nils Breunese.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Bowie Bailey
Nick Bright wrote:
> That explains things! Seems like maybe the web interface needs a bit
> of improvement in this regard.
> 
> In the web interface (which is how I added the exclusions), it simply
> has a box for you to put a pathname to exclude and push "Add".

The web interface is a bit confusing there.  Just keep in mind that the
"key" you are adding can either be an asterisk (*), or one of your share
names.  Once you have that defined, then you can add the paths to it.
If you define the key as '*', it will apply the exclusions to all share
names.

-- 
Bowie

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Nick Bright
That explains things! Seems like maybe the web interface needs a bit of 
improvement in this regard.

In the web interface (which is how I added the exclusions), it simply 
has a box for you to put a pathname to exclude and push "Add".

---
- Nick Bright
   Network Administrator
   Valnet, LLC
   Tel 888-332-1616 x 315
   Fax 620-332-1201


Bowie Bailey wrote:
> Nick Bright wrote:
>> In my /etc/BackupPC/pc/host.pl file, I have the
>> $Conf{BackupFilesExclude} directive configured as:
>>
>> $Conf{BackupFilesExclude} = {
>>'/usr/local/vpopmail/domains' => [
>>  ''
>>],
>>'/usr/local/MPP/working' => [
>>  ''
>>],
>>'/proc' => [
>>  ''
>>],
>>'/var/qmail/queue' => [
>>  ''
>>],
>>'/backup' => [
>>  ''
>>]
>> };
>>
>> This was configured through the web interface, on BackupPC v3.1.0.
>> Backup method is "rsync".
>>
>> The backup runs, but it disregards my exclude directives and backs up
>> the directories I'm telling it not to back up. Unfortunately, because
>> of the first exclude line not being excluded, this is making the
>> backup take about 20 hours to run!
>>
>> Any thoughts as to why these directories aren't being excluded?
> 
> Because you have not told it to exclude anything.  It works like this:
> 
> $Conf{BackupFilesExclude} = {
>'ShareName' => [
>  'Exclusion'
>],
> };
> 
> So you have a list of (probably invalid) share names, none of which have
> any exclusions.  You probably want to do something like this:
> 
> $Conf{BackupFilesExclude} = {
>'/' => [
>'/usr/local/vpopmail/domains',
>'/usr/local/MPP/working',
>'/proc',
>'/var/qmail/queue',
>'/backup',
>]
> };
> 
> Assuming that you are backing up the root directory.
> 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Bowie Bailey
Nick Bright wrote:
> In my /etc/BackupPC/pc/host.pl file, I have the
> $Conf{BackupFilesExclude} directive configured as:
> 
> $Conf{BackupFilesExclude} = {
>'/usr/local/vpopmail/domains' => [
>  ''
>],
>'/usr/local/MPP/working' => [
>  ''
>],
>'/proc' => [
>  ''
>],
>'/var/qmail/queue' => [
>  ''
>],
>'/backup' => [
>  ''
>]
> };
> 
> This was configured through the web interface, on BackupPC v3.1.0.
> Backup method is "rsync".
> 
> The backup runs, but it disregards my exclude directives and backs up
> the directories I'm telling it not to back up. Unfortunately, because
> of the first exclude line not being excluded, this is making the
> backup take about 20 hours to run!
> 
> Any thoughts as to why these directories aren't being excluded?

Because you have not told it to exclude anything.  It works like this:

$Conf{BackupFilesExclude} = {
   'ShareName' => [
 'Exclusion'
   ],
};

So you have a list of (probably invalid) share names, none of which have
any exclusions.  You probably want to do something like this:

$Conf{BackupFilesExclude} = {
   '/' => [
   '/usr/local/vpopmail/domains',
   '/usr/local/MPP/working',
   '/proc',
   '/var/qmail/queue',
   '/backup',
   ]
};

Assuming that you are backing up the root directory.

-- 
Bowie

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Steve
I don't know if this is what you're asking, but i just did mine
explicitly and it seems to work:

$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive',
  '--exclude',
  '/proc',
  '--exclude',
  '/mnt',
 '--exclude',
  '/mnt',
  '--exclude',
  '/tmp',
  '--exclude',
  '/media',
  '--exclude',
  '/sys',
  '--exclude',
  '/var/lib/backuppc'
];


Evets

On Mon, Jan 19, 2009 at 3:35 PM, Max Hetrick  wrote:
> Nick Bright wrote:
>> In my /etc/BackupPC/pc/host.pl file, I have the
>> $Conf{BackupFilesExclude} directive configured as:
>>
>> $Conf{BackupFilesExclude} = {
>>'/usr/local/vpopmail/domains' => [
>>  ''
>>],
>>'/usr/local/MPP/working' => [
>>  ''
>>],
>>'/proc' => [
>>  ''
>>],
>>'/var/qmail/queue' => [
>>  ''
>>],
>>'/backup' => [
>>  ''
>>]
>> };
>>
>> This was configured through the web interface, on BackupPC v3.1.0.
>> Backup method is "rsync".
>>
>> The backup runs, but it disregards my exclude directives and backs up
>> the directories I'm telling it not to back up. Unfortunately, because of
>> the first exclude line not being excluded, this is making the backup
>> take about 20 hours to run!
>>
>> Any thoughts as to why these directories aren't being excluded?
>
> Perhaps I have my understanding of of BackupPC's exclude files, but I
> have mine as follows, and I think things are relative to the path, or
> something of the sort. I had problems with mine too when I had
> "/var/cache" on one line. When I made it look like the following, it worked.
>
> $Conf{BackupFilesExclude} = {
>   '/var' => [
> '/cache'
>   ]
> };
>
> So, perhaps try:
>
> $Conf{BackupFilesExclude} = {
>'/usr/local/vpopmail' => [
>  '/domains'
>],
>'/usr/local/MPP/' => [
>  '/working'
>],
>'/proc' => [
>  ''
>],
>'/var/qmail' => [
>  '/queue'
>],
>'/backup' => [
>  ''
>]
> };
>
> Regards,
> Max
>
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> 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/
>



-- 
"eWhatever."  - eAnonymous

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Max Hetrick
Nick Bright wrote:
> In my /etc/BackupPC/pc/host.pl file, I have the 
> $Conf{BackupFilesExclude} directive configured as:
> 
> $Conf{BackupFilesExclude} = {
>'/usr/local/vpopmail/domains' => [
>  ''
>],
>'/usr/local/MPP/working' => [
>  ''
>],
>'/proc' => [
>  ''
>],
>'/var/qmail/queue' => [
>  ''
>],
>'/backup' => [
>  ''
>]
> };
> 
> This was configured through the web interface, on BackupPC v3.1.0. 
> Backup method is "rsync".
> 
> The backup runs, but it disregards my exclude directives and backs up 
> the directories I'm telling it not to back up. Unfortunately, because of 
> the first exclude line not being excluded, this is making the backup 
> take about 20 hours to run!
> 
> Any thoughts as to why these directories aren't being excluded?

Perhaps I have my understanding of of BackupPC's exclude files, but I 
have mine as follows, and I think things are relative to the path, or 
something of the sort. I had problems with mine too when I had 
"/var/cache" on one line. When I made it look like the following, it worked.

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

So, perhaps try:

$Conf{BackupFilesExclude} = {
'/usr/local/vpopmail' => [
  '/domains'
],
'/usr/local/MPP/' => [
  '/working'
],
'/proc' => [
  ''
],
'/var/qmail' => [
  '/queue'
],
'/backup' => [
  ''
]
};

Regards,
Max

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/


[BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 Thread Nick Bright
In my /etc/BackupPC/pc/host.pl file, I have the 
$Conf{BackupFilesExclude} directive configured as:

$Conf{BackupFilesExclude} = {
   '/usr/local/vpopmail/domains' => [
 ''
   ],
   '/usr/local/MPP/working' => [
 ''
   ],
   '/proc' => [
 ''
   ],
   '/var/qmail/queue' => [
 ''
   ],
   '/backup' => [
 ''
   ]
};

This was configured through the web interface, on BackupPC v3.1.0. 
Backup method is "rsync".

The backup runs, but it disregards my exclude directives and backs up 
the directories I'm telling it not to back up. Unfortunately, because of 
the first exclude line not being excluded, this is making the backup 
take about 20 hours to run!

Any thoughts as to why these directories aren't being excluded?

-- 
---
- Nick Bright
   Network Administrator
   Valnet, LLC
   Tel 888-332-1616 x 315
   Fax 620-332-1201

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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/