Re: [Bacula-users] tuning lto-4

2011-12-02 Thread gary artim
180 MBs, 256MB min/max blocksize. [root@genepi1 bacula]# tapeinfo -f /dev/nst0 Product Type: Tape Drive Vendor ID: 'HP ' Product ID: 'Ultrium 4-SCSI ' Revision: 'B12H' Attached Changer API: No SerialNumber: 'HU17450M8L' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 1 SCSI LUN: 0 Ready: yes Buffere

Re: [Bacula-users] using script output in fileset

2011-12-02 Thread Silver Salonen
On 02.12.2011 17:30, Konstantin Khomoutov wrote: > On Fri, 2 Dec 2011 16:47:38 +0400 > Konstantin Khomoutov wrote: > > [...] >> From the manual regarding the Bacula Director, it does not follow >> that you can use "| ..." notation with Wild--you can only do this with >> File, it seems. >> So I'd

Re: [Bacula-users] using script output in fileset

2011-12-02 Thread Konstantin Khomoutov
On Fri, 2 Dec 2011 16:47:38 +0400 Konstantin Khomoutov wrote: [...] > From the manual regarding the Bacula Director, it does not follow > that you can use "| ..." notation with Wild--you can only do this with > File, it seems. > So I'd go another route and make your script output everything that

[Bacula-users] Searching through backed-up files

2011-12-02 Thread Marcello Romani
Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time,

Re: [Bacula-users] using script output in fileset

2011-12-02 Thread Konstantin Khomoutov
On Fri, 02 Dec 2011 13:57:42 +0200 Silver Salonen wrote: > I'm trying to get my job backing up only files that would match smth > like "*`date +%y%m%d`*". > > It should be quite easy, but it seems to not work. > > I created a script /usr/local/etc/bacula/fileset.sh which would echo > wildcard

[Bacula-users] using script output in fileset

2011-12-02 Thread Silver Salonen
Hi. I'm trying to get my job backing up only files that would match smth like "*`date +%y%m%d`*". It should be quite easy, but it seems to not work. I created a script /usr/local/etc/bacula/fileset.sh which would echo wildcards along with today's date: echo "$1/*`date +%y%m%d`*" So "/usr/loca

Re: [Bacula-users] SQL Failure while upgrading from 5.0.3 to 5.2.1

2011-12-02 Thread Martin Simmons
> On Fri, 2 Dec 2011 10:08:49 +0100, Armin Tueting said: > > >>26-Nov 12:43 sydney-dir JobId 10: Error: sql_update.c:255 sql_update.c:255 > >>update UPDATE Counters SET > >>"MinValue"=1,"MaxValue"=2147483647,CurrentValue=2,WrapCounter='' WHERE > >>Counter='DiffFileVolumeCounter' failed: You

Re: [Bacula-users] SQL Failure while upgrading from 5.0.3 to 5.2.1

2011-12-02 Thread Armin Tueting
>>26-Nov 12:43 sydney-dir JobId 10: Error: sql_update.c:255 sql_update.c:255 >>update UPDATE Counters SET >>"MinValue"=1,"MaxValue"=2147483647,CurrentValue=2,WrapCounter='' WHERE >>Counter='DiffFileVolumeCounter' failed: You have an error in your SQL syntax; >>check the manual that corresponds

Re: [Bacula-users] tuning lto-4

2011-12-02 Thread Andrea Conti
Hello, > blocksize set with mt and in bacula-sd.conf Unless you are setting "minimum block size" (which you really should not), Bacula uses the tape drive in variable block size mode, with block sizes up to the value given in "maximum block size". Setting a fixed block size with mt (and reading