Re: [Bacula-users] Backup restore

2015-08-03 Thread Gary R. Schmidt
On 4/08/2015 2:41 PM, More, Ankush wrote: > Hi Team, > > I want to restore backup of one Linux and window client to different Linux > and Window server for testing. > Is it possible? > If yes then what command I should use or need any configuration changes? > Can I initiate restore from client? >

[Bacula-users] Backup restore

2015-08-03 Thread More, Ankush
Hi Team, I want to restore backup of one Linux and window client to different Linux and Window server for testing. Is it possible? If yes then what command I should use or need any configuration changes? Can I initiate restore from client? Thank you, Ankush More This message contains informati

[Bacula-users] bacula_t selinux problem

2015-08-03 Thread Craig Shiroma
Hello, It realize later versions of selinux causes problems with restoring from Bacula, and that there are various methods to get around the problem. However, I notice there are also stat messages like those shown below: 03-Aug 14:06 JobId 123952: Could not stat "/var/spool/postfix/public/s

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Michael Schwager
On Sun, Aug 2, 2015 at 5:43 PM, Michael Schwager wrote: > Starngely, we have another tape that SHOULD be available. Tapes in this > pool are set to recycle after 90 days, and 90 days ago from today is May > 4th. > ​ We have a tape that was last written to on March 28. So why would Bacula > block

Re: [Bacula-users] Out of virtual tapes

2015-08-03 Thread Ana Emília M . Arruda
Yes, I think so, for daily full backups. I have 5 years retentions for my full backups, but they are full monthly backups. For daily and weekly backups, we use incremental and differential types. Regards, Ana On Mon, Aug 3, 2015 at 6:19 PM, Dimitri Maziuk wrote: > On 08/03/2015 04:07 PM, Ana Em

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Michael Schwager
Thanks. I will look at the max time settings. Regarding setting the enabled field, I think rather than that, I will use list nextvol, and make sure the changer is populated with the proper tape. This should keep Bacula satisfied. I can even query the database and look for some of the other tapes t

Re: [Bacula-users] Out of virtual tapes

2015-08-03 Thread Dimitri Maziuk
On 08/03/2015 04:07 PM, Ana Emília M. Arruda wrote: > Hello Robert, > > Yes, you should rethink your pool/volume configurations, specially volumes > and pool sizes regarding the amount of space you have to accommodate them. > You have a very high retention period. 365 days is high? There are plac

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Dimitri Maziuk
On 08/03/2015 03:35 PM, Michael Schwager wrote: > In my case, there are Jobs associated with the MediaId in the JobMedia > database table, but this JobId does not exist in the Job table. This means there should be a foreign key on jobmedia: jobid references job (jobid) on delete cascade. Looking

Re: [Bacula-users] MaxWaitTime and auto cancel a job waiting for a tape?

2015-08-03 Thread Ana Emília M . Arruda
Hello, Max Wait Time works as expected. I´m affraid 30 seconds is not enough time to wait for a tape to be mounted if you´re using a tape library. The default time that bacula waits for a device that is busy (initializing or something else) is 5 minutes. If you´re working with a tape library I wou

Re: [Bacula-users] Out of virtual tapes

2015-08-03 Thread Ana Emília M . Arruda
Hello Robert, Yes, you should rethink your pool/volume configurations, specially volumes and pool sizes regarding the amount of space you have to accommodate them. You have a very high retention period. It is importante to assure you will have enough space for bacula creating new volumes in the po

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Ana Emília M . Arruda
Hello Michael, I have been using Bacula tape volumes for 7 years. Since 3.X version up to now with 7.0.5 version. I had no problem with bacula recycling algorithm. About your problem, the EPW680L3 ​volume should be used instead ​EPW681L3 volume if these two volumes had the same settings (volume re

[Bacula-users] Out of virtual tapes

2015-08-03 Thread RAT
This is very similar to the recent "BLOCKED waiting on ..." thread. Q: I am thinking of making the Max Volume Bytes and Max Volumes larger to fix this. Ok? Running Jobs: Console connected at 03-Aug-15 15:28 Console connected at 03-Aug-15 15:30 JobId Type Level Files Bytes Name Status ==

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Michael Schwager
Well, to answer my own question, here's the algorithm (use The Source, Luke!): CLUE1: During the backup, after the previous tape filled, my log file says, "There are no more Jobs associated with Volume "EPW681L3". Marking it purged." That text comes from ua_purge.c, which runs the following SQL c

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Bill Arlofski
On 08/03/2015 09:45 AM, Michael Schwager wrote: > Kern, > Thanks for the reply from The Man himself :-) . > > I ran update slots, and it's true that EPW681L3 is not in the library. But > that's as I planned it it: Why would it go to EPW681L3 when EPW680L3 is right > there in the library? It is in

[Bacula-users] MaxWaitTime and auto cancel a job waiting for a tape?

2015-08-03 Thread jalil1408
I read in this link http://marc.info/?l=bacula-bugs&m=127548196026667 that The current definition of MaxWaitTime take the following status in account: JS_WaitFD JS_WaitSD JS_WaitMedia JS_WaitMount JS_WaitStoreRes JS_WaitJobRes JS_WaitClientRes JS_WaitMaxJobs JS

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Dimitri Maziuk
On 2015-08-03 08:45, Michael Schwager wrote: > Under v. 5.x, I discovered that Bacula's tape usage algorithm went > something like this: "Use an eligible tape from the library." I > discovered (I think) that I could use any tape that met Bacula's > rewritable criteria. Now, I don't know what the a

Re: [Bacula-users] Bacula BLOCKED waiting for mount

2015-08-03 Thread Michael Schwager
Kern, Thanks for the reply from The Man himself :-) . I ran update slots, and it's true that EPW681L3 is not in the library. But that's as I planned it it: Why would it go to EPW681L3 when EPW680L3 is right there in the library? It is in the same pool, it is as full as EPW681L3 once was, it's olde

Re: [Bacula-users] File Set for backing up whole harddisk (with all partitions) Windows

2015-08-03 Thread Heitor Faria
> What setting should I use to configure a FileSet for backing up a Windows disk > with all it's partitions? Hello Luc. RTNM (Read the Nice Manual =P): http://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION0014110010 Kudos, ==

[Bacula-users] File Set for backing up whole harddisk (with all partitions) Windows

2015-08-03 Thread Luc A
What setting should I use to configure a FileSet for backing up a Windows disk with all it's partitions? Best regartd, Luc -- ___ Bacula-users mailing list Bacula-users@lists.s

[Bacula-users] Backup finished, but "Fatal error: Network error with FD"/"Connection reset by peer"

2015-08-03 Thread Raimund Sacherer
Hello, we use bacula now for about 6 years and it works great. Some 6 month ago we switched to another Bacula Server. The switch included changing the OS from Linux to FreeBSD (to get better flexibility with ZFS, etc.). Since the move we experience some problems. I keep logs for about 3 month