[Bacula-users] few free space due to a failed first backup

2006-08-09 Thread Marco Strullato
Hi, I've done the 1st backup of 40GB from a server ( the first is a a
full backup).

Unluckly the job terminated with an error and now the storage of the
storage daemon has  many GB of lost space.

How can I remove that files from the storage?

thanks

marco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] newbie with tapes question...

2006-08-09 Thread Jaime Ventura
Hi
I've made some tests with a tape using btape command.
Now, I don't know how to erase the tape so I cant use it with bacula.
Can you help me?
thanks
-- 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] newbie with tapes question...

2006-08-09 Thread Julien Cigar
mt -f /dev/nst0 rewind
mt -f /dev/nst0 weof
mt -f /dev/nst0 rewind

bconsole
* label


Jaime Ventura wrote:
 Hi
 I've made some tests with a tape using btape command.
 Now, I don't know how to erase the tape so I cant use it with bacula.
 Can you help me?
 thanks
   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FreeBSD beta updated

2006-08-09 Thread Dan Langille
The FreeBSD bacula-server-devel port has been upgrade to version 
1.38.10.b1.2006060

  http://www.freshports.org/sysutils/bacula-server-devel/

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] newbie with tapes question...

2006-08-09 Thread Dan Langille
On 9 Aug 2006 at 11:29, Jaime Ventura wrote:

 Hi
 I've made some tests with a tape using btape command.
 Now, I don't know how to erase the tape so I cant use it with bacula.
 Can you help me?

http://www.bacula.org/rel-manual/Bacula_Console.html

Look for 'label' about 1/3 of the way down.  You want something like 
this:

mt -f /dev/nsa0 rewind
mt -f /dev/nsa0 weof


-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileList scripting help

2006-08-09 Thread Davis, Jacob
It appears that a crucial line break was missing from my original post.
To be clear, get_newest_file.py accepts a single path argument and
returns the fully qualified path to a single filename like so:

 $ get_newest_file.py /usr/local/backups/ 
 /usr/local/backups/newfile.tar

Any ideas why Bacula does not like my FileList?

-Jake


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Davis, Jacob
 Sent: Tuesday, August 08, 2006 11:14 AM
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] FileList scripting help
 
 Hello,
 
 I'm attempting to create a file list using an external script 
 as described in the following section of the manual: 
 quote
 # Any name beginning with a vertical bar (|) is assumed to be 
 the name of a program. This program will be executed on the 
 Director's machine at the time the Job starts (not when the 
 Director reads the configuration file), and any output from 
 that program will be assumed to be a list of files or 
 directories, one per line, to be included.
 --end quote--
 
 My get_newest_file.py script accepts a path argument and 
 returns the name of the youngest file contained within the 
 specified path. On the command line it works like this:
 
 $ get_newest_file.py /usr/local/backups/ 
 /usr/local/backups/newfile.tar
 
 My Bacula FileSet looks like this:
 
 FileSet {
   Name = Latest File
   Include {
 Options { signature = MD5 }
 File = '|get_newest_file.py /usr/local/backups/'
   }
 }
 
 However, when the job runs I get the following error:
 
  Could not stat '|get_newest_file.py /usr/local/backups/': 
 ERR=No such
 file or directory
 
 I've confirmed that the script is in the path for the bacula 
 user and the user has read/write permissions on the files in 
 question. I'm guessing this is a simple syntax error on my 
 part but I'm not sure what the problem is.
 
 Cheers,
 -Jake

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] few free space due to a failed first backup

2006-08-09 Thread Silver Salonen
On Wednesday 09 August 2006 13:20, Marco Strullato wrote:
 Hi, I've done the 1st backup of 40GB from a server ( the first is a a
 full backup).
 
 Unluckly the job terminated with an error and now the storage of the
 storage daemon has  many GB of lost space.
 
 How can I remove that files from the storage?
 
 thanks
 
 marco

Hi.

I think at first you have to remove the corresponding volume from database 
(command delete volume) and then remove files from your backup-media (e.g. 
HDD).

Silver

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] few free space due to a failed first backup

2006-08-09 Thread Silver Salonen
To my mind it's not yet possible to delete job's files from a volume. So if 
you use disk-based backups, I believe you shouldn't allow more than 1 job per 
volume (Maximum Volume Jobs = 1 directive in pool's configuration), so that 
if you wanted to delete a failed job's files, you'd delete the whole volume. 
Eventually you'll have as much volumes as you have jobs (not clients).
At least it's what I've done.

An example of my pools:

Pool {
Name = pool-var-diff
Pool Type = Backup
Recycle = yes
Recycle Oldest Volume = yes
AutoPrune = yes
Volume Retention = 30 days
Accept Any Volume = yes
Label Format = var-diff-
Maximum Volume Jobs = 1
Maximum Volumes = 5
}

Pool {
Name = pool-var-full
Pool Type = Backup
Recycle = yes
Recycle Oldest Volume = yes
AutoPrune = yes
Volume Retention = 365 days
Accept Any Volume = yes
Label Format = var-full-
Maximum Volume Jobs = 1
Maximum Volumes = 13
}

Pool {
Name = pool-var-incr
Pool Type = Backup
Recycle = yes
Recycle Oldest Volume = yes
AutoPrune = yes
Volume Retention = 13 days
Accept Any Volume = yes
Label Format = var-incr-
Maximum Volume Jobs = 1
Maximum Volumes = 12
}

Silver

On Wednesday 09 August 2006 16:21, Marco Strullato wrote:
 I can not remove the volume because I've just set up all with just one 
volume...
 
 So do you suggest me to split also volumes?
 I mean one volume for each client?
 
 thanks
 
 marco
 
 2006/8/9, Silver Salonen [EMAIL PROTECTED]:
  On Wednesday 09 August 2006 13:20, Marco Strullato wrote:
   Hi, I've done the 1st backup of 40GB from a server ( the first is a a
   full backup).
  
   Unluckly the job terminated with an error and now the storage of the
   storage daemon has  many GB of lost space.
  
   How can I remove that files from the storage?
  
   thanks
  
   marco
 
  Hi.
 
  I think at first you have to remove the corresponding volume from database
  (command delete volume) and then remove files from your backup-media 
(e.g.
  HDD).
 
  Silver

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Installation Issue

2006-08-09 Thread Rodrigo Gama
I'm running mysql 5.0.18 under SuSE Linux. I Installed mysql (and mysql-devel) using yast and now I want to build bacula from source code. 
When I run ./configure --with-mysql /usr/include/mysql It halts, with the following error:checking for MySQL support... noconfigure: error: Invalid MySQL directory /usr/include/mysql/ - unable to find mysql.h under /usr/include/mysql/
But if I run ls /usr/include/mysql/ the output is this:errmsg.h m_string.h my_dbug.h my_global.h my_no_pthread.h my_sys.h mysql_com.h mysql_version.h raid.h sslopt-case.h 
typelib.hkeycache.h my_alloc.h my_dir.h my_list.h my_pthread.h my_xml.h mysql_embed.h mysqld_ername.h sql_common.h sslopt-longopts.hm_ctype.h my_config.h my_getopt.h my_net.h my_semaphore.h 
mysql.h mysql_time.h mysqld_error.h sql_state.h sslopt-vars.hThat is, I have a mysql.h file under that directory. Does anyone knows what's happenning here? Any help will be appreciated
-- Engraçado, costumam dizer que tenho sorte. Só sei que, quanto mais eu me preparo, mais sorte eu tenho (Antony Robbins) --Rodrigo Gama
[EMAIL PROTECTED]LONGADATATecnologia daInformação--
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileList scripting help

2006-08-09 Thread Russell Howe
Davis, Jacob wrote, sometime around 09/08/06 14:16:
 It appears that a crucial line break was missing from my original post.
 To be clear, get_newest_file.py accepts a single path argument and
 returns the fully qualified path to a single filename like so:
 
 $ get_newest_file.py /usr/local/backups/ 
 /usr/local/backups/newfile.tar
 
 Any ideas why Bacula does not like my FileList?
 
 File = '|get_newest_file.py /usr/local/backups/'

 Could not stat '|get_newest_file.py /usr/local/backups/': 
 ERR=No such
 file or directory

Bacula is looking for a file called:

|get_newest_file.py /usr/local/backups/

Take out your single quotes

-- 
Russell Howe
[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] file permissions for bacula-sd on /var/bacula directory... again :P

2006-08-09 Thread Jaime Ventura
I believe this issue has been discussed before, but I dint understand 
how to solve it.
I would really appreciate if any anyone can help me.

Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM and 'im trying to 
setup an autocharger.
When I run update slots command at bconsole, I get the following;

Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3306 Issuing autochanger slots command.
Device IBM Ultrium 3 has 8 slots.
Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child exited with 
code 1.
3306 Issuing autochanger list command.
Invalid Slot number: mktemp: cannot create temp file 
/var/bacula/mtx.lHTkYe4218: Permission denied
Invalid Slot number: /etc/bacula/mtx-changer: line 157: 
/var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: Autochanger error: ERR=Child exited with code 1
No Volumes found to label, or no barcodes.

I get a permission denied on /var/bacula/.
As I told I've installed the RPM package of bacula and all the 
permissions seems to be correct:
[EMAIL PROTECTED] ~]# ls /var/bacula -la
total 1808
drwxrwx---   2 root   bacula4096 Aug  9 14:35 .
drwxr-xr-x  25 root   root  4096 Mar 24 15:16 ..
-rw-r-   1 bacula bacula 200 Aug  7 23:10 BackupCatalog.bsr
-rw-r-   1 bacula bacula1396 Aug  9 14:35 bacula-dir.9101.state
-rw-r-   1 root   bacula 996 Aug  9 14:35 bacula-fd.9102.state
-rw-r-   1 bacula bacula 1752134 Aug  8 23:35 bacula.sql
-rw---   1 bacula bacula   0 Aug  9 14:24 isep-dir.conmsg
-rw-r-   1 bacula bacula   36921 Aug  9 05:23 log
[EMAIL PROTECTED] ~]# ps aux |  grep bacula
bacula2973  0.0  0.0 102624 2292 ?   Ssl  14:40   0:00 
/usr/sbin/bacula-sd -u bacula -g disk -c /etc/bacula/bacula-sd.conf
root  3057  0.0  0.0 80828 1904 ?Ssl  14:40   0:00 
/usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf
bacula3073  0.0  0.0 104360 2792 ?   Ssl  14:40   0:00 
/usr/sbin/bacula-dir -u bacula -g bacula -c /etc/bacula/bacula-dir.conf
root  4169  0.0  0.0 79832 1936 pts/2Sl+  14:43   0:00 
/usr/sbin/bconsole -c /etc/bacula/bconsole.conf
root  4235  0.0  0.0 51056  608 pts/1S+   14:46   0:00 grep bacula

[EMAIL PROTECTED] ~]# grep bacula /etc/group
disk:x:6:root,bacula
bacula:x:102:bacula

[EMAIL PROTECTED] ~]# grep bacula /etc/passwd
bacula:x:101:6:Bacula:/var/bacula:/sbin/nologin
[EMAIL PROTECTED] ~]#

Thanks


-- 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Issues

2006-08-09 Thread Martin Simmons
 On Tue, 8 Aug 2006 15:10:46 -0700 (PDT), Stephen Kennedy said:
 
 Been using Bacula for a few years now and have always been experiencing the
 same problems.  I am using 1.38.1.
 
 1) Tape Error
 
 Why does a tape get the Error status when there is a database problem?  So
 what if the database died, the tape is still good and should still be usable
 for the next job.

Bacula keeps information about the tape in the database, in particular the
number of tape files already written to it.

Did you get a message like this?

The number of files mismatch! Volume=xx Catalog=yy

If so, then Bacula is trying to avoid losing your data on the tape, because if
it were to use the incorrect file count from the database when appending it
would wipe out any backups that follow.

I think you need a more reliable database server. :-)

__Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Issue

2006-08-09 Thread Martin Simmons
 On Mon, 7 Aug 2006 16:02:59 -0300, Rodrigo Gama said:
 
 **I'm running mysql 5.0.18 under SuSE Linux. I Installed mysql (and
 mysql-devel) using yast and now I want to build bacula from source code.
 
 When I run ./configure --with-mysql /usr/include/mysql It halts, with the
 following error:
 
 checking for MySQL support... no
 configure: error: Invalid MySQL directory /usr/include/mysql/ - unable to
 find mysql.h under /usr/include/mysql/
 
 But if I run   ls /usr/include/mysql/  the output is this:
 
 
 errmsg.hm_string.h   my_dbug.hmy_global.h  my_no_pthread.h
 my_sys.h  mysql_com.hmysql_version.h  raid.hsslopt-case.h
 typelib.h
 keycache.h  my_alloc.h   my_dir.h my_list.hmy_pthread.h
 my_xml.h  mysql_embed.h  mysqld_ername.h  sql_common.h  sslopt-longopts.h
 m_ctype.h   my_config.h  my_getopt.h  my_net.h my_semaphore.h   mysql.h
 mysql_time.h   mysqld_error.h   sql_state.h   sslopt-vars.h
 
 
 That is, I have a mysql.h file under that directory. Does anyone knows
 what's happenning here? Any help will be appreciated

I think you need

./configure --with-mysql=/usr

or maybe just

./configure --with-mysql

__Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debian rescue cd

2006-08-09 Thread Scott Lair
Mike Reinehr wrote:
 On Monday 07 August 2006 03:37 pm, Scott Lair wrote:
   
 Hi folks,

 Been using bacula 1.36.2 for a few months on a debian sarge system.  I
 am having trouble making a rescue cd.  First looked for a deb package to
 help with the job but I do not see one on debian.org nor does google
 yield anything.  So if you know of a rescue deb file please let me know.
 

   Have you had a look at Debian GNU/Linux Live-CD 
 (http://mklivecd.sourceforge.net/)? I haven't used it, myself, but you might 
 give it a try  let us know how it works. Myself, I just back up all my 
 configuration files  a list of installed packages and use Knoppix.

 Cheers!

 cmr

   

Ok, looked at the mklivecd, but couldn't get that to work.  There isn't 
really any documentation, so I didn't get far.
I did find this which I am downloading at the moment to test.

http://debian-live.alioth.debian.org/index.html

For Etch and later, but it may work for me.

Still wondering if it is possible to create the bacula rescue cd on 
debian.  Anyone done it?

thanks Mike,

scott

 So, I got the earliest source available from sourceforge - 1.36.3
 (figured it would be close enough) and tried to make the rescue.
 I am getting stuck on the /etc/sysconfig error as shown here:
 ---
 [EMAIL PROTECTED]:/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cd
 rom$ sudo make all
 ./makekernel
 Updating modules in root RAM disk
 Coping /boot/vmlinuz-2.4.27-3-686 to
 /etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/cdtree/boot/isol
 inux/vmlinuz ./makebinaries
 Building root /sbin ...
  Could not find ash on your system 
  Could not find chkconfig on your system 
  Could not find consoletype on your system 
  Could not find dhcpd on your system 
  Could not find dump on your system 
  Could not find fsck.jfs on your system 
  Could not find getkey on your system 
  Could not find hdparm on your system 
  Could not find insmod.static on your system 
  Could not find ipcalc on your system 
  Could not find lilo on your system 
  Could not find ltrace on your system 
  Could not find mgetty on your system 
  Could not find mingetty on your system 
  Could not find mkbootdisk on your system 
  Could not find mkfs.jfs on your system 
  Could not find nmap on your system 
  Could not find nologin on your system 
  Could not find raidstart on your system 
  Could not find scsi_info on your system 
  Could not find usleep on your system 
 Building root shared libaries ...
 Building /etc ...
  Could not find /etc/bashrc in /etc 
  Could not find /etc/filesystems in /etc 
 !
  
  Warning your /etc/ssh directory was copied. 
  Keep this directory and the CDROM secure.   
  
 !
 make[1]: Entering directory
 `/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/bacula'
 ./getdiskinfo
 Begin collecting system info ...
 Done collecting info.
 Begin creating scripts ...
 Done making partitioning scripts
 Begin making formatting script(s) ...
 Done building scripts.
 ./make_rescue_disk
 Tarring /etc files to current directory
 tar: Removing leading `/' from member names
 tar: /etc/sysconfig: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors
 make[1]: *** [all] Error 2
 make[1]: Leaving directory
 `/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/bacula'
 make: *** [bacula] Error 2
 ---
 -

 I re-ran the configure with --with-sysconfig=/etc/default, the debian
 equivalent AFAIK, but got the same result here.



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

Re: [Bacula-users] FileList scripting help

2006-08-09 Thread Davis, Jacob
Thanks,

I had tried it that way initially but was thrown off because it didn't
work.
Turns out I had to give the full path to the script even though it was
in the path for the bacula user. That fixed it.

-Jake
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Russell Howe
 Sent: Wednesday, August 09, 2006 10:07 AM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] FileList scripting help
 
 Davis, Jacob wrote, sometime around 09/08/06 14:16:
  It appears that a crucial line break was missing from my 
 original post.
  To be clear, get_newest_file.py accepts a single path argument and 
  returns the fully qualified path to a single filename like so:
  
  $ get_newest_file.py /usr/local/backups/ 
  /usr/local/backups/newfile.tar
  
  Any ideas why Bacula does not like my FileList?
  
  File = '|get_newest_file.py /usr/local/backups/'
 
  Could not stat '|get_newest_file.py /usr/local/backups/': 
  ERR=No such
  file or directory
 
 Bacula is looking for a file called:
 
 |get_newest_file.py /usr/local/backups/
 
 Take out your single quotes
 
 --
 Russell Howe
 [EMAIL PROTECTED]
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
 dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Slow Backup Performance on Windows 2003.

2006-08-09 Thread pedro moreno
 Hi. I have been working with bacula for some months, i love this software, my current problem is this one:My Test Server.I'm running bacula server 1.38.11 on FreeBSD 6.1-p3Mysql 4.1.20Tape HP Storage Works 232 External 200GB Compress
HD 200 IDE 7200 RPMAMD Duron 1.6 Ghz512 RAMClients:2 Win NT 4 Client 1.38.41 Windows 2k3 Estandard Edition Client 1.38.41 Linux Red Hat 9 (bonding ON -- 2 NIC's) 1.38.4My production server is:
I'm running bacula server 1.38.5 on FreeBSD 5.4-p16
Mysql 5.0.21
Tape HP Storage Works 232 External 200GB Compress
HD 80 IDE 5400 RPM
AMD Duron 1.6 Ghz
512 RAM
Im going to talk about the test server, because the production server has almost the same performance, this is one report from a backup for win2k3:JobId: 56 Job: MBXPDC.2006-08-09_15.39.26
 Backup Level: Full Client: MBXPDC Windows Server 2003,MVS,NT 5.2.3790 FileSet: MBXPDC-FS 2006-08-02 15:58:32 Pool: MueblexFullTape
 Storage: LTO-1 Scheduled time: 09-Aug-2006 15:39:07 Start time: 09-Aug-2006 15:39:32 End time: 09-Aug-2006 15:42:36 Elapsed time: 3 mins 4 secs
 Priority: 12 FD Files Written: 686 SD Files Written: 686 FD Bytes Written: 145,029,656 (145.0 MB) SD Bytes Written: 145,138,453 (145.1 MB) Rate: 
788.2 KB/s Software Compression: None Volume name(s): FullTape-0003 Volume Session Id: 4 Volume Session Time: 1155162336 Last Volume Bytes: 2,969,478,620 (2.969 GB) Non-fatal FD errors: 0
 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OKYou can see the rate...?This is the problem, this is a new server Supermicro:
Xeon 3Ghz (2 cpu)2 GB RAMRaid 5(4 HD)The others serves are old computers and the Rate value is  1MB/s, i still cannot increase this value. Example:WinNT 4(A) --- Spool On --Net..Buffer Size = 65536 Rate 
2319.7 Data Size 176MBWinNT 4(B) --- Spool On --Net..Buffer Size = 65536 Rate 2296.6 Data Size 339MBLinux --- Spool On --Net..Buffer Size = 65536 Rate 5536 Data Size 155MBFreeBSD ---Spool On --Net..Buffer Size = 65536 Rate 
1709.7  Data Size 8MBWin2k3 ---Spool On --Net..Buffer Size = 65536 Rate 788.2  Data Size 145MB VSS=yesWinNT 4(A) --- Spool OFF --Net..Buffer Size = 65536 Rate 2319.7 Data Size 176MB
WinNT 4(B) --- Spool OFF --Net..Buffer Size = 65536 Rate 2296.6 Data Size 339MB
Linux --- Spool OFF --Net..Buffer Size = 65536 Rate 5536 Data Size 155MB
FreeBSD ---Spool OFF --Net..Buffer Size = 65536 Rate 1709.7  Data Size 8MBWin2k3 ---Spool OFF --Net..Buffer Size = 65536 Rate 824   Data Size 145MB VSS=yes
Now check thi:WinNT 4(A) --- Spool OFF--Net..Buffer Size = default Rate 1388.2  Data Size 176MB
WinNT 4(B) --- Spool OFF --Net..Buffer Size = default Rate 1716  Data Size 339MB
Linux --- Spool OFF --Net..Buffer Size = default Rate 6739.5  Data Size 155MB
FreeBSD ---Spool OFF --Net..Buffer Size = default Rate 1398.7  Data Size 8MB
Win2k3 ---Spool OFF --Net..Buffer Size = default Rate 805.7  Data Size 145MB VSS=yes

WinNT 4(A) --- Spool On --Net..Buffer Size = default Rate 2124.1  Data Size 176MB

WinNT 4(B) --- Spool On --Net..Buffer Size = default Rate 1867.5  Data Size 339MB

Linux --- Spool On --Net..Buffer Size = default Rate 4559  Data Size 155MB

FreeBSD ---Spool On --Net..Buffer Size = default Rate 1459.2  Data Size 8MB
Win2k3 ---Spool On --Net..Buffer Size = default Rate 810.2   Data Size 145MB VSS=yesThem i disable the VSS=on, buffer = 65536Win2k3 ---Spool On --Net..Buffer Size = default Rate 814   Data Size 145MB VSS=off
I check my Indexes on mysql, reading the maillist they look correct:mysql SHOW index from File;+---++--+--+-+---+-+--++--++-+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |+---++--+--+-+---+-+--++--++-+
| File | 0 | PRIMARY | 1 | FileId | A | 90562 | NULL | NULL | | BTREE | || File | 1 | JobId | 1 | JobId | A | NULL | NULL | NULL | | BTREE | |
| File | 1 | JobId_2 | 1 | JobId | A | NULL | NULL | NULL | | BTREE | || File | 1 | JobId_2 | 2 | PathId | A | NULL | NULL | NULL | | BTREE | |
| File | 1 | JobId_2 | 3 | FilenameId | A | NULL | NULL | NULL | | BTREE | |+---++--+--+-+---+-+--++--++-+
This performance is the same on the producction server, i dont run nothing special on win2k3, still is fresh, i dont any firewall or antivirus software yet, my network is running at 100MB Full Duplex, the bacula and win2k3 are on the same switch.
Some has some issue like on win2k3...? Im thinking that myabe the Raid performance is not really good, but the other sevices are runnnig good. Any ideas how resolve this problem...?Any tip will be apreciated, thanks all for you time!!!


NOTE: Iam going to test the backup on File and see what happend.

[Bacula-users] Second concurrent job fails if it requires another pool - bug?

2006-08-09 Thread Ian Levesque
Hi all,

Here was the situation this evening:
I'm backing up to a 3-drive LTO2 autochanger. There were six jobs  
running, filling the max clients per drive (set at 2 concurrent jobs  
each). All were full backups using a Fulls pool.

Then, one of the full backups completes, opening the door for an  
incremental that was waiting for about 24 hours to run. When it  
finally gets its chance, it throws a fatal error because the volume  
mounted is in the Fulls pool, and it wants to use the  
Incrementals pool.

What I don't understand is 1) why it doesn't wait for the other job  
to complete, rather than dying and 2) why the job started to begin  
with if the director knew that the wrong tape was mounted for the job.

Is this a bug? Expected behavior?

Full job, just completing:
09-Aug 20:59 sbgrid-sd: New volume 25L2 mounted on device  
LTO2B (/dev/nst1) at 09-Aug-2006 20:59.
10-Aug 00:19 sbgrid-dir: Bacula 1.38.11 (28Jun06): 10-Aug-2006 00:19:45
...

Incremental job, just starting:
10-Aug 00:19 sbgrid-dir: Start Backup JobId 308,  
Job=NMRL1.2006-08-09_06.00.00
10-Aug 00:14 nmrl1-fd: DIR and FD clocks differ by -350 seconds, FD  
automatically adjusting.
10-Aug 00:19 sbgrid-sd: NMRL1.2006-08-09_06.00.00 Fatal error:  
acquire.c:263 Wanted Volume 01L2, but device LTO2B (/dev/ 
nst1) is busy writing on 25L2 .

Thanks for any ideas, and let me know if you need more logs, config  
details, etc.

Ian

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users