Re: [Bacula-users] Getting err=22 message in dbcheck

2012-06-15 Thread Steven A. Falco
On 06/15/2012 09:17 AM, Marco van Wieringen wrote: > On 06/15/12 01:53 PM, Steven A. Falco wrote: >> On 06/15/2012 04:36 AM, Marco van Wieringen wrote: >>> Steven A. Falco optonline.net> writes: > I closed the bug it should be part of 5.2.10 when that gets released. You can > grab > a copy from

Re: [Bacula-users] Backup starts then immediately stops transferring and times out?

2012-06-15 Thread Erich Weiler
Actually I just figured this out. I needed the bootstrap files, and the directory that bacula writes the backups in, to be owned by user 'bacula' and group 'bacula'. And it seemed like I needed to create the bootstrap files manually: touch /data/bootstrap/client1.bsr touch /data/bootstrap/clien

Re: [Bacula-users] Backup starts then immediately stops transferring and times out?

2012-06-15 Thread Josh Fisher
On 6/15/2012 1:07 PM, Erich Weiler wrote: > Hi Y'all, > > We have two RHEL 6 servers, one is running bacula-dir and bacula-sd > (with a lot of disk storage for the backups), and the other is the > client we want to back up from running bacula-fd. > > Both servers are behind different firewalls, an

[Bacula-users] Getting more than wanted in backup

2012-06-15 Thread Clark, Patricia A.
To get the multiple streams I've broken my filesets and their corresponding jobs into multiple pieces. The snippets below are 2 of the 7 that I created. I am finding that I am getting everything in /home from each of these filesets and not just the subset of the home directories. Testing with

[Bacula-users] Backup starts then immediately stops transferring and times out?

2012-06-15 Thread Erich Weiler
Hi Y'all, We have two RHEL 6 servers, one is running bacula-dir and bacula-sd (with a lot of disk storage for the backups), and the other is the client we want to back up from running bacula-fd. Both servers are behind different firewalls, and each has a public IP address that is configured fo

Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 10.52 -0400, John Drescher ha scritto: > No this is absolutely not normal. Although I am not sure what caused > that. Do you have the recycle flag set on your volumes? Yes, recycle flag is set but in this case I've manually purged a volume. The only way to restore t

Re: [Bacula-users] Restore dies every time

2012-06-15 Thread Thomas Lohman
>> Restores to the Windows client systematically crash the FD on the >> client without restoring anything. This seems to be a known, as >> yet unsolved problem. There are several posts on this on the list. Yes, we have the same problem. For now, we have rolled back our Windows clients to 5.0.3 w

Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread John Drescher
>> Suddenly, our tests with autochanger hangs with >> message >> >> "Please mount Volume "001004L4" or label a new one for" > > I had to delete the volume and relabel again to get it working. > Is this normal? To recycle a volume I have to delete it ? > No this is absolutely not normal. Although I

Re: [Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 15.15 +0200, Gandalf Corvotempesta ha scritto: > Suddenly, our tests with autochanger hangs with > message > > "Please mount Volume "001004L4" or label a new one for" I had to delete the volume and relabel again to get it working. Is this normal? To recycle a volum

Re: [Bacula-users] PoolUncopiedJobs directive

2012-06-15 Thread Marty Frasier
On 06/15/2012 03:43 AM, Uwe Schuerkamp wrote: > On Thu, Jun 14, 2012 at 09:41:21PM +0200, Georges wrote: >> Le 14/06/2012 13:00, Uwe Schuerkamp a écrit : >>> Hi folks, >>> >>> I was wondering how bacula decides wether a job has already been >>> copied to the next pool when using the PoolUncopiedJob

Re: [Bacula-users] Checking Storage Daemon file system free space before mounting/creating a volume and before running a job

2012-06-15 Thread Hugo Letemplier
2012/6/15 Hugo Letemplier : > 2012/6/15 Uwe Schuerkamp : >> >> On Thu, Jun 14, 2012 at 11:25:03PM +0200, Yougo wrote: >> >>> Is it possible to check a free space ratio on the storage daemon, >>>  fail a job if required instead of failing also the volumes, waiting >>>  for a mount… and thus avoid a

Re: [Bacula-users] Checking Storage Daemon file system free space before mounting/creating a volume and before running a job

2012-06-15 Thread Hugo Letemplier
2012/6/15 Uwe Schuerkamp : > > On Thu, Jun 14, 2012 at 11:25:03PM +0200, Yougo wrote: > >> Is it possible to check a free space ratio on the storage daemon, >>  fail a job if required instead of failing also the volumes, waiting >>  for a mount… and thus avoid a lot of successive error that could >

Re: [Bacula-users] Getting err=22 message in dbcheck

2012-06-15 Thread Marco van Wieringen
On 06/15/12 01:53 PM, Steven A. Falco wrote: > On 06/15/2012 04:36 AM, Marco van Wieringen wrote: >> Steven A. Falco optonline.net> writes: > >>> In other words, the call to rwl_writelock_p is returning EINVAL >>> because the rwl is not valid. (I added a printf right before >>> the return stateme

[Bacula-users] Please mount Volume or label a new one

2012-06-15 Thread Gandalf Corvotempesta
Suddenly, our tests with autochanger hangs with message "Please mount Volume "001004L4" or label a new one for" Slots seems to be ok and properly labeled: Slot | Volume Name| Status | Media Type | Pool | --+--+---+--+

Re: [Bacula-users] Getting err=22 message in dbcheck

2012-06-15 Thread Steven A. Falco
On 06/15/2012 04:36 AM, Marco van Wieringen wrote: > Steven A. Falco optonline.net> writes: >> In other words, the call to rwl_writelock_p is returning EINVAL >> because the rwl is not valid. (I added a printf right before >> the return statement, so I am sure that this is the place the >> EINVA

Re: [Bacula-users] Fatal error: sql_create.c:800 sql

2012-06-15 Thread Jean-François Leroux
Thanks, everybody. That was my /tmp directory, as you said. It was mounted with 16 Mb inside the vserver. I corrected that and it works now. All I have to do is updating my other servers in squeeze :) Thanks again. Jean-François ---

Re: [Bacula-users] Verify tape

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 11.32 +0200, Uwe Schuerkamp ha scritto: > The recommended procedure is to dump your bacula db offsite (or to > another host) after the backups complete. When you lose your > backup-server or your database, recovering the current bacula state is > just a mysql < dump.

Re: [Bacula-users] Checking Storage Daemon file system free space before mounting/creating a volume and before running a job

2012-06-15 Thread Uwe Schuerkamp
On Thu, Jun 14, 2012 at 11:25:03PM +0200, Yougo wrote: > Is it possible to check a free space ratio on the storage daemon, > fail a job if required instead of failing also the volumes, waiting > for a mount… and thus avoid a lot of successive error that could > cause miscomprehension for the o

Re: [Bacula-users] Verify tape

2012-06-15 Thread Uwe Schuerkamp
On Fri, Jun 15, 2012 at 11:11:26AM +0200, Gandalf Corvotempesta wrote: > Il giorno ven, 15/06/2012 alle 04.57 -0400, John Drescher ha scritto: > > bextract or bscan entire database + normal restore > > So, to restore from a tape i'll have to rescan the whole library > and then restore it as usual?

Re: [Bacula-users] Verify tape

2012-06-15 Thread John Drescher
On Fri, Jun 15, 2012 at 5:11 AM, Gandalf Corvotempesta wrote: > Il giorno ven, 15/06/2012 alle 04.57 -0400, John Drescher ha scritto: >> bextract or bscan entire database + normal restore > > So, to restore from a tape i'll have to rescan the whole library > and then restore it as usual? > If you

Re: [Bacula-users] Restore dies every time

2012-06-15 Thread Uwe Schuerkamp
On Fri, Jun 15, 2012 at 10:39:45AM +0200, Tilman Schmidt wrote: > > > Am 13.06.2012 12:13, schrieb "M. Müller": > > sometimes the restore seems to work and ends with Status=OK, but it > > allways dies. If Status is "OK", then files are restored, and hopefully > > all are restored. > > The messa

Re: [Bacula-users] Verify tape

2012-06-15 Thread Gandalf Corvotempesta
Il giorno ven, 15/06/2012 alle 04.57 -0400, John Drescher ha scritto: > bextract or bscan entire database + normal restore So, to restore from a tape i'll have to rescan the whole library and then restore it as usual? It's very time consuming, why bacula doesn't update it's catalog with files wro

Re: [Bacula-users] Verify tape

2012-06-15 Thread John Drescher
> Ok, i'll try in this way. > And how can I restore a file from a tapeset, in case of backup server > failure? > bextract or bscan entire database + normal restore > > Actually i'm doing a copy job from a full set stored on disk to a tape > library. In case i'll loose my disk-based storage, how c

Re: [Bacula-users] Verify tape

2012-06-15 Thread Gandalf Corvotempesta
Il giorno gio, 14/06/2012 alle 21.03 +0400, Konstantin Khomoutov ha scritto: > Sure: `bls` to list the tape contents and `bextract` to fetch something > for test. Ok, i'll try in this way. And how can I restore a file from a tapeset, in case of backup server failure? Actually i'm doing a copy job

Re: [Bacula-users] Restore dies every time

2012-06-15 Thread Tilman Schmidt
Am 13.06.2012 12:13, schrieb "M. Müller": > sometimes the restore seems to work and ends with Status=OK, but it > allways dies. If Status is "OK", then files are restored, and hopefully > all are restored. > The messages in the log file is allways: "bacula-fd: Bacula interrupted > by signal 11

Re: [Bacula-users] Getting err=22 message in dbcheck

2012-06-15 Thread Marco van Wieringen
Steven A. Falco optonline.net> writes: > > > In other words, the call to rwl_writelock_p is returning EINVAL > because the rwl is not valid. (I added a printf right before > the return statement, so I am sure that this is the place the > EINVAL (err 22) comes from.) > > Again, dbcheck puts ou

Re: [Bacula-users] PoolUncopiedJobs directive

2012-06-15 Thread Uwe Schuerkamp
On Thu, Jun 14, 2012 at 09:41:21PM +0200, Georges wrote: > Le 14/06/2012 13:00, Uwe Schuerkamp a écrit : > > Hi folks, > > > > I was wondering how bacula decides wether a job has already been > > copied to the next pool when using the PoolUncopiedJobs selection > > method. Can someone shed any ligh