Re: [Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Uwe Schuerkamp
Many thanks for your replies folks, I'll try the multiple options
sections then.

Uwe

-- 
NIONEX --- Ein Unternehmen der Bertelsmann SE  Co. KGaA



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Danixu86
|| Hello,
|| 
|| 
|| And I was wondering why it could be necessary to exclude files from gzip 
compression. Since the most that can happen is that these files will suffer no 
compression.
|| 
|| 
|| Best regards,
|| Ana

I supose for performance, why compress files that are compressed if you can 
speed up the backup by ony copying that files. ;)

+--
|This was sent by danielmadri...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Martin Simmons
 On Fri, 28 Nov 2014 02:25:25 -0800, Danixu86  said:
 
 || Hello,
 || 
 || 
 || And I was wondering why it could be necessary to exclude files from gzip 
 compression. Since the most that can happen is that these files will suffer 
 no compression.
 || 
 || 
 || Best regards,
 || Ana
 
 I supose for performance, why compress files that are compressed if you can 
 speed up the backup by ony copying that files. ;)

Yes, that's why I exclude them.

__Martin

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Paper on Property Backup Migration to Bacula

2014-11-28 Thread Heitor Faria
Mr. Bacula Users, 

I wanted to write a paper / guide that outlines the process of migrating backup 
data written with property software for Bacula. I think those are some 
premises: 

1. I know this will probably involve restore the legacy data to a given mount 
point in the respective servers and backup it again? Maybe with suffix 
manipulation? 
2. And how about changing today job backup date to the real date of the first 
backup of the legacy data? Anyone has done queries that could share? 
3. Whatever you suggest. 

Regards, 
== 
Heitor Medrado de Faria - LPIC-III | ITIL-F 
12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula: 
http://www.bacula.com.br/?p=2174 
61 2021-8260 | 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com 
=== 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Martin Simmons
Are you sure about that?  AFAIKS, the code in find_files() calls
find_one_file() on each item in the name_list of each item in the
include_list.  The original fileset with duplicate File= lines will cause
duplicate walking (i.e. stat of every file and subdirectory).

__Martin


 On Thu, 27 Nov 2014 20:31:00 +0100, Kern Sibbald said:
 
 Hello,
 
 I don't want to comment on the details of the FileSets as what you guys
 (and gal) are talking about is a bit complicated. 
 
 However, I can re-assure you that Bacula walks the directory tree only
 once.  Once it has found a file, it then walks down all the Include and
 Option blocks, so if you have multiple Options and/or multiple Includes,
 it will go through a bit more code, but I suspect that the extra
 overhead is negligible compared to the time to find each file ...
 
 Best regards,
 Kern
 
 On 11/27/2014 07:40 PM, Martin Simmons wrote:
  Having two Include clauses is wasteful because it causes Bacula to walk the
  directory tree twice.  Why not combine them like this?
 
  FileSet {
 Name = MyFileSet
 Include {
 Options {
 # Files that we don't want to compress.
 wildfile = *.zip
 wildfile = *.gz
 }
 Options {
 # Default options for everything else.
 Compression=GZIP
 }
 File = /mydirectory1
 File = /mydirectory2
}
  }
 
  __Martin
 
 
  On Thu, 27 Nov 2014 13:53:11 -0300, Ana Emília M. Arruda said:
  Hello Uwe,
 
  You can have more than one include resource within the FileSet. So you can
  have one with compression enabled and one with compression disabled. The
  firt include you only backup your .zip, .gz, etc., files without
  compression, the second one you backup all files except your *.gz, *.zip,
  etc., files with compression.
 
  FileSet {
 Name = MyFileSet
 Include {
 Options {
 wildfile = *.zip
 wildfile = *.gz
  }
 Options {
  Exclude = yes
  RegexFile = .*
  }
 File = /mydirectory1
 File = /mydirectory2
}
Include {
 Options {
 Compression=GZIP
 wildfile = *.zip
 wildfile = *.gz
 Exclude = yes
 }
 File = /mydirectory1
 File = /mydirectory2
}
  }
 
  Best regards,
  Ana
 
  On Thu, Nov 27, 2014 at 7:48 AM, Uwe Schuerkamp uwe.schuerk...@nionex.net
  wrote:
 
  HI folks,
 
  is it possible to disable compression based on a file extension basis,
  say like skipping all files ending in .zip or .gz?
 
  Thanks,
 
  Uwe
  --
  NIONEX --- Ein Unternehmen der Bertelsmann SE  Co. KGaA
 
 
 
 
  --
  Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
  from Actuate! Instantly Supercharge Your Business Reports and Dashboards
  with Interactivity, Sharing, Native Excel Exports, App Integration  more
  Get technology previously reserved for billion-dollar corporations, FREE
 
  http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
  --
  Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
  from Actuate! Instantly Supercharge Your Business Reports and Dashboards
  with Interactivity, Sharing, Native Excel Exports, App Integration  more
  Get technology previously reserved for billion-dollar corporations, FREE
  http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Ana Emília M . Arruda
OK. Thank you. If you have too much files already compressed that turns
your backups too slow than it is a good idea to do it this way.

Thank you.

On Fri, Nov 28, 2014 at 10:04 AM, Martin Simmons mar...@lispworks.com
wrote:

  On Fri, 28 Nov 2014 02:25:25 -0800, Danixu86  said:
 
  || Hello,
  ||
  ||
  || And I was wondering why it could be necessary to exclude files from
 gzip compression. Since the most that can happen is that these files will
 suffer no compression.
  ||
  ||
  || Best regards,
  || Ana
 
  I supose for performance, why compress files that are compressed if you
 can speed up the backup by ony copying that files. ;)

 Yes, that's why I exclude them.

 __Martin


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling compression on a path / file extension basis?

2014-11-28 Thread Kern Sibbald
Hello Martin,

Sorry for the confusion as I said, I didn't look at your FileSets in detail.

I was assuming you have only one File = directive for each file you are
backing up.  If that is not the case, then, you risk backing up the same
file or directory multiple times, and yes, in that case, Bacula will
walk that particular path (or filesystem) multiple times.

Best regards,
Kern



On 11/28/2014 02:11 PM, Martin Simmons wrote:
 Are you sure about that?  AFAIKS, the code in find_files() calls
 find_one_file() on each item in the name_list of each item in the
 include_list.  The original fileset with duplicate File= lines will cause
 duplicate walking (i.e. stat of every file and subdirectory).

 __Martin


 On Thu, 27 Nov 2014 20:31:00 +0100, Kern Sibbald said:
 Hello,

 I don't want to comment on the details of the FileSets as what you guys
 (and gal) are talking about is a bit complicated. 

 However, I can re-assure you that Bacula walks the directory tree only
 once.  Once it has found a file, it then walks down all the Include and
 Option blocks, so if you have multiple Options and/or multiple Includes,
 it will go through a bit more code, but I suspect that the extra
 overhead is negligible compared to the time to find each file ...

 Best regards,
 Kern

 On 11/27/2014 07:40 PM, Martin Simmons wrote:
 Having two Include clauses is wasteful because it causes Bacula to walk the
 directory tree twice.  Why not combine them like this?

 FileSet {
Name = MyFileSet
Include {
Options {
# Files that we don't want to compress.
wildfile = *.zip
wildfile = *.gz
}
Options {
# Default options for everything else.
Compression=GZIP
}
File = /mydirectory1
File = /mydirectory2
   }
 }

 __Martin


 On Thu, 27 Nov 2014 13:53:11 -0300, Ana Emília M. Arruda said:
 Hello Uwe,

 You can have more than one include resource within the FileSet. So you can
 have one with compression enabled and one with compression disabled. The
 firt include you only backup your .zip, .gz, etc., files without
 compression, the second one you backup all files except your *.gz, *.zip,
 etc., files with compression.

 FileSet {
Name = MyFileSet
Include {
Options {
wildfile = *.zip
wildfile = *.gz
 }
Options {
 Exclude = yes
 RegexFile = .*
 }
File = /mydirectory1
File = /mydirectory2
   }
   Include {
Options {
Compression=GZIP
wildfile = *.zip
wildfile = *.gz
Exclude = yes
}
File = /mydirectory1
File = /mydirectory2
   }
 }

 Best regards,
 Ana

 On Thu, Nov 27, 2014 at 7:48 AM, Uwe Schuerkamp uwe.schuerk...@nionex.net
 wrote:

 HI folks,

 is it possible to disable compression based on a file extension basis,
 say like skipping all files ending in .zip or .gz?

 Thanks,

 Uwe
 --
 NIONEX --- Ein Unternehmen der Bertelsmann SE  Co. KGaA




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Paper on Property Backup Migration to Bacula

2014-11-28 Thread Fahrer, Julian
Hi,

2014-11-28 14:09 GMT+01:00 Heitor Faria hei...@bacula.com.br:

 Mr. Bacula Users,

 I wanted to write a paper / guide that outlines the process of migrating
 backup data written with property software for Bacula. I think those are
 some premises:

 1. I know this will probably involve restore the legacy data to a given
 mount point in the respective servers and backup it again? Maybe with
 suffix manipulation?

I guess I would try to restore the data to some server . Whether the data
is restored to the original server or not does not bother me. I would
prefer preserving the directory structure insetead. And I would restore to
the same operating system type if possible.

2. And how about changing today job backup date to the real date of the
 first backup of the legacy data? Anyone has done queries that could share?

Using separate jobs with a naming convention that includes the original
backup date might also work. You could also run those jobs to different
pools with appropriate retention periods.


 3. Whatever you suggest.


Kind regards

Julian



 Regards,

 ==
 Heitor Medrado de Faria  - LPIC-III | ITIL-F
 12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula:
 http://www.bacula.com.br/?p=2174
 61 2021-8260 %2B55%2061%202021-8260 | 8268-4220 %2B55%2061%208268-4220
 Site: www.bacula.com.br | Facebook: heitor.faria
 http://www.facebook.com/heitor.faria | Gtalk: heitorfa...@gmail.com

 ===



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Possible bug/enhancement request regarding the Volume column in Status Director output

2014-11-28 Thread Martin Simmons
Looks like a bug, but it can never be 100% accurate anyway because it doesn't
know about pruning and recycling.

__Martin


 On Wed, 26 Nov 2014 09:39:17 -0500, Bill Arlofski said:
 
 Bacula does not seem to be correctly determining the Volume column in the
 stat dir output.
 
 
 ---[ tl;dr verson ]---
 When considering volumes for the expected volume of an upcoming job, Bacula
 appears to be ignoring the Job/JobDef options:
 
   Full Backup Pool =
   Incremental Backup Pool =
   Differential Backup Pool =
 
 And only considers volumes from the Pool =  line in the Job/JobDefs.
 
 
 
 
 ---[Full Version]---
 
 On the server in question I have about 20 jobs/night that run, and am using
 Josh Fisher's vchanger program to write to (10) magazines (removable eSATA
 Drives), each with (60) 10GB file volumes on them.
 
 Currently, magazine 5 is connected, Bacula knows what slot each file volume is
 in, and all volumes on this magazine are Enabled.
 
 
 Below is a partial output of a current status dir command:
 
 Scheduled Jobs:
 Level  TypePri  Scheduled  Job Name   Volume
 
 ...snip...
 IncrementalBackup  10  26-Nov-14 20:30   dns1 c0_0005_0067
 IncrementalBackup  10  26-Nov-14 20:30   Helpdesk c0_0005_0067
 IncrementalBackup  10  26-Nov-14 20:30   Voip c0_0005_0067
 Full   Backup  20  27-Nov-14 02:45   Catalog  c0_0005_0067
 
 
 Most Jobs are set to run Full on the first Saturday of the month, Differential
 on every other Saturday, and Incremental Sunday-Friday.
 
 I have one JobDefs resource, called Defaults, which is used by all Jobs,
 with some minor, per-job overrides for Fileset names, Schedules, RunScripts, 
 etc.
 
 In my Defaults Jobdef I have defined the Pool(s) for the Job using the
 following:
 
 JobDefs {
   Name = Defaults
   Level = Incremental
   Storage = c0
   Messages = Standard
   Pool = Offsite-eSATA-Full
   Full Backup Pool = Offsite-eSATA-Full
   Incremental Backup Pool =  Offsite-eSATA-Inc
   Differential Backup Pool = Offsite-eSATA-Diff
 ...snip...
 }
 
 Volume c0_0005_0067 in currently in the Offsite-eSATA-Full pool, with a status
 of Append and was the last volume used by last night's Full Catalog job...
 
 
 Bacula knows that the first few jobs listed above are scheduled to be
 Incremental, however, Bacula appears to be using the line:
 
 Pool = Offsite-eSATA-Full
 
 from the JobDefs, and ignoring the fact that there are specific Pool
 definitions for Full, Incremental, and Differential backups.
 
 When I change the Pool =  line to Pool = Offsite-eSATA-Diff (or Inc),
 issue a reload and then status dir in bconsole, Bacula shows that the expected
 volume for those Incremental jobs will be an appendable volume in whatever I
 set the Pool =  line to.
 
 Thanks for any thoughts on this.
 
 Bill
 
 -- 
 Bill Arlofski
 Reverse Polarity, LLC
 http://www.revpol.com/
 -- Not responsible for anything below this line --
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Paper on Property Backup Migration to Bacula

2014-11-28 Thread Heitor Faria
s/Property/Proprietary/g 

- Mensagem original -

 De: Julian Fahrer jul...@fahrer.net
 Para: Heitor Faria hei...@bacula.com.br
 Cc: bacula-users bacula-users@lists.sourceforge.net
 Enviadas: Sexta-feira, 28 de novembro de 2014 11:58:43
 Assunto: Re: [Bacula-users] Paper on Property Backup Migration to Bacula

 Hi,

 2014-11-28 14:09 GMT+01:00 Heitor Faria  hei...@bacula.com.br  :

  Mr. Bacula Users,
 

  I wanted to write a paper / guide that outlines the process of migrating
  backup data written with property software for Bacula. I think those are
  some premises:
 

  1. I know this will probably involve restore the legacy data to a given
  mount
  point in the respective servers and backup it again? Maybe with suffix
  manipulation?
 

 I guess I would try to restore the data to some server . Whether the data is
 restored to the original server or not does not bother me. I would prefer
 preserving the directory structure insetead. And I would restore to the same
 operating system type if possible.

  2. And how about changing today job backup date to the real date of the
  first
  backup of the legacy data? Anyone has done queries that could share?
 

 Using separate jobs with a naming convention that includes the original
 backup date might also work. You could also run those jobs to different
 pools with appropriate retention periods.

  3. Whatever you suggest.
 

 Kind regards

 Julian

  Regards,
 
  ==
 
  Heitor Medrado de Faria - LPIC-III | ITIL-F
 
  12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula:
  http://www.bacula.com.br/?p=2174
 
  61 2021-8260 | 8268-4220
 
  Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk:
  heitorfa...@gmail.com
 
  ===
 

  --
 
  Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 
  from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 
  with Interactivity, Sharing, Native Excel Exports, App Integration  more
 
  Get technology previously reserved for billion-dollar corporations, FREE
 
  http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 
  ___
 
  Bacula-users mailing list
 
  Bacula-users@lists.sourceforge.net
 
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ERR=Permission denied [SOLVED]

2014-11-28 Thread Alfons
Thanks for your help. The problem was that Selinux was reeenabled someway after 
the yum upgrade. Solved.

Cheers,

Alfons Muñoz


 On 23/11/2014, at 2:04, J. Echter j.ech...@echter-kuechen-elektro.de 
 mailto:j.ech...@echter-kuechen-elektro.de wrote:
 
 Am 23.11.2014 02:43, schrieb Alfons:
 Hi,
 
 My bacula system stopped working. It was fine for several month and after a 
 yum upgrade” which didn’t have any packet from bacula repository i cannot 
 make backups because some kind of permissions error.
 
 I attach a log of a backup job in case anyone can help me. Any backup job 
 produce the same result.
 
 Starting backup job bkp-cosala-neodata ..
 
 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 A job name must be specified.
 The defined Job resources are:
  1: BackupCatalog
  2: bkp-tequila-linux-fs
  3: bkp-colima-user-data
  4: bkp-comala-contpaq-data
  5: bkp-cholula-data
  6: bkp-colima-win-systemstate
  7: bkp-comala-win-systemstate
  8: RestoreJob
  9: bkp-cosala-neodata
 Select Job resource (1-9): 9
 Run Backup job
 JobName:  bkp-cosala-neodata
 Level:Full
 Client:   cosala-fd
 FileSet:  fs-cosala-neodata
 Pool: Daily (From Job resource)
 Storage:  File1 (From Job resource)
 When: 2014-11-22 19:12:38
 Priority: 10
 OK to run? (yes/mod/no):
 .. the backup job is now running. When complete, the results will be shown 
 below ..
 22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287, 
 Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
 22-Nov 19:12 bacula-dir JobId 287: Using Device FileChgr1-Dev1 to write.
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
 FileChgr1-Dev1 (/home/backup/FileChgr1-Dev1) Volume Daily-0001 failed: 
 ERR=file_dev.c:172 Could not 
 open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
 ERR=Permission denied
 
 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
 FileChgr1-Dev1