Re: [Bacula-users] baclua suddenly stop using the whole tape

2014-10-02 Thread Markus Rosjat


Am 30.09.2014 16:30, schrieb Heitor Faria:



I have a kinda general question because I can't really determine what
happend but for a while now one of my jobs is either not running
at all
or if the job runs the tapes never get written to the full capacity.


This is usually normal, since tape drives have enabled hardware 
compression and the real capacity will depend in what kind of data is 
being backuped (e.g.: already compressed formats in your backup like 
zip, gz, iso, jpg etc. will make your tape hold less data).


I have a well defined file set with not much changes regarding the 
amount of files to save but this isnt really the problem here. Since it 
seems a bit unclear what I meant let me give you some more details.


I have a job that need at least 3 tapes to store all the data and it was 
always using the full space of the first 2 tapes befor he started 
writing on the last tape (as I would expect it) but for a while now the 
first and second tape just get written on till they are 70% or 80% full. 
And even this differs. So basically the job fails because I signals I 
need another tabpe that isnt in the changer.


Oh and I notice
the db dump was always 2gb and now its just 1,5gb is this usual (like
bacula is cleaning up old entries)


Please avoid mixing threads. It's likely that your prune / volume 
retention policy have pruned / purged some information from Bacula 
Catalog.


or could this be a cause of the problem ?


No.

this was just additional info so it may help to find a solution


regards

--
Markus Rosjatfon: +49 351 8107223 tel:%2B49%20351%208107223 
  mail: ros...@ghweb.de mailto:ros...@ghweb.de


G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de http://www.ghweb.de/
fon: +49 351 8107220 tel:%2B49%20351%208107220   fax: +49 351
8107227 tel:%2B49%20351%208107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss!
Before you print it, think about your responsibility and
commitment to the ENVIRONMENT



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
mailto:Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




--

Heitor Medrado de Faria | Need Bacula training? 10% discount coupon 
code at Udemy: bacula-users 
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users

+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br http://www.bacula.com.br/
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com mailto:heitorfa...@gmail.com



--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you 
print it, think about your responsibility and commitment to the ENVIRONMENT

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job is waiting on Storage

2014-10-02 Thread Alexei Babich
Hello.
I try to use Bacula 5.2.6 on Debian Linux.
I have one storage (hard disk), one pool, job limit (on storage) = 10 
and 20 clients. Volumes created automatically, and each job uses 1 volume.
Schedule starts all 20 jobs for all 20 clients simultaneously. But only 
one really run: some jobs in waiting on Storage status, some in 
waiting on max Storage jobs.
I want to configure bacula as follows: schedule starts all 20 jobs, but 
not more, than 10 simultaneously (storage job limit) can be in running 
state. And if one job finish work, then next job goes in runnig state.
I hope I'm clearly outlined the basic idea - I do not quite understand 
the English language :)

So, can I configure bacula so that it did what I needed?

Thank you.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job is waiting on Storage

2014-10-02 Thread John Drescher
On Thu, Oct 2, 2014 at 5:58 AM, Alexei Babich imp...@tiny-vps.com wrote:
 Hello.
 I try to use Bacula 5.2.6 on Debian Linux.
 I have one storage (hard disk), one pool, job limit (on storage) = 10
 and 20 clients. Volumes created automatically, and each job uses 1 volume.
 Schedule starts all 20 jobs for all 20 clients simultaneously. But only
 one really run: some jobs in waiting on Storage status, some in
 waiting on max Storage jobs.
 I want to configure bacula as follows: schedule starts all 20 jobs, but
 not more, than 10 simultaneously (storage job limit) can be in running
 state. And if one job finish work, then next job goes in runnig state.
 I hope I'm clearly outlined the basic idea - I do not quite understand
 the English language :)

 So, can I configure bacula so that it did what I needed?


Remember bacula storage devices operate like a tape meaning only 1
volume can be loaded at a time in a storage device. If you need more
volumes loaded you must add more storage devices and adjust your jobs
to go to the different storages.

John

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bunch of files not being backed up

2014-10-02 Thread eudald
Hello srs,

I've been working with bacula for close than 2 years although it's my first 
time writing here, but I'm falling apart.

Today I noticed something really strange and I would like to know if it's a bug 
or something that others have noticed and has its own solution.

I make a differential backup every day of the log files of all 30+ servers we 
own. They're placed on its common path: /var/log
The sense says that everything inside /var/log will be backed up, and it 
happens to every server BUT one.
With that server, bacula backs up all the files in /var/log, but I have a 
folder inside /var/log from which it just backs up the folder and not its 
content.
I must say that this folder is already on all the other servers and it's backed 
up properly.

I'm just shocked about it. I tried to restore both from webacula and from 
console and this folder is just empty!

Have you ever been in this situation? Do you need any deeper data?

Thanks and regards,
Eudald

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



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bunch of files not being backed up

2014-10-02 Thread eudald
Dear all, since I found the solution, I might share it in order to help anyone 
in my situation.

The path was on another filesystem and that's why it was not making the backup 
of the files.

It can be solved adding the option Onefs = no on fileset resource.

Eudald

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



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job is waiting on Storage

2014-10-02 Thread eudald
Hello Alexei

Yes, you can configure bacula in order to do so.

Just some things
in bacula-dir.conf, on Director braces insert directive or modify:
Maximum Concurrent Jobs = 10

In bacula-sd.conf, on Storage braces insert directive or modify:
Maximum Concurrent Jobs = 10

check config and restart bacula
It should do the work.

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



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bunch of files not being backed up

2014-10-02 Thread John Drescher
On Thu, Oct 2, 2014 at 7:48 AM, eudald bacula-fo...@backupcentral.com wrote:
 Dear all, since I found the solution, I might share it in order to help 
 anyone in my situation.

 The path was on another filesystem and that's why it was not making the 
 backup of the files.

 It can be solved adding the option Onefs = no on fileset resource.


Depending on the situation a second option is adding the paths from
different file systems to your fileset because onefs=no can backup
more than you want.

John

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not connect to Storage daemon

2014-10-02 Thread David Newman
Bacula 5.2.12 installed as a pkg on FreeBSD 10.0-RELEASE-p9

Nightly backups fail with Connection refused errors like those pasted
below.

However:

- backups succeed when run manually from bconsole; and

- the Bacula server can telnet to the backups.networktest.com address on
port 9103.

I've also pasted the Schedule sections from bacula-dir.conf.

Thanks in advance for troubleshooting clues.

dn



02-Oct 00:35 nye-dir JobId 20983: Start Backup JobId 20983,
Job=ca.2014-10-01_23.05.00_04
02-Oct 00:35 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 00:40 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 00:45 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 00:50 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 00:56 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 01:01 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
Retrying ...
02-Oct 01:05 nye-dir JobId 20983: Fatal error: bsock.c:138 Unable to
connect to Storage daemon on backups.networktest.com:9103.
ERR=Connection refused



# List of files to be backed up
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
Schedule {
  Name = WeeklyCycle
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = WeeklyCycleAfterBackup
  Run = Full sun-sat at 23:55
}


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] File volumes and scratch pool

2014-10-02 Thread Peter Wood
Hi Ben,

The settings you recommended yesterday worked and all expired volumes from
all pools were moved to Scratch. Thanks.

Now all my pools have volumes with data on them in compliance with the
backup policy I setup. As soon as a volume expires it gets moved to
Scratch. That means the Scratch pool is the only place where Bacula can
find usable volumes when needed.

Looking at the number of volumes in Scratch I can tell if I have enough for
the nightly backup but this is rough estimate. To make sure there will be
enough I usually will add 10-15 brand new ones in Scratch.

These new volumes in Scratch I consider like safety buffer. Use them if
needed but do not break the backup policy. Just because there are empty
volumes with no data doesn't mean I want to keep data for longer then the
policy defines. If I wanted to, then I would have changed the policy.

My volumes are of type files so using new volumes vs recycling expired ones
just fills up the file system with old data. It makes it hard to manage and
forecast filesystem space needs.

I have never understood Bacula's desire to override my policy and insist on
preserving data that I already defined as useless.

I guess I'm a control freak.

Anyway. Thanks for the help.

-- Peter

On Wed, Oct 1, 2014 at 2:16 PM, Roberts, Ben ben.robe...@gsacapital.com
wrote:

  Hi Peter,



 Bacula will always prefer to take a new volume (in Append state) rather
 than reuse an existing one (in the Purged, Recycled state) so as to
 preserve your backed up data for as long as possible. It will also use
 volumes in the backup pool and only resort to taking volumes from the
 Scratch pool when there are none suitable for writing in the pool.



 I’m not entirely certain which of those two criteria will win out; I think
 purged volumes in the backup pool will be used before Bacula tries to use
 an unused volume from the Scratch pool but you may wish to check this.



 I can understand why you’d want Bacula to reuse old volumes within one of
 your backup pools first (so as to maximise the number of volumes left in
 the scratch pool), but can’t see a reason why you’d prefer to reuse
 recycled volumes already moved back into the scratch pool before unused
 ones. If you did mean the latter, perhaps you can reply with your reasoning.



 Ben Roberts



 *From:* Peter Wood [mailto:peterwood...@gmail.com]
 *Sent:* 01 October 2014 22:01
 *To:* Roberts, Ben
 *Cc:* bacula-users@lists.sourceforge.net
 *Subject:* Re: [Bacula-users] File volumes and scratch pool



 Thank you Ben.



 I applied the changes and I'll monitor the behavior to confirm I did it
 right.



 If I have mix of recycled volumes and brand new, never used volumes in
 Scratch, which ones Bacula will grab first?



 I'd really prefer to setup Bacula so it will reuse the old ones instead of
 grabbing brand new volumes.



 On Wed, Oct 1, 2014 at 1:07 PM, Roberts, Ben ben.robe...@gsacapital.com
 wrote:

 Hi Peter,



 You need to set “Recycle Pool = Scratch” in your Scratch pool (and make
 sure you haven’t overridden it in any other poo)l. Note that this setting
 is applied to the volume when it’s created, so after changing the Scratch
 pool definition you will need to update all your volumes to re-apply the
 Recycle pool. It might be easiest to do this by directly modifying the
 catalog, else you can use a quick bash script to generate a sequence of
 “update volume…” commands to echo into bconsole.



 Regards,

 Ben Roberts



 *From:* Peter Wood [mailto:peterwood...@gmail.com]
 *Sent:* 01 October 2014 20:56
 *To:* bacula-users@lists.sourceforge.net
 *Subject:* [Bacula-users] File volumes and scratch pool



 In Bacula-5.2.13 how do I setup expired volumes to go in the Scratch pool?



 I create new file type volumes like this:

   label storage=File volume=vol001 pool=Scratch



 When needed volumes are taken out of Scratch and assigned to the
 appropriate pool and used. Once in the pull they are never released back to
 Scratch after they expire.



 After retentionperiod ends volumes are reused but only within the pool
 they have been originally assigned.



 I see volume properties that may be related but I can't find documentation
 about them:

 scratchpoolid: 0

 recyclepoolid: 0



 Any help in making volumes go in Scratch after retention period expire so
 they can be reused by any job.



 Thank you,



 -- Peter
 --

 This email and any files transmitted with it contain confidential and
 proprietary information and is solely for the use of the intended
 recipient. If you are not the intended recipient please return the email to
 the sender and delete it from your computer and you must not use, disclose,
 distribute, copy, print or rely on this email or its contents. This
 communication is for informational purposes only. It is not intended as an
 offer or solicitation for the purchase or sale of any financial instrument
 or as an official confirmation of any transaction. 

[Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread bdam
Hi Heitor, sincere thanks for tyou help. I just made those changes, restarted 
baula a,d inspecting the backup with restore, 5, then nav to a users .cache dir 
showed it had still backed up .cache. Here is the full config I used, hope i 
got it right:



FileSet {
  Name = FileSet-Home
  Include {
Options {
  signature = MD5
  WildFile = core.*
  Exclude = yes
}
File = /home
  }
  Exclude {
File = /.cache
File = /.pulse
  }
}

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread John Drescher
On Thu, Oct 2, 2014 at 2:38 PM, bdam bacula-fo...@backupcentral.com wrote:
 Hi Heitor, sincere thanks for tyou help. I just made those changes, restarted 
 baula a,d inspecting the backup with restore, 5, then nav to a users .cache 
 dir showed it had still backed up .cache. Here is the full config I used, 
 hope i got it right:



I think your fileset should be:

 FileSet {
   Name = FileSet-Home
   Include {
 Options {
   signature = MD5
   WildFile = core.*
   Exclude = yes
 }
   }
   Exclude {
 File = /.cache
 File = /.pulse
   }
  File = /home
 }

John

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread Heitor Faria
Bill,

This modification does not affect prior done backups. Only the next ones
will not have the core.* files backuped.
You can always test your fileset against the real data list with the
estimate listing bconsole command.

Regards,

On Thu, Oct 2, 2014 at 3:38 PM, bdam bacula-fo...@backupcentral.com wrote:

 Hi Heitor, sincere thanks for tyou help. I just made those changes,
 restarted baula a,d inspecting the backup with restore, 5, then nav to a
 users .cache dir showed it had still backed up .cache. Here is the full
 config I used, hope i got it right:



 FileSet {
   Name = FileSet-Home
   Include {
 Options {
   signature = MD5
   WildFile = core.*
   Exclude = yes
 }
 File = /home
   }
   Exclude {
 File = /.cache
 File = /.pulse
   }
 }

 +--
 |This was sent by bill.dam...@yahoo.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

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




-- 

Heitor Medrado de Faria
Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site:
bacula.com.br http://www.bacula.com.br/?p=2394
Need Bacula training? 10% discount coupon code at Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread bdam
@dresherjm It says /home is invalid in that position
@heitor Sorry I didn't make it clear, but of course I ran a new job and tested 
that when done. By the way how can estimate tell me it won't back up the core 
and .cache files - do I just compare its output with du or something? Also, I 
actuially watch the job by repeatedly doing status all, and I see it ploughing 
through the .cache folder with Processing file I thought that would not 
show the .cache folder there if I'd got it right - is that correct? 

Thanks for everyones help so far!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread Heitor Faria

 @heitor Sorry I didn't make it clear, but of course I ran a new job and
 tested that when done. By the way how can estimate tell me it won't back up
 the core and .cache files - do I just compare its output with du or
 something? Also, I actuially watch the job by repeatedly doing status all,
 and I see it ploughing through the .cache folder with Processing file
 I thought that would not show the .cache folder there if I'd got it right -
 is that correct?


Bill: sorry me. Is .cache a folder?
So the option is: WildDir, not WildFile.

*wilddir=string*Specifies a wild-card string to be applied to directory
names only. No filenames will be matched by this directive. Note, if
*Exclude* is not enabled, the wild-card will select directories to be
included. If *Exclude=yes* is specified, the wild-card will select which
directories are to be excluded. Multiple wild-card directives may be
specified, and they will be applied in turn until the first one that
matches. Note, if you exclude a directory, no files or directories below it
will be matched.

It is recommended to enclose the string in double quotes.

You may want to test your expressions prior to running your backup by using
the bwild program. Please see the Utilitiesbwild chapter of this manual for
more. You can also test your full FileSet definition by using the
estimateestimate command in the Console chapter of this manual. An example
of excluding with the WildDir option on Win32 machines is presented below.



 Thanks for everyones help so far!

 +--
 |This was sent by bill.dam...@yahoo.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

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




-- 

Heitor Medrado de Faria
Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site:
bacula.com.br http://www.bacula.com.br/?p=2394
Need Bacula training? 10% discount coupon code at Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread bdam
Bill: sorry me. Is .cache a folder? 

Yes its a folder

So the option is: WildDir, not WildFile.

But WildFile refers to core.* !! Are you sure that's what you meant?

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't figure out exclude .cache config

2014-10-02 Thread Heitor Faria
This way: WildDir = *.cache*


On Thu, Oct 2, 2014 at 6:47 PM, bdam bacula-fo...@backupcentral.com wrote:

 Bill: sorry me. Is .cache a folder?

 Yes its a folder

 So the option is: WildDir, not WildFile.

 But WildFile refers to core.* !! Are you sure that's what you meant?

 +--
 |This was sent by bill.dam...@yahoo.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

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




-- 

Heitor Medrado de Faria
Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site:
bacula.com.br http://www.bacula.com.br/?p=2394
Need Bacula training? 10% discount coupon code at Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Dell autochanger not changing

2014-10-02 Thread Russ Button

The times they are a-changing, but my Dell Autochanger sure isn't...

I'm working at getting an initial install of bacula up and running.  My 
backup server is a Dell R510 running CentOS 7.0, which has bacula 
version 5.2.13-18 in the yum repository.  I'm using mysql for the data 
base.  We're going to be writing to a Dell ML6000 (a re-labeled IBM 
Ultrium TD6) with LTO-6 tapes, which hold 2.5TB native.   There is one 
tape drive and 40 tape slots in the Dell autochanger, with 30 new, 
unused tapes in them.


I've got the director successfully talking to the database and the local 
file daemon.  I believe that the storage daemon is successfully talking 
to the autochanger and the tape drive because in bconsole, I was able to 
add the tapes to the Default pool:



*add pool=Default storage=ML6000-LTO3-0
You probably don't want to be using this command since it
creates database records without labeling the Volumes.
You probably want to use the label command.

Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Enter number of Volumes to create. 0=fixed name. Max=30: 30
Enter base volume name: LTO6-Vol
Enter the starting number: 01
Enter slot (0 for none): 1
InChanger? yes/no: yes
30 Volumes created in pool Default
You have messages.



At first, it seemed to have done what I wanted, which was to get all of 
the tapes into the Default pool.  In bconsole, I ran list media, which 
gave me:




*list media
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Pool: Default
+-+--+---+-+--+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |

+-+--+---+-+--+--+--+-+--+---+---+-+
|   1 | LTO6-Vol0001 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   2 | LTO6-Vol0002 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   3 | LTO6-Vol0003 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   4 | LTO6-Vol0004 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   5 | LTO6-Vol0005 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   6 | LTO6-Vol0006 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   7 | LTO6-Vol0007 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   8 | LTO6-Vol0008 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|   9 | LTO6-Vol0009 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  10 | LTO6-Vol0010 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  11 | LTO6-Vol0011 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  12 | LTO6-Vol0012 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  13 | LTO6-Vol0013 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  14 | LTO6-Vol0014 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  15 | LTO6-Vol0015 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  16 | LTO6-Vol0016 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  17 | LTO6-Vol0017 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  18 | LTO6-Vol0018 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  19 | LTO6-Vol0019 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  20 | LTO6-Vol0020 | Append|   1 |0 |0 |   
31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
|  21 | LTO6-Vol0021 | Append|   1 |  

Re: [Bacula-users] Dell autochanger not changing

2014-10-02 Thread Ana Emília M . Arruda
Hi Russ,

First of all, you said that you have LTO-6 tapes. So, I recomend you
specify it in your Device name definition, that will avoid some confusion
in the future:

Device {
  Name = ML6000-LTO6-0
...
}

A second question is: don't you have barcodes? Are you sure you're going to
work without barcode labels? If you're not going to work with barcodes, you
should use the label command for labeling the tapes (before you should
guarantee they are ready for labeling with mt -f /dev/st0 rewind and weof).
The add command, as it tells you when you run it, doesn't labeled your
volumes and you need this.

So, use the label or label barcodes commands, they will label your
volumes and records them corretly in the bacula catalog (MediaId, name,
slot, inchanger flag, etc.)

Regards,
Ana

On Thu, Oct 2, 2014 at 8:27 PM, Russ Button russ...@telmate.com wrote:

  The times they are a-changing, but my Dell Autochanger sure isn't...

 I'm working at getting an initial install of bacula up and running.  My
 backup server is a Dell R510 running CentOS 7.0, which has bacula version
 5.2.13-18 in the yum repository.  I'm using mysql for the data base.  We're
 going to be writing to a Dell ML6000 (a re-labeled IBM Ultrium TD6) with
 LTO-6 tapes, which hold 2.5TB native.   There is one tape drive and 40 tape
 slots in the Dell autochanger, with 30 new, unused tapes in them.

 I've got the director successfully talking to the database and the local
 file daemon.  I believe that the storage daemon is successfully talking to
 the autochanger and the tape drive because in bconsole, I was able to add
 the tapes to the Default pool:


 *add pool=Default storage=ML6000-LTO3-0
 You probably don't want to be using this command since it
 creates database records without labeling the Volumes.
 You probably want to use the label command.

 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 Enter number of Volumes to create. 0=fixed name. Max=30: 30
 Enter base volume name: LTO6-Vol
 Enter the starting number: 01
 Enter slot (0 for none): 1
 InChanger? yes/no: yes
 30 Volumes created in pool Default
 You have messages.



 At first, it seemed to have done what I wanted, which was to get all of
 the tapes into the Default pool.  In bconsole, I ran list media, which
 gave me:
 


  *list media
 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 Pool: Default

 +-+--+---+-+--+--+--+-+--+---+---+-+
 | MediaId | VolumeName   | VolStatus | Enabled | VolBytes | VolFiles |
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
 |

 +-+--+---+-+--+--+--+-+--+---+---+-+
 |   1 | LTO6-Vol0001 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   2 | LTO6-Vol0002 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   3 | LTO6-Vol0003 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   4 | LTO6-Vol0004 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   5 | LTO6-Vol0005 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   6 | LTO6-Vol0006 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   7 | LTO6-Vol0007 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   8 | LTO6-Vol0008 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |   9 | LTO6-Vol0009 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  10 | LTO6-Vol0010 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  11 | LTO6-Vol0011 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  12 | LTO6-Vol0012 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  13 | LTO6-Vol0013 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  14 | LTO6-Vol0014 | Append|   1 |0 |0 |
 31,536,000 |   1 |0 | 0 | LTO-6 | -00-00 00:00:00 |
 |  

Re: [Bacula-users] Could not connect to Storage daemon

2014-10-02 Thread Ana Emília M . Arruda
Hi David,

Have you checked about scheduled events that could be leading your
bacula-sd host unavailable at that time? Some kind of outage?

Regards,
Ana

On Thu, Oct 2, 2014 at 2:01 PM, David Newman dnew...@networktest.com
wrote:

 Bacula 5.2.12 installed as a pkg on FreeBSD 10.0-RELEASE-p9

 Nightly backups fail with Connection refused errors like those pasted
 below.

 However:

 - backups succeed when run manually from bconsole; and

 - the Bacula server can telnet to the backups.networktest.com address on
 port 9103.

 I've also pasted the Schedule sections from bacula-dir.conf.

 Thanks in advance for troubleshooting clues.

 dn



 02-Oct 00:35 nye-dir JobId 20983: Start Backup JobId 20983,
 Job=ca.2014-10-01_23.05.00_04
 02-Oct 00:35 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 00:40 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 00:45 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 00:50 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 00:56 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 01:01 nye-dir JobId 20983: Warning: bsock.c:132 Could not connect
 to Storage daemon on backups.networktest.com:9103. ERR=Connection refused
 Retrying ...
 02-Oct 01:05 nye-dir JobId 20983: Fatal error: bsock.c:138 Unable to
 connect to Storage daemon on backups.networktest.com:9103.
 ERR=Connection refused



 # List of files to be backed up
 # When to do the backups, full backup on first sunday of the month,
 #  differential (i.e. incremental since full) every other sunday,
 #  and incremental backups other days
 Schedule {
   Name = WeeklyCycle
   Run = Full 1st sun at 23:05
   Run = Differential 2nd-5th sun at 23:05
   Run = Incremental mon-sat at 23:05
 }

 # This schedule does the catalog. It starts after the WeeklyCycle
 Schedule {
   Name = WeeklyCycleAfterBackup
   Run = Full sun-sat at 23:55
 }



 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

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

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users