[Bacula-users] update bacula on debian3.1
Hello all, I installed bacula on debian 3.1. I want to backup to DVD and I raed that I have to use a newer version than the version debian is installing. I downloaded the tar.gz and want to compile. When I do ./configure --wtith-mysql then I get the error that mysql.h is not found and the script stops: "configure: error: Invalid MySQL directory /usr/include/mysql/ - unable to find mysql.h under /usr/include/mysql/" libmyscqlclient14-dev is installed and mysql.h in in the path "/usr/include/mysql/". Can someone tell me what is the correct way to update bacula from 1.36 to 1.38? Can someone help? tia stefan pgpQKBO7YIWof.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update bacula on debian3.1
Hi Greg, thanks for the fast and quick reply :) > > If I were you, I would use the Bacula package available off of the > Backports web site: http://www.backports.org/ > > (Which I've just discovered is moving to a new web interface... which > isn't finished yet... doh.) > > So here is what you should do: > In your /etc/apt/sources file, add the following line: (beware wrapped > line in email) > "deb http://www.backports.org/debian/ sarge-backports main contrib > non-free" > > (Check the mirror list for a mirror closest to you: > http://www.backports.org/debian/README.mirrors.html) > > In your /etc/apt/preferences file: > Package: * > Pin: release a=sarge-backports > Pin-Priority: 200 > > That way you will not be able to install a package from backports > without doing the following: > # aptitude -t sarge-backports install bacula > > (the '-t sarge-backports' specifies which target release you want to > install from.) > > And you should have bacula 1.38.11 installed! (Beware it pulls down a > heap of KDE stuff as well - about 366Mb all up on my system!) > This is really good working. I also had to update the mysql database with "./update_mysql_tables_8_to_9" . So I had to download the tar.gz first. Is there another way to update the mysql DB? update successfull many thanks! :) maybe someone should write this on website!! stefan pgpabDZWDVGoB.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] can not write to DVD
Hello all, I have bacula 1.38.11 on debian 3.1 installed and want to backup to DVD. I edit the bacula-sd.conf: "Device { Name = "DVD-Writer" Media Type = dvd Archive Device = /media/cdrom1 # I also changed this to /dev/hdc but the # #same LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 800M; RequiresMount = yes; MountPoint = /media/cdrom1; MountCommand = "/bin/mount -t iso9660 -o ro %a %m"; UnmountCommand = "/bin/umount %m"; SpoolDirectory = /tmp/backup; WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v" FreeSpaceCommand = "/etc/bacula/dvd-handler %a free" } " and restart the service but I always get the error when I run a job: "15-Aug 00:13 server-dir: Start Backup JobId 16, Job=Client1.2006-08-15_00.13.29 15-Aug 00:13 server-sd: Failed command: 15-Aug 00:13 server-sd: Client1.2006-08-15_00.13.29 Fatal error: Device "DVD" with MediaType "DVD" requested by DIR not found in SD Device resources. 15-Aug 00:13 server-dir: Client1.2006-08-15_00.13.29 Fatal error: Storage daemon didn't accept Device "DVD" because: 3924 Device "DVD" not in SD Device resources. 15-Aug 00:13 server-dir: Client1.2006-08-15_00.13.29 Error: Bacula 1.38.11 (28Jun06): 15-Aug-2006 00:13:31" It seems I have to edit the SD Device resources but I dont know where. Can someone help? tia stefan pgpa4wQTGAXMW.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
I made the changes: "Device { Name = "DVD-Writer" Media Type = dvd Archive Device = /dev/hdc LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 800M; RequiresMount = yes; MountPoint = /media/cdrom1; MountCommand = "/bin/mount -t iso9660 -o ro %a %m"; UnmountCommand = "/bin/umount %m"; SpoolDirectory = /tmp/backup; WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v" FreeSpaceCommand = "/etc/bacula/dvd-handler %a free" }" > Don't forget to restart bacula-sd after you change the configuration > file. Use > /etc/init.d/bacula-sd restart okay. But I get the same error: "15-Aug 08:27 server-dir: Start Backup JobId 17, Job=Client1.2006-08-15_08.27.22 15-Aug 08:27 server-sd: Failed command: 15-Aug 08:27 server-sd: Client1.2006-08-15_08.27.22 Fatal error: Device "DVD" with MediaType "DVD" requested by DIR not found in SD Device resources. 15-Aug 08:27 server-dir: Client1.2006-08-15_08.27.22 Fatal error: Storage daemon didn't accept Device "DVD" because: 3924 Device "DVD" not in SD Device resources. 15-Aug 08:27 server-dir: Client1.2006-08-15_08.27.22 Error: Bacula 1.38.11 (28Jun06): 15-Aug-2006 08:27:24" What is wrong? Can someone help? tia stefan pgpFZjrgdTE6D.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > Also note that DVD writing doesn't work fully in 1.38 (some commands > like label, relabel, purge will not work). Hopefully it will be fully > functional in 1.40. okay, I have it running but I cant write to dvd cause I can not label. What is the way to write to DVD without labeling? The following error appear: "15-Aug 17:16 server-dir: Start Backup JobId 31, Job=Client1.2006-08-15_17.16.46 15-Aug 17:16 server-sd: Job Client1.2006-08-15_17.16.46 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "DVD-Writer" (/dev/hdc) Media type: DVD Pool: Default * " Can someone help? tia stefan pgpvH2MtKKvV9.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > The appropriate instructions are at > http://www.bacula.org/rel-manual/Basic_Volume_Management.html#SECTION000251 >200 > > You need to ensure that the pool definition that you use has LabelFormat > and Volume Use Duration (not sure if the latter is absolutely required). > > You already had LabelMedia = yes in the sd.conf file so no changes > should be needed there. thanks a lot, that helps! :) but now another problem appear: I can not mount the DVD: "*mount Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: SERVER-DVD 2: DVD Select Storage resource (1-2): 2 3907 Device "DVD-Writer" (/dev/hdc) cannot be mounted. ERR=mount: only root can do that *q" and when I say "run" with and without mount: "* 16-Aug 22:41 server-dir: Start Backup JobId 49, Job=Client1.2006-08-16_22.41.53 16-Aug 22:42 server-sd: Please mount Volume "Vol0003" on Storage Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-16_22.41.53 * " I was working as root and tried the user option in fstab, but all the same! I searched and googled but can not find a solution. can someone help? tia stefan pgpaBrkqH1A4w.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > > but now another problem appear: > > > I can not mount the DVD: > > > > > > "*mount > > > Using default Catalog name=MyCatalog DB=bacula > > > The defined Storage resources are: > > > 1: SERVER-DVD > > > 2: DVD > > > Select Storage resource (1-2): 2 > > > 3907 Device "DVD-Writer" (/dev/hdc) cannot be mounted. ERR=mount: only > > > root can do that > > > > > > *q" > > > > > > and when I say "run" with and without mount: > > > > > > "* > > > 16-Aug 22:41 server-dir: Start Backup JobId 49, > > > Job=Client1.2006-08-16_22.41.53 > > > 16-Aug 22:42 server-sd: Please mount Volume "Vol0003" on Storage > > > Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-16_22.41.53 > > > * " > > > > > > I was working as root and tried the user option in fstab, but all the > > > same! I searched and googled but can not find a solution. > > Are you really sure that you are working as root? no > Do > ps -ef | grep bacula-sd > and see what user it reports. > If you aren't root then a workaround would be to add something like > "server:~# ps -ef | grep bacula-sd bacula2057 1 0 08:33 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape bacula2061 2057 0 08:33 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape bacula2063 2061 0 08:33 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape root 2726 2721 0 15:38 pts/000:00:00 grep bacula-sd server:~#" > /dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0 > > to /etc/fstab Yes, my /etc/fstab looks like this! I tried manually mount and I did a reboot. This is not helping :( > > I must admit that to-date I've run as root for DVD stuff. That's > something to think about once we've got the 1.39 DVD stuff working. Should I run bacula-sd as root? What else should I try to get the DVD mounted? tia stefan pgp9zNMopcOkR.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > Then try the mount command there. You need to find a way to get it working > there. okay, it seems I can mount, it seems the mount error that only root can mount is when the DVD is already mounted. Could this be? When I run "run" under console I get now: "18-Aug 15:15 server-sd: Please mount Volume "Vol0001" on Storage Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_08.42.47" but can not find a way to mount the volume. What is wrong here? How should I mount he volume? Can not find a way! can someone help? tia stefan pgp0U970XoTl9.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > > > but can not find a way to mount the volume. What is wrong here? > > How should I mount he volume? Can not find a way! > > That is probably a leftover from your earlier tests - and a bug that is > hopefully fixed in 1.39.x. > > Basically I'm guessing that bacula managed to create a volume but > never wrote it to DVD. Now it wants you to mount the labelled volume > but you can't because it doesn't have a label on it! > > My advice is to "cancel" the job and then use the "update" command to > set the "volume status" for Vol0001 to "disabled". Then try running > the job again with blank media "dvd-handler /dev/hdc prepare" and > let the auto-label get on with writing your data. when I do this, without "dvd-handler /dev/hdc prepare" ,cause I dont know what you mean with "dvd-handler /dev/hdc prepare" , then I get the same error: "8-Aug 16:35 server-dir: Start Backup JobId 62, Job=Client1.2006-08-18_16.35.20 18-Aug 16:35 server-sd: Please mount Volume "Vol0002" on Storage Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_16.35.20" A blank DVD-RW is inside. tia stefan pgpp422nJJKzP.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
> > Bacula comes with a command called dvd-handler it is the command that > you have in /etc/bacula/bacula-sd.conf for WritePartCommand and > FreeSpaceCommand. In your case it seems to be in /etc/bacula/dvd-handler > so using > > /etc/bacula/dvd-handler /dev/hdc prepare okay , on my systems it is under "/etc/bacula/scripts/" I correct the pathes in bacula-sd.conf and restart the daemon. execute: "/etc/bacula/scripts/dvd-handler /dev/hdc prepare" "[EMAIL PROTECTED]:~$ /etc/bacula/scripts/dvd-handler /dev/hdc prepare Running /bin/dd if=/dev/zero bs=1024 count=512 | growisofs -use-the-force-luke=notray -quiet -Z /dev/hdc=/dev/fd/0 Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0' /dev/hdc: "Current Write Speed" is 4.1x1385KBps. 512+0 records in 512+0 records out 524288 bytes transferred in 1.082278 seconds (484430 bytes/sec) /dev/hdc: flushing cache /dev/hdc: writing lead-out Medium prepared successfully." But when I run bacula the same error appears that I have to mount volume. > Try running > as bacula again and do the dvd-handler prepare. If it fails then your > system doesn't allow the bacula user to write to DVD. If that's the case > then it probably is worth running bacula-sd as root for now. okay I changed : "nano /etc/init.d/bacula-sd" #ARGS="-c /etc/bacula/bacula-sd.conf -u bacula -g tape" to ARGS="-c /etc/bacula/bacula-sd.conf -u root -g tape restart bacula-sd runing run: 18-Aug 21:22 server-dir: Warning: Cannot bind port 9101: ERR=Die Adresse wird bereits verwendet: Retrying ... 18-Aug 21:26 server-dir: No prior Full backup Job record found. 18-Aug 21:26 server-dir: No prior or suitable Full backup found. Doing FULL backup. 18-Aug 21:26 server-dir: Start Backup JobId 65, Job=Client1.2006-08-18_21.26.28 * 18-Aug 21:26 server-sd: Please mount Volume "Vol0002" on Storage Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_21.26.28 *q server:/etc/bacula/scripts# ps -ef | grep bacula-sd root 5352 1 0 21:26 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape root 5354 5352 0 21:26 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape root 5356 5354 0 21:26 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape root 5363 5354 0 21:26 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape root 5390 4902 0 21:27 pts/200:00:00 grep bacula-sd server:/etc/bacula/scripts# what else should I try? tia stefan pgpswK66XX1Ux.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can not write to DVD
Am Freitag, 18. August 2006 21:38 schrieb stefan: > > Bacula comes with a command called dvd-handler it is the command that > > you have in /etc/bacula/bacula-sd.conf for WritePartCommand and > > FreeSpaceCommand. In your case it seems to be in /etc/bacula/dvd-handler > > so using > > > > /etc/bacula/dvd-handler /dev/hdc prepare > > okay , on my systems it is under "/etc/bacula/scripts/" > I correct the pathes in bacula-sd.conf and restart the daemon. > > execute: "/etc/bacula/scripts/dvd-handler /dev/hdc prepare" > > "[EMAIL PROTECTED]:~$ /etc/bacula/scripts/dvd-handler /dev/hdc prepare > Running /bin/dd if=/dev/zero bs=1024 count=512 | > growisofs -use-the-force-luke=notray -quiet -Z /dev/hdc=/dev/fd/0 > Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0' > /dev/hdc: "Current Write Speed" is 4.1x1385KBps. > 512+0 records in > 512+0 records out > 524288 bytes transferred in 1.082278 seconds (484430 bytes/sec) > /dev/hdc: flushing cache > /dev/hdc: writing lead-out > > Medium prepared successfully." > > But when I run bacula the same error appears that I have to mount volume. > > > Try running > > as bacula again and do the dvd-handler prepare. If it fails then your > > system doesn't allow the bacula user to write to DVD. If that's the case > > then it probably is worth running bacula-sd as root for now. > > okay I changed : > "nano /etc/init.d/bacula-sd" > > #ARGS="-c /etc/bacula/bacula-sd.conf -u bacula -g tape" > to > ARGS="-c /etc/bacula/bacula-sd.conf -u root -g tape > > restart bacula-sd > > runing run: > > 18-Aug 21:22 server-dir: Warning: Cannot bind port 9101: ERR=Die Adresse > wird bereits verwendet: Retrying ... > 18-Aug 21:26 server-dir: No prior Full backup Job record found. > 18-Aug 21:26 server-dir: No prior or suitable Full backup found. Doing FULL > backup. > 18-Aug 21:26 server-dir: Start Backup JobId 65, > Job=Client1.2006-08-18_21.26.28 > * > 18-Aug 21:26 server-sd: Please mount Volume "Vol0002" on Storage > Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_21.26.28 > *q > > server:/etc/bacula/scripts# ps -ef | grep bacula-sd > root 5352 1 0 21:26 ? > 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape > root 5354 5352 0 21:26 ? > 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape > root 5356 5354 0 21:26 ? > 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape > root 5363 5354 0 21:26 ? > 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape > root 5390 4902 0 21:27 pts/200:00:00 grep bacula-sd > server:/etc/bacula/scripts# > > what else should I try? can someone help? tia stefan pgpRj3gjXb7Fd.pgp Description: PGP signature - 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=lnk&kid=120709&bid=263057&dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Normal jobs running in parallel to copy jobs
Hi folks I try to configure Bacula 5.2.5 to run "normal" jobs in parallel with a copy job so that if a copy job takes longer, the normal nightly incremental backup is not affected. Parallel backup jobs (both full and incremential) work like a charm but when I run a copy job, all other jobs starting after the copy job are waiting for it to complete. Jobs are copied from the disk-based "Disk1" storage to the "Tape" pool. Incremental backups are using the disk-based storage "Disk". In my opinion parallel jobs should work because incremental and copy jobs both use different storage and pools/volumes What am I missing? Is it impossible to run other jobs in parallel with a copy job? Thanks in advance for your help, Stefan I have the following pool configuration: # Disk Full Backup Pool Pool { Name = Disk.Full Pool Type = Backup # Defines the pool to copy to. Next Pool = Tape.Full Recycle = yes AutoPrune = yes Volume Retention = 3 months Volume Use Duration = 1 month Label Format = Disk.Full- Maximum Volumes = 6 Storage = Disk1 } # Disk Incremential Backup Pool Pool { Name = Disk.Inc Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 month Volume Use Duration = 1 month Label Format = Disk.Inc- Maximum Volumes = 4 Storage = Disk } # Tape Full Backup Pool Pool { Name = Tape.Full Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 3 months # Volume Use Duration is 7 days because the tape is only used to copy # all full backup jobs to it and afterwards its not needed anymore Volume Use Duration = 7 days Label Format = Tape.Full- Maximum Volumes = 4 Storage = Tape } The copy job copies the latest full backups from the pool Disk.Full to the pool Tape # The copy job should run after the monthly full backup therefore priority is set to 15 Job { Name = "Copy-LastFull-Tape" Type = Copy Pool = Disk.Full Schedule = "MonthlyCycleAfterBackup" # For a Copy Job, the parameters “Client” and “FileSet” don’t matter at all. # They are just there because the “Job” entry requires them. Client = backupserver-fd FileSet = "Linux" Messages = Standard # Select the last full backup of each client from Disk.Full pool to copy to tape Selection Type = SQLQuery Selection Pattern = "SELECT MAX(Job.JobId) FROM Job, Pool WHERE Job.Level = 'F' and Job.Type = 'B' and Job.JobStatus = 'T' and Pool.Name = 'Disk.Full' and Job.PoolId = Pool.PoolId GROUP BY Job.Name ORDER BY Job.JobId;" # Run after main and catalog backup Priority = 15 } Defined storage # Disk storage (internal disks) Storage { Name = Disk Address = IPAddress SDPort = 9103 Password = "PASSWORD" Device = Disk Media Type = File Maximum Concurrent Jobs = 8 } # Disk storage (internal disks) Storage { Name = Disk1 Address = IPAddress SDPort = 9103 Password = "PASSWORD" Device = Disk1 Media Type = File1 Maximum Concurrent Jobs = 8 } # Tape drive connected to backup server Storage { Name = Tape Address = IPAddress SDPort = 9103 Password = "PASSWORD" Device = Tape Media Type = LTO-4 Maximum Concurrent Jobs = 8 } -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem after user turned off laptop
Hello Arno, Arno Lehmann schrieb: Now, how to recover? You've got several possible solutions: - Simply set the tape status to Used. It will be recycled as planned, and you will only lose part of it's capacity. Usually nothing serious. - Leave it in state Error. That tape would never be rewritten, and after some time you'd wonder why it's marked as defect, and you would probably destroy a perfect tape. I wouldn't do that. - Modify the catalog data to the correct number of files. The above messages indicate that the SD wrote the necessary file mark, but the catalog was not updated. So, if you know a little SQL and know a little about Baculas database schema, that's a simple task. You should know what you do, though. Afterwards, you could set the volume status to Append and it *should* be usable without any problems. You wouldn't lose any tape space. I would only do this if I'm short of tapes. There is a chapter in the manual how to handle this situation with bconsole. Why? Because I have jobs that end in error on a regular basis - I back up one WLAN-connected notebook, and once in a while, that connection is dropped. The result is that the SD times out the job because it can't connect to the FD any more. BUT, and that is probably one big difference, I use spooling, so that the SD only starts writing to tape when all the data is available. And I use 1.38.4. I had another bug with this situation. Bacula was doing a backup from a workstation with spooling. After 8GB it began to despool the data to tape and while this was done the user switched off the workstation. So the second part could not be stored and bacula canceled the job. Now the canceled job stuck in the queue and thus prevented the next scheduled jobs from running. After stopping bacula and starting again the running queue was empty and all the schedule for today was lost. I'm using 1.38.4 with a Ultrium-2 drive. Any ideas? Stefan -- Stefan Schwietert Fon +49 731 1530 44 Ulmer Volkshochschule Fax +49 731 1530 60 Systembetreuer email [EMAIL PROTECTED] begin:vcard fn:Stefan Schwietert n:Schwietert;Stefan org:Ulmer Volkshochschule adr;dom:;;Kornhausplatz 5;Ulm;;89073 email;internet:[EMAIL PROTECTED] tel;work:+49 731 1530 44 tel;fax:+49 731 1530 60 x-mozilla-html:FALSE url:http://www.vh-ulm.de version:2.1 end:vcard
Re: [Bacula-users] bsmtp -- wrong date
Hello, John Smith schrieb: When I receive all mails from bacula, the date shown is 01.01.1970 bacula 1.38.4 (version on a fc 4 distribution) fedora core 4 Bug? Yes it's a bug, there was a thread last autumn. I have nail as standard mailer on my system so I am using this setup: mailcommand = "/usr/bin/mail -h localhost -r \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/bin/mail -h localhost -r \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" It works exactly as bsmtp so perhaps you give it a try. Stefan -- Stefan Schwietert Fon +49 731 1530 44 Ulmer Volkshochschule Fax +49 731 1530 60 Systembetreuer email [EMAIL PROTECTED] begin:vcard fn:Stefan Schwietert n:Schwietert;Stefan org:Ulmer Volkshochschule adr;dom:;;Kornhausplatz 5;Ulm;;89073 email;internet:[EMAIL PROTECTED] tel;work:+49 731 1530 44 tel;fax:+49 731 1530 60 x-mozilla-html:FALSE url:http://www.vh-ulm.de version:2.1 end:vcard
Re: [Bacula-users] problem after user turned off laptop
Arno Lehmann schrieb: Hello, On 1/26/2006 10:18 AM, Stefan Schwietert wrote: I had another bug with this situation. Bacula was doing a backup from a workstation with spooling. After 8GB it began to despool the data to tape and while this was done the user switched off the workstation. So the second part could not be stored and bacula canceled the job. Now the canceled job stuck in the queue and thus prevented the next scheduled jobs from running. Yes. It can take up to two hours before the SD "accepts" the timeout. Knowing myself, I guess you weren't patient enough :-) The job was canceled in the late afternoon and I noticed it next morning, 12 hours later, because I was missing the usual email. Once you got the job email that states that the job failed other jobs should run normally. (By the way, the best way to avoid that your backup time window is used with waiting, not with working, is to enable multiple concurrent jobs. That's probably what you'd want in production mode.) That's a good idea. I didn't think of it because I only thought of running jobs with one tape drive. Stefan -- Stefan Schwietert Fon +49 731 1530 44 Ulmer Volkshochschule Fax +49 731 1530 60 Systembetreuer email [EMAIL PROTECTED] begin:vcard fn:Stefan Schwietert n:Schwietert;Stefan org:Ulmer Volkshochschule adr;dom:;;Kornhausplatz 5;Ulm;;89073 email;internet:[EMAIL PROTECTED] tel;work:+49 731 1530 44 tel;fax:+49 731 1530 60 x-mozilla-html:FALSE url:http://www.vh-ulm.de version:2.1 end:vcard
Re: [Bacula-users] bacula 1.38.x for mac osx 10.3
Am 06.03.2006 um 19:15 schrieb Arno Lehmann:Hi,On 3/6/2006 2:59 PM, Dwayne Hottinger wrote:... that he needs 1.38 for MacOS X Thanks,I know thats the problem. But I dont see a dist for 1.38 dist for os x 10.3.x. Is there a build for the -fd on osx 10.3? Or how do I build for the osx 10.3? You will need the development tools installed. Quite a while ago I built an FD for OSX, and after installing XCode everything was ready to build.Install the Xcode tools from the installation disks. After this configure works even under Intel-Mac.Creating the proper start scripts might be a small problem because 10.4 "Tiger" has changed that a lot...Is there someone who has managed to start bacula-fd with launchd. I tried it but launchd gets an error, tries to start it several times and then gives up. If I start bacula-fd by hand everything is good. So I think the problem is related to launchd and its mechanism to manage ports and sockets.Stefan -- Stefan Schwietert Systembetreuer Ulmer Volkshochschule
Re: [Bacula-users] bacula 1.38.x for mac osx 10.3
Hallo John,you gave me the hint I needed.Am 08.03.2006 um 13:31 schrieb John Kodis:I've had success with the following launchd file. It's written to usethe standard bacula file locations which run the command: /sbin/bacula-fd -v -f -c /etc/bacula/bacula-fd.confAs you've already figured out, you can just drop this big blob of XMLinto the /Library/LaunchDaemons/ directory with a filename ofnet.bacula-fd.plist, and launchd will do the rest. "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> Label net.bacula-fd OnDemand ProgramArguments /sbin/bacula-fd -f -v -c /etc/bacula/bacula-fd.conf I have nearly the same config file except I didn't use the -v switch. My error was that I had a blank between the -c switch and the path to the config file. After removing the blank everything went well.Just to document it: bacula-fd compiled well with the apple development package from the installation disks and has been installed with launchd (XML configuration as noted above) on MacOS X 10.4.5 (Tiger) on an iMac Intel Core Duo.Stefan -- Stefan Schwietert Systembetreuer Ulmer Volkshochschule
Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)
Am 10.04.2006 um 21:08 schrieb Bill Moran:Well. I'm having some problems and I hope you can help me. configuresucceeds, although I used a slightly different set of options:./configure \--enable-smartalloc \--sbindir=/usr/sbin \--with-pid-dir=/var/run \--with-subsys-dir=/var/run/subsys \--with-working-dir=/etc/bacula/working \--enable-client-only \--with-dir-password= \--with-sd-password= \--with-fd-password= \--with-job-email=[snip] \--with-smtp-host=[snip] \--with-baseport=9101My options were ./configure --enable-client-onlyThe rest defaults.DT is installed, and I created the directories you mentioned, but I getthe following output during make:==>Entering directory /Users/bill/bacula-1.38.7/src/filed/usr/bin/g++ -c -I. -I.. -g -O2 -Wall filed.c/usr/bin/g++ -c -I. -I.. -g -O2 -Wall authenticate.c/usr/bin/g++ -c -I. -I.. -g -O2 -Wall acl.cacl.c:164:21: sys/acl.h: No such file or directoryThis is the hint. The compiler doesn't find the include files. Check the paths in the make file.You tell us you have the developer tools installed. Perhaps something failed?I compiled it successful under 10.3 and 10.4 without problems. It was just a little bit tricky to create a configuration for launchd. Stefan -- Stefan Schwietert Systembetreuer Ulmer Volkshochschule
[Bacula-users] Can't label tape in HP loader (SureStore DAT24x6)
Hi everybody I work with ubuntu 5.10, bacula 1.36.3 and mtx 1.3.9 and i have a big problem. I can't write data on tape because bacula wrote error each i try to label and mount the autoloader In bconsole when i run label, i have this message : *label Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: ChargeurHP Select Storage resource (1-2): 2 Enter new Volume name: un Enter slot (0 for none): 1 Automatically selected Pool: Default Connecting to Storage daemon ChargeurHP at 192.168.197.78:9103 ... Sending label command for Volume "un" Slot 1 ... 3301 Issuing autochanger "loaded drive 0" command. 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code 1. 3304 Issuing autochanger "load slot 1, drive 0" command. 3992 Bad autochanger "load slot 1, drive 0": ERR=Child exited with code 1. Label command failed for Volume un. Do not forget to mount the drive!!! And when i mount the tape i have : *mount The defined Storage resources are: 1: File 2: ChargeurHP Select Storage resource (1-2): 2 3902 Cannot mount Volume on Storage Device "/dev/nst0" because: Requested Volume "" on /dev/nst0 is not a Bacula labeled Volume, because: ERR=block.c:793 Read zero bytes at 0:0 on device /dev/nst0. 3905 Device /dev/nst0 open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I don't know what to do to fix this problem. Please help me !!! Best regards --- 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=lnk&kid0709&bid&3057&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Migrating from SQLite to PostgreSQL
Hi, I'm planning to migrate the catalog of a running bacula installation from sqlite to postgresql. At first, I tried to import a sqlite dump to a freshly created postgres db. It fails at some "create table" statements. Error message is "ERROR: syntax error at or near "UNSIGNED" at character 44". My second try was to set the postgresql db with the make_pgsql_tables script shipping with bacula. The tables are set up fine. I've stripped off all "create table/index" statements of the sqlite dump so it contains only "inserts". When applying this to the db, I've got this error: ERROR: relation "nextid" does not exist So is there a recommended way to move from sqlite to postgres? Is the database sturcture identical since "nextid" table seems to exist in sqlite and not in postgresql? Regards, Stefan --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows FD "filename or extension too long"
Hi, on one of our Windows servers there are pretty long directory names in a pretty deep nested structure. When Bacula FD tries to backup this structure, I got a lot of warnings like this: 11-Jun 01:50 : Could not stat d://: ERR=Der Dateiname oder die Erweiterung ist zu lang. Translated to English this message says "the filename or the extension is too long". The backup protocol email says "Backup OK". When I examine the catalog, it seems like these files are backed up correctly. I tried to restore these, an got an "Backup ERROR" in the email. The detailed message looks like: 14-Jun 14:16 : Restore-Job.2005-06-14_14.02.30 Error: .. \findlib\../../findlib/create_file.c:182 Could not create d://: ERR=Der Dateiname oder die Erweiterung ist zu lang. The restore job reconstructs the path but not the files itself. What is the recommended way to deal with this? Please don't recommend to shorten the path names, since the management has a fixed schema how to name paths and files, and they won't change this :-( Should I skip the windows fd and use smbfs to mount the windows drive? Regards, Stefan --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows FD "filename or extension too long"
Hi, thanks for your answer. The "portable" options is currently not used, aka off. I'll run some tests with this option enabled. I've got another ideas and like to get some comment if this could work: 1) What about linking (the same link unix's "ln -s") the too deep nested direcories to a shorter path, e.g. link from d:/path1/path2/path3/path4/.../path_last/ to d:/linked_dirs/path_last/ When excluding the former and including the short path in the fileset definition, all files inside path_last should be accessible. 2) Is it possible, to strip off directory names when restoring? If yes, I probably could restore the deep nested files into a rather short path. E.g. assume file d:/path1/path2/path3/myfile.txt to be restored into d:/restore/myfile.txt without /path1/path2/path3. Stefan Am Dienstag, 21. Juni 2005 11:01 schrieb Kern Sibbald: > Hello, > > Unfortunately, this is typical Microsoft "crap". I generally don't like to > use words like that. Microsoft permits building really long paths, but the > file creation code doesn't accept such long paths, so the only choice is to > "cd" into the directory and create the files with a relative path rather > than the absolute path. > > Anyway, Bacula does not do that (cd into the directory and use relative > paths), and I've been wondering when someone would hit the limits. Bacula > is able to create the directories, because they must be created one at a > time by splitting the path into each of its components. > > As for the solution, I do not know. smbfs does not seem to me to be a > particularly good way to go because it does not (to my knowledge) preserve > all the Microsoft information. > > My suggestions: > - If you are using the "portable" option, turn it off and see if that works > (pretty unlikely). > - Try using Samba, but you are very likely to run into the same problem. > - Use some backup program such as NTBACKUP to back those files up locally > to disk, then backup the NTBACKUP disk file with Bacula (not very > satisfactory, but it could work). > - Make sure to bring this issue up in September when I request input for > features in the next Bacula version. > - I'll take a look at the code, perhaps I could put a "gross kludge" to > make it work by detecting the error, doing a cd and then retrying the > create. > > On Tuesday 21 June 2005 09:44, Stefan Armbruster wrote: > > Hi, > > > > on one of our Windows servers there are pretty long directory names in a > > pretty deep nested structure. When Bacula FD tries to backup this > > structure, I got a lot of warnings like this: > > > > 11-Jun 01:50 : Could not stat d:/ > path>/: ERR=Der Dateiname oder die Erweiterung ist zu lang. > > > > Translated to English this message says "the filename or the extension is > > too long". The backup protocol email says "Backup OK". > > > > When I examine the catalog, it seems like these files are backed up > > correctly. I tried to restore these, an got an "Backup ERROR" in the > > email. The detailed message looks like: > > 14-Jun 14:16 : Restore-Job.2005-06-14_14.02.30 Error: .. > > \findlib\../../findlib/create_file.c:182 Could not create d:/ > path>/: ERR=Der Dateiname oder die Erweiterung ist zu lang. > > > > The restore job reconstructs the path but not the files itself. > > > > What is the recommended way to deal with this? Please don't recommend to > > shorten the path names, since the management has a fixed schema how to > > name paths and files, and they won't change this :-( > > Should I skip the windows fd and use smbfs to mount the windows drive? > > > > Regards, > > Stefan > > > > > > --- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows FD "filename or extension too long" (solved in parts)
Hi, I solved this issue (at least paritally..). Switching on the "portable" flag in the fileset causes the backup to emit warnings just like before. But I can restore the files to a unix fd where arbitrary deeply nested paths are no problem. From there I can move the files back to the windows box. Not very elegant... but it works. Regards, Stefan Am Dienstag, 21. Juni 2005 11:53 schrieb Stefan Armbruster: > Hi, > > thanks for your answer. The "portable" options is currently not used, aka > off. I'll run some tests with this option enabled. > I've got another ideas and like to get some comment if this could work: > > 1) What about linking (the same link unix's "ln -s") the too deep nested > direcories to a shorter path, e.g. > link from d:/path1/path2/path3/path4/.../path_last/ to > d:/linked_dirs/path_last/ > > When excluding the former and including the short path in the fileset > definition, all files inside path_last should be accessible. > > 2) Is it possible, to strip off directory names when restoring? If yes, I > probably could restore the deep nested files into a rather short path. > E.g. assume file d:/path1/path2/path3/myfile.txt to be restored into > d:/restore/myfile.txt without /path1/path2/path3. > > Stefan > > Am Dienstag, 21. Juni 2005 11:01 schrieb Kern Sibbald: > > Hello, > > > > Unfortunately, this is typical Microsoft "crap". I generally don't like > > to use words like that. Microsoft permits building really long paths, but > > the file creation code doesn't accept such long paths, so the only choice > > is to "cd" into the directory and create the files with a relative path > > rather than the absolute path. > > > > Anyway, Bacula does not do that (cd into the directory and use relative > > paths), and I've been wondering when someone would hit the limits. > > Bacula is able to create the directories, because they must be created > > one at a time by splitting the path into each of its components. > > > > As for the solution, I do not know. smbfs does not seem to me to be a > > particularly good way to go because it does not (to my knowledge) > > preserve all the Microsoft information. > > > > My suggestions: > > - If you are using the "portable" option, turn it off and see if that > > works (pretty unlikely). > > - Try using Samba, but you are very likely to run into the same problem. > > - Use some backup program such as NTBACKUP to back those files up locally > > to disk, then backup the NTBACKUP disk file with Bacula (not very > > satisfactory, but it could work). > > - Make sure to bring this issue up in September when I request input for > > features in the next Bacula version. > > - I'll take a look at the code, perhaps I could put a "gross kludge" to > > make it work by detecting the error, doing a cd and then retrying the > > create. > > > > On Tuesday 21 June 2005 09:44, Stefan Armbruster wrote: > > > Hi, > > > > > > on one of our Windows servers there are pretty long directory names in > > > a pretty deep nested structure. When Bacula FD tries to backup this > > > structure, I got a lot of warnings like this: > > > > > > 11-Jun 01:50 : Could not stat d:/ > > path>/: ERR=Der Dateiname oder die Erweiterung ist zu > > > lang. > > > > > > Translated to English this message says "the filename or the extension > > > is too long". The backup protocol email says "Backup OK". > > > > > > When I examine the catalog, it seems like these files are backed up > > > correctly. I tried to restore these, an got an "Backup ERROR" in the > > > email. The detailed message looks like: > > > 14-Jun 14:16 : Restore-Job.2005-06-14_14.02.30 Error: .. > > > \findlib\../../findlib/create_file.c:182 Could not create d:/ > > path>/: ERR=Der Dateiname oder die Erweiterung ist zu > > > lang. > > > > > > The restore job reconstructs the path but not the files itself. > > > > > > What is the recommended way to deal with this? Please don't recommend > > > to shorten the path names, since the management has a fixed schema how > > > to name paths and files, and they won't change this :-( > > > Should I skip the windows fd and use smbfs to mount the windows drive? > > > > > > Regards, > > > Stefan > > > > > > > > > --- > > > SF.Net email is spons
Re: [Bacula-users] Windows FD "filename or extension too long" (solved in parts)
Hi , Am Dienstag, 21. Juni 2005 23:13 schrieb Kern Sibbald: > On Tuesday 21 June 2005 18:25, Stefan Armbruster wrote: > > Hi, > > > > I solved this issue (at least paritally..). Switching on the "portable" > > flag in the fileset causes the backup to emit warnings just like before. > > But I can restore the files to a unix fd where arbitrary deeply nested > > paths are no problem. From there I can move the files back to the windows > > box. > > > > Not very elegant... but it works. > > Nice solution ! -- provided Windows specific permissions are not important > or can be re-established. If I have to choose between getting "100% of the files and no permission information" or "90% of the files plus permissions", I'd take the first one ;-) > > If you are willing to try an experimental FD, I'll have one in a day or two > that *should* work. After looking at the code, I see that all the > necessary pieces (subroutines) exist, it is just a matter of putting them > all together at the right time ... That will be great! I'll test the FD on a clone of the production server. Please let me know when you got this. Regards, Stefan > > > Regards, > > Stefan > > > > Am Dienstag, 21. Juni 2005 11:53 schrieb Stefan Armbruster: > > > Hi, > > > > > > thanks for your answer. The "portable" options is currently not used, > > > aka off. I'll run some tests with this option enabled. > > > I've got another ideas and like to get some comment if this could work: > > > > > > 1) What about linking (the same link unix's "ln -s") the too deep > > > nested direcories to a shorter path, e.g. > > > link from d:/path1/path2/path3/path4/.../path_last/ to > > > d:/linked_dirs/path_last/ > > > > > > When excluding the former and including the short path in the fileset > > > definition, all files inside path_last should be accessible. > > > > > > 2) Is it possible, to strip off directory names when restoring? If yes, > > > I probably could restore the deep nested files into a rather short > > > path. E.g. assume file d:/path1/path2/path3/myfile.txt to be restored > > > into d:/restore/myfile.txt without /path1/path2/path3. > > > > > > Stefan > > > > > > Am Dienstag, 21. Juni 2005 11:01 schrieb Kern Sibbald: > > > > Hello, > > > > > > > > Unfortunately, this is typical Microsoft "crap". I generally don't > > > > like to use words like that. Microsoft permits building really long > > > > paths, but the file creation code doesn't accept such long paths, so > > > > the only choice is to "cd" into the directory and create the files > > > > with a relative path rather than the absolute path. > > > > > > > > Anyway, Bacula does not do that (cd into the directory and use > > > > relative paths), and I've been wondering when someone would hit the > > > > limits. Bacula is able to create the directories, because they must > > > > be created one at a time by splitting the path into each of its > > > > components. > > > > > > > > As for the solution, I do not know. smbfs does not seem to me to be > > > > a particularly good way to go because it does not (to my knowledge) > > > > preserve all the Microsoft information. > > > > > > > > My suggestions: > > > > - If you are using the "portable" option, turn it off and see if that > > > > works (pretty unlikely). > > > > - Try using Samba, but you are very likely to run into the same > > > > problem. - Use some backup program such as NTBACKUP to back those > > > > files up locally to disk, then backup the NTBACKUP disk file with > > > > Bacula (not very satisfactory, but it could work). > > > > - Make sure to bring this issue up in September when I request input > > > > for features in the next Bacula version. > > > > - I'll take a look at the code, perhaps I could put a "gross kludge" > > > > to make it work by detecting the error, doing a cd and then retrying > > > > the create. > > > > > > > > On Tuesday 21 June 2005 09:44, Stefan Armbruster wrote: > > > > > Hi, > > > > > > > > > > on one of our Windows servers there are pretty long directory names > > > > > in a pretty deep nested structure. When Bacula FD tries to ba
Re: [Bacula-users] Tabellen fuer bacula
Hi, Am Dienstag, 21. Juni 2005 22:57 schrieb Thomas: > Welche Tabellen muss ich PostgreSQL fuer bacula anlegen? If you want the whole list to understand your postings, you might switch to English... Check out your bacula directory for a file "make_postgresql_tables". This contains all the "create table" statements. There's also a grant_postgresql_privileges. For a quick overview of the table structure: http://cvs.sourceforge.net/viewcvs.py/bacula/bacula/src/cats/make_postgresql_tables.in?rev=1.21&only_with_tag=Branch-1_36_2&view=markup Regards, Stefan --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Device is BLOCKED waiting for appendable media.
Quoting Marcin Wasilewski <[EMAIL PROTECTED]>: Hi Marcin. Can you explain more precisly your problem. In your bconsole make : list media and look the VolStatus, Is it mark "error" ??? Have you already backup data on this volume ? Stefan Hello Group, I wonder that You could help me with my problem. Sometimes when the tape fill at night I got a message like this: Please mount Volume "XXXYYY.01" on Storage Device "LTO" for Job and other backup jobs are waiting for this one to complete. So in the morning I do: unmount, then change the tape to XXXYYY.01, then update slots=3 scan, and mount, but nothing happen. Stat storage returns. Archive "LTO" is not open or does not exist. Device is BLOCKED waiting for appendable media. What is the best and quickest way to run the job that was interrupted. Best regards Marcin --- 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=lnk&kid=120709&bid=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=lnk&kid0709&bid&3057&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem rewriting on a tape with an autoloader
Quoting Arno Lehmann <[EMAIL PROTECTED]>: Hello, On 5/23/2006 11:36 AM, eklektik wrote: Hi everybody I work with ubuntu 5.10 and bacula 1.36.3 and i have a problem Good time to upgrade to 1.38.current, perhaps... I know but i have a problem (with a mysql file) when i try to install When i run bacula with new tape, it runs good. First : Bacula runs a job and write data on tape 1 Second : Bacula runs a job and write data on tape 2 Finally : When i want bacula run a job and write data on tape 1 again i have an error : 23-May 11:14 ubuntu-sd: Deuxieme.2006-05-23_11.12.37 Error: I canot write on Volume "deuxx" because: The number of files mismatch! Volume=0 Catalog=2 23-May 11:14 ubuntu-sd: Marking Volume "deuxx" in Error in Catalog. 23-May 11:14 ubuntu-sd: Job Deuxieme.2006-05-23_11.12.37 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: HPloader Media type: DDS-4 Pool: Deux If i want to write again on the tape 1, i must prune it and mount "HPloader". My bacula-sd.conf is : Device { Name = HPloader Media Type = DDS-4 Changer Device = /dev/sg0 Archive Device = /dev/nst0 Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" AutomaticMount = yes; AlwaysOpen = yes; Label media = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Hardware End of Medium = no; Fast Forward Space File = no ; Backward Space record = no ; Backward Space file = no ; Forward Space Record=no ; Forward Space File = no ; I think my configuration file is wrong but i don't know where. I think your configuration limits the used tape drive capabilities too much. You should try enabling the "forward whatever" settings and test again with btape. Also, there are configuration examples for common DDS drives in the manual which might be a good start. From your messages, it seems that the tape is not repositioned when it should. I except it's a problem of repositionning, but when i enable "forward whatever", i have this message error (with the same use) : 24-May 16:02 ubuntu-sd: Premier.2006-05-24_15.56.19 Error: Unable to position to end of data on device "/dev/nst0". ERR=dev.c:494 ioctl MTEOM error on /dev/nst0. ERR=Input/output error. Can someone help me ? Try btape, it should give you an idea where the problem lies. I have try btape and all the test were good !!! Arno Best regards Stéfan -- View this message in context: http://www.nabble.com/Problem+rewriting+on+a+tape+with+an+autoloader-t1667903.html#a4520007 Sent from the Bacula - Users forum at Nabble.com. --- 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=k&kid0709&bid&3057&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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=lnk&kid0709&bid&3057&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup-Proxy-Solution needed
Hi, we'd like to use Bacula as our one and only backup solution. But we have a problem with all home-office-installations. They normaly work with an asynchron DSL connection. It would take days to backup to our normal backup server in the internet. And normaly they only have a couple of hours during the night. Having a bright moment I thought: "hmmm... why don't we install some sort of proxy at the home offices? People could backup their stuff to the proxy and the proxy syncs with the central server. Time wouldn't be such a big issue (even if it takes a couple of days to sync)." Has anybody a solution for that problem? Stefan -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup Speed
Hi all, I have set up a new Backups System and I don't know whether the performance is good or not. So I hope you can tell me a little bit more :-) I am using a LTO4 Autoloader with 2 drives. It is connected to a Debian Backup Server trough an PCI-X SCSI Card (U320). This Server has another internal PCI-X SCSI Card (U320) which is connected to an external Raid (EasyRaid, 3*SATA HD's, Raid5, 1,9 TB). I am using this Raid for Spooling. The System Harddisk is an internal SAS RAID0 500GB. The Backup Server is connected to the Fileserver trough Gigabit LAN. Is this settup OK? Would you change something? Is the performane OK? If not, what do you think is the problem? Is it possible to write to 2 drives at the same time, to increase write performance? I know.This are a lot of questions, but I have no experience in Backup Systems :-) Thanks for your help, Stefan Logfiles: 08-Oct 15:40 BACKUP3-dir JobId 10: Start Backup JobId 10, Job=STORAGE4.2008-10-08_15.40.04 08-Oct 15:40 BACKUP3-dir JobId 10: Using Device "Drive-1" 08-Oct 15:40 BACKUP3-sd JobId 10: Spooling data ... Storage4-fd JobId 10: /lib/init/rw is a different filesystem. Will not descend from / into /lib/init/rw Storage4-fd JobId 10: /sys is a different filesystem. Will not descend from / into /sys Storage4-fd JobId 10: /serv is a different filesystem. Will not descend from / into /serv 08-Oct 22:06 BACKUP3-sd JobId 10: Job write elapsed time = 06:26:12, Transfer rate = 70.36 M bytes/second 08-Oct 22:06 BACKUP3-sd JobId 10: Committing spooled data to Volume "MBA003". Despooling 1,632,030,373,338 bytes ... 09-Oct 02:47 BACKUP3-sd JobId 10: End of Volume "MBA003" at 1145:10252 on device "Drive-1" (/dev/nst0). Write of 64512 bytes got -1. 09-Oct 02:47 BACKUP3-sd JobId 10: Re-read of last block succeeded. 09-Oct 02:47 BACKUP3-sd JobId 10: End of medium on Volume "MBA003" Bytes=1,144,340,434,944 Blocks=17,738,411 at 09-Oct-2008 02:47. 09-Oct 02:47 BACKUP3-sd JobId 10: 3307 Issuing autochanger "unload slot 3, drive 0" command. 09-Oct 02:48 BACKUP3-sd JobId 10: 3301 Issuing autochanger "loaded? drive 0" command. 09-Oct 02:48 BACKUP3-sd JobId 10: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 09-Oct 02:48 BACKUP3-sd JobId 10: 3304 Issuing autochanger "load slot 1, drive 0" command. 09-Oct 02:49 BACKUP3-sd JobId 10: 3305 Autochanger "load slot 1, drive 0", status is OK. 09-Oct 02:49 BACKUP3-sd JobId 10: Wrote label to prelabeled Volume "MBA001" on device "Drive-1" (/dev/nst0) 09-Oct 02:49 BACKUP3-sd JobId 10: New volume "MBA001" mounted on device "Drive-1" (/dev/nst0) at 09-Oct-2008 02:49. 09-Oct 04:53 BACKUP3-sd JobId 10: Despooling elapsed time = 06:44:31, Transfer rate = 67.24 M bytes/second 09-Oct 05:38 BACKUP3-sd JobId 10: Sending spooled attrs to the Director. Despooling 186,687,121 bytes ... 09-Oct 05:40 BACKUP3-dir JobId 10: Bacula BACKUP3-dir 2.4.2 (26Jul08): 09-Oct-2008 05:40:06 Build OS: x86_64-pc-linux-gnu debian lenny/sid JobId: 10 Job:STORAGE4.2008-10-08_15.40.04 Backup Level: Full Client: "Storage4-fd" 2.4.2 (26Jul08) x86_64-pc-linux-gnu,debian,lenny/sid FileSet:"Full" 2008-10-08 14:05:18 Pool: "Default" (From Job resource) Storage:"IBM-LTO4" (From Job resource) Scheduled time: 08-Oct-2008 15:40:05 Start time: 08-Oct-2008 15:40:30 End time: 09-Oct-2008 05:40:06 Elapsed time: 13 hours 59 mins 36 secs Priority: 10 FD Files Written: 519,363 SD Files Written: 519,363 FD Bytes Written: 1,630,395,828,602 (1.630 TB) SD Bytes Written: 1,630,501,431,782 (1.630 TB) Rate: 32364.5 KB/s Software Compression: None VSS:no Storage Encryption: no Volume name(s): MBA003|MBA001 Volume Session Id: 2 Volume Session Time:1223473135 Last Volume Bytes: 489,138,693,120 (489.1 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK 09-Oct 05:40 BACKUP3-dir JobId 10: Begin pruning Jobs. 09-Oct 05:40 BACKUP3-dir JobId 10: No Jobs found to prune. 09-Oct 05:40 BACKUP3-dir JobId 10: Begin pruning Files. 09-Oct 05:40 BACKUP3-dir JobId 10: No Files found to prune. 09-Oct 05:40 BACKUP3-dir JobId 10: End auto prune. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source ev
[Bacula-users] Update Bacula Manual Page 522 ???
Hi all, I found the following text inside of the manual: snipet If you would like to know what options you have set before making any of the changes noted above, you can now view them on Linux systems, thanks to a tip provided by Willem Riede. Do the following: become super user mt -f /dev/nst0 stsetoptions 0 grep st0 /var/log/messages and you will get output that looks something like the following: kernel: st0: Mode 0 options: buffer writes: 1, async writes: 1, read ahead: 1 kernel: st0: can bsr: 0, two FMs: 0, fast mteom: 0, auto lock: 0, kernel: st0: defs for wr: 0, no block limits: 0, partitions: 0, s2 log: 0 kernel: st0: sysv: 0 nowait: 0 end Isn't it easyer to use: mt -f /dev/nst0 stshowopt What do you think? Regards, Stefan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup Speed
John Drescher schrieb: >> I have set up a new Backups System and I don't know whether the >> performance is good or not. >> So I hope you can tell me a little bit more :-) >> I am using a LTO4 Autoloader with 2 drives. It is connected to a Debian >> Backup Server trough an PCI-X SCSI Card (U320). >> This Server has another internal PCI-X SCSI Card (U320) which is >> connected to an external Raid (EasyRaid, 3*SATA HD's, Raid5, 1,9 TB). I >> am using this Raid for Spooling. >> >> The System Harddisk is an internal SAS RAID0 500GB. >> > I would use this for spooling if you can or at least test this. I > would not use raid0 for a system disk but I am going off topic.. > Sorry my mistake. I am using Raid1 for the system. Do you think 250GB would be enough for spooling? Or is it better to use an external Raid0? > >> The Backup Server is connected to the Fileserver trough Gigabit LAN. >> Is this settup OK? Would you change something? Is the performane OK? If >> not, what do you think is the problem? Is it possible to write to 2 >> drives at the same time, to increase write performance? >> > Not for 1 single job but you can run a second job on the second tape > drive at the same time. You can also run more jobs on the same tape > drive at the same time and they will keep the tape drive more busy if > you limit the spool size to a few GB. > Thanks for the tip! This means it is better to have a small spoolsize? Correct? I will try this. But at the moment I start from the beginning. It seems something is completely wrong in my configuration. At the moment I am not able to get btest running... Stefan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ERR=Input/output error / only some times
Hi Arno, thanks for the infos. I found the following messages in /var/log/messages. Could this show a problem? I am not familiar with this Until now I have not worked with smartmontools. I have installed them and added the /dev/sg3 in the smartd.conf file. Let's see what happens. The Tapes I am using are new, also is the Library and all the cabels. Thanks for further help, Stefan Messages: Oct 14 14:04:56 BACKUP3 kernel: [101067.953408] mptscsih: ioc1: attempting task abort! (sc=81011bd15a80) Oct 14 14:04:56 BACKUP3 kernel: [101067.953413] ch 2:0:4:1: CDB: Inquiry: 12 00 00 00 24 00 Oct 14 14:04:58 BACKUP3 kernel: [101070.275853] mptbase: ioc1: Initiating recovery Oct 14 14:05:00 BACKUP3 kernel: [101072.206197] st 2:0:4:0: mptscsih: ioc1: completing cmds: fw_channel 0, fw_id 4, sc=810119901580, mf = 81011bd42bc0, idx=a Oct 14 14:05:00 BACKUP3 kernel: [101072.206203] ch 2:0:4:1: mptscsih: ioc1: completing cmds: fw_channel 0, fw_id 4, sc=81011bd15a80, mf = 81011bd42c20, idx=b Oct 14 14:05:03 BACKUP3 kernel: [101076.299678] mptscsih: ioc1: Issue of TaskMgmt failed! Oct 14 14:05:03 BACKUP3 kernel: [101076.299683] mptscsih: ioc1: task abort: FAILED (sc=81011bd15a80) Oct 14 14:05:03 BACKUP3 kernel: [101076.299685] mptscsih: ioc1: attempting task abort! (sc=810119901580) Oct 14 14:05:03 BACKUP3 kernel: [101076.299689] st 2:0:4:0: CDB: Read(6): 08 00 00 fc 00 00 Oct 14 14:05:03 BACKUP3 kernel: [101076.299712] mptscsih: ioc1: task abort: SUCCESS (sc=810119901580) Oct 14 14:05:03 BACKUP3 kernel: [101076.299670] mptscsih: ioc1: attempting target reset! (sc=81011bd15a80) Oct 14 14:05:03 BACKUP3 kernel: [101076.299670] ch 2:0:4:1: CDB: Inquiry: 12 00 00 00 24 00 Oct 14 14:05:04 BACKUP3 kernel: [101077.027907] mptscsih: ioc1: target reset: SUCCESS (sc=81011bd15a80) Oct 14 14:05:04 BACKUP3 kernel: [101077.027907] st0: Sense Key : Unit Attention [current] Oct 14 14:05:04 BACKUP3 kernel: [101077.027907] st0: Add. Sense: Power on, reset, or bus device reset occurred Oct 14 14:05:04 BACKUP3 kernel: [101077.401595] target2:0:4: Beginning Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.421570] target2:0:4: Ending Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.421570] target2:0:4: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) Oct 14 14:05:04 BACKUP3 kernel: [101077.636087] target2:0:4: Beginning Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.659128] target2:0:4: Ending Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.659128] target2:0:4: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) Oct 14 14:05:04 BACKUP3 kernel: [101077.659128] target2:0:5: Beginning Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.663128] target2:0:5: Domain Validation skipping write tests Oct 14 14:05:04 BACKUP3 kernel: [101077.663128] target2:0:5: Ending Domain Validation Oct 14 14:05:04 BACKUP3 kernel: [101077.663128] target2:0:5: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) Oct 14 14:16:35 BACKUP3 -- MARK -- Oct 14 14:20:05 BACKUP3 kernel: [102122.127816] mptscsih: ioc1: attempting task abort! (sc=81011e54fe40) Oct 14 14:20:05 BACKUP3 kernel: [102122.127821] st 2:0:4:0: CDB: Read(6): 08 00 00 fc 00 00 Oct 14 14:20:05 BACKUP3 kernel: [102122.247790] mptscsih: ioc1: task abort: FAILED (sc=81011e54fe40) Oct 14 14:20:05 BACKUP3 kernel: [102122.247796] mptscsih: ioc1: attempting target reset! (sc=81011e54fe40) Oct 14 14:20:05 BACKUP3 kernel: [102122.247798] st 2:0:4:0: CDB: Read(6): 08 00 00 fc 00 00 Oct 14 14:20:07 BACKUP3 kernel: [102124.943766] mptbase: ioc1: Initiating recovery Oct 14 14:20:09 BACKUP3 kernel: [102126.894740] st 2:0:4:0: mptscsih: ioc1: completing cmds: fw_channel 0, fw_id 4, sc=81011e54fe40, mf = 81011bd46760, idx=a9 Oct 14 14:20:12 BACKUP3 kernel: [102131.260388] mptscsih: ioc1: Issue of TaskMgmt failed! Oct 14 14:20:12 BACKUP3 kernel: [102131.260391] mptscsih: ioc1: target reset: FAILED (sc=81011e54fe40) Oct 14 14:20:12 BACKUP3 kernel: [102131.260394] mptscsih: ioc1: attempting bus reset! (sc=81011e54fe40) Oct 14 14:20:12 BACKUP3 kernel: [102131.260396] st 2:0:4:0: CDB: Read(6): 08 00 00 fc 00 00 Oct 14 14:20:13 BACKUP3 kernel: [102132.196536] mptscsih: ioc1: bus reset: SUCCESS (sc=81011e54fe40) Oct 14 14:20:23 BACKUP3 kernel: [102143.700212] st0: Error 8 (sugg. bt 0x0, driver bt 0x0, host bt 0x8). Oct 14 14:20:23 BACKUP3 kernel: [102143.821719] target2:0:4: Beginning Domain Validation Oct 14 14:20:23 BACKUP3 kernel: [102144.177692] target2:0:4: Ending Domain Validation Oct 14 14:20:23 BACKUP3 kernel: [102144.177692] target2:0:4: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) Oct 14 14:20:23 BACKUP3 kernel: [102144.390932] target2:0:4: Beginning Domain Validation Oct 14 14:20:23 BACKUP3 kernel: [102144.398927] target2:0:4: Ending Domain Validation Oct 14 14:20:23 BACKUP3 kernel: [102144.398927] target2:0:4: FA
[Bacula-users] ERR=Input/output error / only some times
Hi all, I have a strange behavior when I run btape. The test abborts at different positions. Sometimes it runs completely. Sometimes it stops after the rewind or after the "Got EOF on tape". I have no idea where I can search what's wrong. The strange thing is, that I was able to write (bconsole / run a job) on two tapes. After writing I tried to restore the job, but the restore failed. So I started from beginning with testing my Autoloader. And guess what. It failed. If I write an EOF manually (mt -f /dev/nst0 weof), the the test will work one time. The second time it fails again. Is this normal? I start btape with the following syntax: btape -c /dev/bacula/bacula-sd.conf -v -d 6 /dev/nst0 Here ist the btape output: btape: btape.c:831 Wrote 1000 blocks of 64412 bytes. btape: btape.c:505 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:847 Wrote 1000 blocks of 64412 bytes. btape: btape.c:505 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:856 Rewind OK. 1000 blocks re-read correctly. Got EOF on tape. Here is the Error Message: btape: btape.c:856 Rewind OK. 13-Oct 15:08 btape JobId 0: Error: block.c:999 Read error on fd=3 at file:blk 0:976 on device "Drive-1" (/dev/nst0). ERR=Input/output error. btape: btape.c:868 Read block 977 failed! ERR=Input/output error Next try, same result: 13-Oct 16:33 btape JobId 0: Error: block.c:999 Read error on fd=3 at file:blk 1:897 on device "Drive-1" (/dev/nst0). ERR=Input/output error. btape: btape.c:868 Read block 1898 failed! ERR=Input/output error Can you please help me, where I can start to investigate? Thanks, Stefan -- Stefan Lubitz System Administrator ___ MACKEVISION Medien Design GmbH, Stuttgart Forststraße 7 D - 70174 Stuttgart Tel.: +49 (0) 711/933048-0 Fax.: +49 (0) 711/933048-90 [EMAIL PROTECTED] www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart Steuernummer: 99070 / 01935 USt-ID-Nr. DE 169457786 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problems with bacula client and windows 2008 hosted on vmware.
Hi I'm trying to startup my bacula service under windows 2008 hosted on vmware. But I keep getting this error when I try to start the service: Windows could not start the bacula File Service service on Local Computer. Error 1067: The process terminated unexpectedly This is with default configuration, I've tried both beta and stable release of the client. I've tried running as administrator and compatiblity mode. All with same result. Here is the configfile: FileDaemon {# this is me Name = win-2008-fd FDport = 9102# where we listen for the director WorkingDirectory = "C:\\ProgramData\\Bacula\\Work" Pid Directory = "C:\\ProgramData\\Bacula\\Work" Maximum Concurrent Jobs = 2 } # # List Directors who are permitted to contact this File daemon # Director { Name = @director_name@ Password = "@client_password@" } # # Restricted Director, used by tray-monitor to get the # status of the file daemon # Director { Name = win-dosy30f3gir-mon Password = "D5AFsUp0SWZ57+nfgLidQOxhFOoR3ow81uA8XLnKHHx+" Monitor = yes } # Send all messages except skipped files back to Director Messages { Name = Standard director = @director_name@ = all, !skipped, !restored } Does anyone know what this might be? I'm feeling it might be some kind of driver issue with vmware but I'm guessing here. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware.
Thanks the -t parameter solved my issue, now to the next one :) The server now generates this error: rejected Hello command 29-Oct 16:38 I have port 9102 open on the client. Anyone know. -Ursprungligt meddelande- Från: Bruno Friedmann [mailto:[EMAIL PROTECTED] Skickat: den 29 oktober 2008 16:00 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware. Stefan Eriksson wrote: > Hi I'm trying to startup my bacula service under windows 2008 hosted on > vmware. But I keep getting this error when I try to start the service: > > Windows could not start the bacula File Service service on Local Computer. > Error 1067: The process terminated unexpectedly > > This is with default configuration, I've tried both beta and stable release > of the client. I've tried running as administrator and compatiblity mode. > All with same result. > > > > Here is the configfile: > > FileDaemon {# this is me > Name = win-2008-fd > FDport = 9102# where we listen for the director > WorkingDirectory = "C:\\ProgramData\\Bacula\\Work" > Pid Directory = "C:\\ProgramData\\Bacula\\Work" > Maximum Concurrent Jobs = 2 > } > > # > # List Directors who are permitted to contact this File daemon > # > Director { > Name = @director_name@ > Password = "@client_password@" > } > > # > # Restricted Director, used by tray-monitor to get the > # status of the file daemon > # > Director { > Name = win-dosy30f3gir-mon > Password = "D5AFsUp0SWZ57+nfgLidQOxhFOoR3ow81uA8XLnKHHx+" > Monitor = yes > } > > # Send all messages except skipped files back to Director > Messages { > Name = Standard > director = @director_name@ = all, !skipped, !restored > } > > Does anyone know what this might be? I'm feeling it might be some kind of > driver issue with vmware but I'm guessing here. > Perharps you should try to start the process inside a cmd command console ( use the same command line as indicate in the registry to start the process ) with -t it will check the config file and report if there's a trouble in it. with -d ( check bacula manual for debug ) you could also increase the debug level. With chance it will give you some clue for the crash problem. After as I never seen ( for the moment i've not a Win8K server under control and hope to never cross the way of one :-) ) It could be whatever. Perharps with the help of runas you can also try to start it under the service account. -- Bruno Friedmann - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware.
> If the server refuse to talk, I suspect that you don't have yet set a correct > key/pair authentification >so the director knows the client and vice-versa ... If that is correct shouldnt I be getting this if the password was bad: Unable to authenticate with File daemon at "192.168.0.2:9102". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Now I'm getting: >> Windows could not start the bacula File Service service on Local Computer. >> Error 1067: The process terminated unexpectedly I'm running windows 2008 64bit server edition. I'm running win32 beta of bacula client, I dont know if this is relevant to my case, http://www.mail-archive.com/[EMAIL PROTECTED]/msg03294.html what do you guys think? -Ursprungligt meddelande- Från: Bruno Friedmann [mailto:[EMAIL PROTECTED] Skickat: den 29 oktober 2008 19:01 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware. Stefan Eriksson wrote: > Thanks the -t parameter solved my issue, now to the next one :) Fine > > The server now generates this error: > > rejected Hello command 29-Oct 16:38 > > I have port 9102 open on the client. > > Anyone know. If the server refuse to talk, I suspect that you don't have yet set a correct key/pair authentification so the director knows the client and vice-versa ... in your bacula-fd.conf you should have # # List Directors who are permitted to contact this File daemon # Director { Name = mybacula-dir Password = "SuperSecretKey" } and in the director conf you should have Client { Name = myclient-fd Address = myclient.mydomain.mytld FDPort = 9102 Catalog = MyCatalog Password = "SuperSecretKey" File Retention = 45 days 20 hours Job Retention = 45 days 20 hours AutoPrune = yes Maximum Concurrent Jobs = 5 } The two password should be the same ... Ok next step :-) > > > > -Ursprungligt meddelande- > Från: Bruno Friedmann [mailto:[EMAIL PROTECTED] > Skickat: den 29 oktober 2008 16:00 > Kopia: bacula-users@lists.sourceforge.net > Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted > on vmware. > > Stefan Eriksson wrote: >> Hi I'm trying to startup my bacula service under windows 2008 hosted on >> vmware. But I keep getting this error when I try to start the service: >> >> Windows could not start the bacula File Service service on Local Computer. >> Error 1067: The process terminated unexpectedly >> >> This is with default configuration, I've tried both beta and stable > release >> of the client. I've tried running as administrator and compatiblity mode. >> All with same result. >> >> >> >> Here is the configfile: >> >> FileDaemon {# this is me >> Name = win-2008-fd >> FDport = 9102# where we listen for the director >> WorkingDirectory = "C:\\ProgramData\\Bacula\\Work" >> Pid Directory = "C:\\ProgramData\\Bacula\\Work" >> Maximum Concurrent Jobs = 2 >> } >> >> # >> # List Directors who are permitted to contact this File daemon >> # >> Director { >> Name = @director_name@ >> Password = "@client_password@" >> } >> >> # >> # Restricted Director, used by tray-monitor to get the >> # status of the file daemon >> # >> Director { >> Name = win-dosy30f3gir-mon >> Password = "D5AFsUp0SWZ57+nfgLidQOxhFOoR3ow81uA8XLnKHHx+" >> Monitor = yes >> } >> >> # Send all messages except skipped files back to Director >> Messages { >> Name = Standard >> director = @director_name@ = all, !skipped, !restored >> } >> >> Does anyone know what this might be? I'm feeling it might be some kind of >> driver issue with vmware but I'm guessing here. >> > > Perharps you should try to start the process inside a cmd command console > ( use the same command line as indicate in the registry to start the process > ) > > with -t it will check the config file and report if there's a trouble in it. > > with -d ( check bacula manual for debug ) you could also increase the debug > level. > > With chance it will give you some clue for the crash problem. > > After as I never seen ( for the moment i've not a Win8K server under control > and hope to never cross the way of one :-) ) > It could be whatever. > > Perharps with the help of runas you can also try to start it under the > service account. > &
Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware.
UPDATE: sorry this is the error I'm getting. > The server now generates this error: > > rejected Hello command 29-Oct 16:38 > > I have port 9102 open on the client. > > Anyone know. If it was password related I think it would have said something like: Unable to authenticate with File daemon at "192.168.0.2:9102". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Anyone know what it can be? -Ursprungligt meddelande- Från: Stefan Eriksson [mailto:[EMAIL PROTECTED] Skickat: den 30 oktober 2008 08:18 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware. > If the server refuse to talk, I suspect that you don't have yet set a correct > key/pair authentification >so the director knows the client and vice-versa ... If that is correct shouldnt I be getting this if the password was bad: Unable to authenticate with File daemon at "192.168.0.2:9102". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Now I'm getting: >> Windows could not start the bacula File Service service on Local Computer. >> Error 1067: The process terminated unexpectedly I'm running windows 2008 64bit server edition. I'm running win32 beta of bacula client, I dont know if this is relevant to my case, http://www.mail-archive.com/[EMAIL PROTECTED]/msg03294.html what do you guys think? -Ursprungligt meddelande- Från: Bruno Friedmann [mailto:[EMAIL PROTECTED] Skickat: den 29 oktober 2008 19:01 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware. Stefan Eriksson wrote: > Thanks the -t parameter solved my issue, now to the next one :) Fine > > The server now generates this error: > > rejected Hello command 29-Oct 16:38 > > I have port 9102 open on the client. > > Anyone know. If the server refuse to talk, I suspect that you don't have yet set a correct key/pair authentification so the director knows the client and vice-versa ... in your bacula-fd.conf you should have # # List Directors who are permitted to contact this File daemon # Director { Name = mybacula-dir Password = "SuperSecretKey" } and in the director conf you should have Client { Name = myclient-fd Address = myclient.mydomain.mytld FDPort = 9102 Catalog = MyCatalog Password = "SuperSecretKey" File Retention = 45 days 20 hours Job Retention = 45 days 20 hours AutoPrune = yes Maximum Concurrent Jobs = 5 } The two password should be the same ... Ok next step :-) > > > > -Ursprungligt meddelande- > Från: Bruno Friedmann [mailto:[EMAIL PROTECTED] > Skickat: den 29 oktober 2008 16:00 > Kopia: bacula-users@lists.sourceforge.net > Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted > on vmware. > > Stefan Eriksson wrote: >> Hi I'm trying to startup my bacula service under windows 2008 hosted on >> vmware. But I keep getting this error when I try to start the service: >> >> Windows could not start the bacula File Service service on Local Computer. >> Error 1067: The process terminated unexpectedly >> >> This is with default configuration, I've tried both beta and stable > release >> of the client. I've tried running as administrator and compatiblity mode. >> All with same result. >> >> >> >> Here is the configfile: >> >> FileDaemon {# this is me >> Name = win-2008-fd >> FDport = 9102# where we listen for the director >> WorkingDirectory = "C:\\ProgramData\\Bacula\\Work" >> Pid Directory = "C:\\ProgramData\\Bacula\\Work" >> Maximum Concurrent Jobs = 2 >> } >> >> # >> # List Directors who are permitted to contact this File daemon >> # >> Director { >> Name = @director_name@ >> Password = "@client_password@" >> } >> >> # >> # Restricted Director, used by tray-monitor to get the >> # status of the file daemon >> # >> Director { >> Name = win-dosy30f3gir-mon >> Password = "D5AFsUp0SWZ57+nfgLidQOxhFOoR3ow81uA8XLnKHHx+" >> Monitor = yes >> } >> >> # Send all messages except skipped files back to Director >> Messages { >> Name = Standard >> director = @director_name@ = all, !skipped, !restored >> } >> >> Does anyone know what this might be? I'm feeling it might be some kind of >> dr
Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command
Thanks but it didnt help. Shadow copy was already disabled on the drive I completely turned of the firewall and tried, still no go. It is a 64bit edition of windows 2008 running on vmware, might the virtual disk be the problem? -- Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command Hi Stefan! We have seen something similar when running VSS on 64 bits windows system. If you have 64 bits windows you can try switching VSS off. Cheers! Mathias Stjernström On 4 nov 2008, at 13.35, Stefan Eriksson wrote: > 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File > daemon at "192.168.0.13:9102" rejected Hello command 04-Nov 13:31 > backup-dir: test.2008-11-04_13.31.41 Error: Bacula backup-dir > 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 > > Hello I'm getting this error with the client using windows 2008. > > I have the correct password etc as its not the same error message, > does anyone know what this error means and how to fix it? I've googled > it and there's not much info about it. > > Thanks > Stefan > > > -- > --- This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command
Yes I can telnet 192.168.0.13 on port 9102 with no problem so the port is open, As for vmware networking, it shouldnt be an issue as it works great with windows 2003. And I dont think its a fw issue as I've completely turned of the firewall and still no go. As for connections, the bacula server do connect, I get a standard error if I disable the networking device on the client. Maybe this is a bug, thinking win2008 is rather new Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 16:31 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command >>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File >>> daemon >>> at "192.168.0.13:9102" rejected Hello command >>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula >>> backup-dir >>> 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 >>> >>> Hello I'm getting this error with the client using windows 2008. >>> >>> I have the correct password etc as its not the same error message, does >>> anyone know what this error means and how to fix it? I've googled it and >>> there's not much info about it. >>> >> >>Sounds like you had a too tight firewall in the client machine? > >Suspected that, but which type of package is the hello message, I suspect >its not on a specific port. More like a echo request. > I don't know the Bacula's protocol for sure, but I guess "Hello" is a token the director uses when trying to establish a connection with a file daemon that is expected to listen at the spesific port. Something similar like HELO / EHLO to port 25 when opening a connection to a mail server. The Bacula Developer Manual could be your friend to find it out more closely. Do you get the same error message if you turn off the file daemon (or disconnect the network cable or...)? If that's the case, it looks like now the director does not get any reply from the file daemon either, and it could be a firewall (or some other networking) issue. If your client is running on a virtual machine on vmware, is vmware set for bridged networking and the ip address belongs to the virtual machine alone? Have you tried to port scan that ip, is there anyone listening at all in the port 9102? -- TiN - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command
04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula backup-dir 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 Hello I'm getting this error with the client using windows 2008. I have the correct password etc as its not the same error message, does anyone know what this error means and how to fix it? I've googled it and there's not much info about it. Thanks Stefan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command
Suspected that, but which type of package is the hello message, I suspect its not on a specific port. More like a echo request. -Ursprungligt meddelande- Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 14:42 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command "Stefan Eriksson" <[EMAIL PROTECTED]> kirjoitti viestissä news:[EMAIL PROTECTED] > 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File daemon > at "192.168.0.13:9102" rejected Hello command > 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula backup-dir > 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 > > Hello I'm getting this error with the client using windows 2008. > > I have the correct password etc as its not the same error message, does > anyone know what this error means and how to fix it? I've googled it and > there's not much info about it. > Sounds like you had a too tight firewall in the client machine? -- TiN - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FW: Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command
How can I move forward with this, I cant post a bugreport without given permission to do so here, if I post a bugreport maybe its easier to get this issue solved or corrected, I'll be available to try new code on a test machine --- Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command Yes I can telnet 192.168.0.13 on port 9102 with no problem so the port is open, As for vmware networking, it shouldnt be an issue as it works great with windows 2003. And I dont think its a fw issue as I've completely turned of the firewall and still no go. As for connections, the bacula server do connect, I get a standard error if I disable the networking device on the client. Maybe this is a bug, thinking win2008 is rather new Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 16:31 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command >>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File >>> daemon >>> at "192.168.0.13:9102" rejected Hello command >>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula >>> backup-dir >>> 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 >>> >>> Hello I'm getting this error with the client using windows 2008. >>> >>> I have the correct password etc as its not the same error message, does >>> anyone know what this error means and how to fix it? I've googled it and >>> there's not much info about it. >>> >> >>Sounds like you had a too tight firewall in the client machine? > >Suspected that, but which type of package is the hello message, I suspect >its not on a specific port. More like a echo request. > I don't know the Bacula's protocol for sure, but I guess "Hello" is a token the director uses when trying to establish a connection with a file daemon that is expected to listen at the spesific port. Something similar like HELO / EHLO to port 25 when opening a connection to a mail server. The Bacula Developer Manual could be your friend to find it out more closely. Do you get the same error message if you turn off the file daemon (or disconnect the network cable or...)? If that's the case, it looks like now the director does not get any reply from the file daemon either, and it could be a firewall (or some other networking) issue. If your client is running on a virtual machine on vmware, is vmware set for bridged networking and the ip address belongs to the virtual machine alone? Have you tried to port scan that ip, is there anyone listening at all in the port 9102? -- TiN - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command
I dont think it has anything to do with the networkconnection, I've tried to disable the firewall but still had the same issue. Is there someone who know how the hello code work? -Ursprungligt meddelande- Från: Kevin Keane [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 20:59 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command Somebody else mentioned that the same problem occured with 64-bit Vista. As far as I know, Windows 2008 is primarily 64 bit (although there is a 32-bit version available). Maybe it helps if you can use Wireshark or similar to see what is actually being sent/received? Stefan Eriksson wrote: > Yes I can telnet 192.168.0.13 on port 9102 with no problem so the port is > open, > As for vmware networking, it shouldnt be an issue as it works great with > windows 2003. > And I dont think its a fw issue as I've completely turned of the firewall > and still no go. > > As for connections, the bacula server do connect, I get a standard error if > I disable the networking device on the client. > > Maybe this is a bug, thinking win2008 is rather new > > > Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] > Skickat: den 4 november 2008 16:31 > Till: bacula-users@lists.sourceforge.net > Ämne: Re: [Bacula-users] Fatal error: File daemonat > "192.168.0.13:9102"rejected Hello command > > >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File >>>> daemon >>>> at "192.168.0.13:9102" rejected Hello command >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula >>>> backup-dir >>>> 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 >>>> >>>> Hello I'm getting this error with the client using windows 2008. >>>> >>>> I have the correct password etc as its not the same error message, does >>>> anyone know what this error means and how to fix it? I've googled it and >>>> there's not much info about it. >>>> >>>> >>> Sounds like you had a too tight firewall in the client machine? >>> >> Suspected that, but which type of package is the hello message, I suspect >> its not on a specific port. More like a echo request. >> >> > > I don't know the Bacula's protocol for sure, but I guess "Hello" is a token > the director uses when trying to establish a connection with a file daemon > that is expected to listen at the spesific port. Something similar like HELO > / EHLO to port 25 when opening a connection to a mail server. The Bacula > Developer Manual could be your friend to find it out more closely. > > Do you get the same error message if you turn off the file daemon (or > disconnect the network cable or...)? If that's the case, it looks like now > the director does not get any reply from the file daemon either, and it > could be a firewall (or some other networking) issue. > > If your client is running on a virtual machine on vmware, is vmware set for > bridged networking and the ip address belongs to the virtual machine alone? > Have you tried to port scan that ip, is there anyone listening at all in the > port 9102? > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] redirect waiting jo to another storage
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, sometimes i had the situation where the job is waiting is waiting for a volume on storage FOO, but I have a new/recycled or empty volume in storage BAR. How can i achive this on a currently running/waiting job? How can i handle this in the job? Actually i tired to define two storages witin JobDefs like this: Storage = BAR Storage = FOO But it seems not fo fit my requirements. Thanks and best regards Stefan Pampel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkxa2UACgkQXXT1nfS2Z+F9mgCeIxethXjVPyDbg+n3IlzN5l+C 5ewAoKyd8vgqZleOfa985Wocbb4tgWtu =tXvm -END PGP SIGNATURE- -- / polyformal/ | http://www.polyformal.de / |_/ GPG KEY: 11678845 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command
Hi does anyone have any news on this? If not, If a developer could contact me, I'm willing to lend out a test environment to get this possible bug fixed, getting full support for win2008 would be great, same with virtual environments (vmware in my case). So if you are a developer please contact me and I'll lend you a VPS with 2008 for testing. ERROR MESSAGE: 05-Dec 01:14 backup-dir: Start Backup JobId 6599, Job=bacula_-_TEST.2008-12-05_00.05.32 05-Dec 01:34 backup-dir: Using Device "bacula-dev" 05-Dec 01:34 backup-dir: bacula_-_TEST.2008-12-05_00.05.32 Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command 05-Dec 01:34 backup-dir: bacula_-_TEST.2008-12-05_00.05.32 Error: Bacula backup02-dir 2.2.4 (14Sep07): 05-Dec-2008 01:34:49 Best Regards -Ursprungligt meddelande- Från: Stefan Eriksson [mailto:[EMAIL PROTECTED] Skickat: den 6 november 2008 11:20 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command I dont think it has anything to do with the networkconnection, I've tried to disable the firewall but still had the same issue. Is there someone who know how the hello code work? -Ursprungligt meddelande- Från: Kevin Keane [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 20:59 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command Somebody else mentioned that the same problem occured with 64-bit Vista. As far as I know, Windows 2008 is primarily 64 bit (although there is a 32-bit version available). Maybe it helps if you can use Wireshark or similar to see what is actually being sent/received? Stefan Eriksson wrote: > Yes I can telnet 192.168.0.13 on port 9102 with no problem so the port is > open, > As for vmware networking, it shouldnt be an issue as it works great with > windows 2003. > And I dont think its a fw issue as I've completely turned of the firewall > and still no go. > > As for connections, the bacula server do connect, I get a standard error if > I disable the networking device on the client. > > Maybe this is a bug, thinking win2008 is rather new > > > Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] > Skickat: den 4 november 2008 16:31 > Till: bacula-users@lists.sourceforge.net > Ämne: Re: [Bacula-users] Fatal error: File daemonat > "192.168.0.13:9102"rejected Hello command > > >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File >>>> daemon >>>> at "192.168.0.13:9102" rejected Hello command >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula >>>> backup-dir >>>> 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 >>>> >>>> Hello I'm getting this error with the client using windows 2008. >>>> >>>> I have the correct password etc as its not the same error message, does >>>> anyone know what this error means and how to fix it? I've googled it and >>>> there's not much info about it. >>>> >>>> >>> Sounds like you had a too tight firewall in the client machine? >>> >> Suspected that, but which type of package is the hello message, I suspect >> its not on a specific port. More like a echo request. >> >> > > I don't know the Bacula's protocol for sure, but I guess "Hello" is a token > the director uses when trying to establish a connection with a file daemon > that is expected to listen at the spesific port. Something similar like HELO > / EHLO to port 25 when opening a connection to a mail server. The Bacula > Developer Manual could be your friend to find it out more closely. > > Do you get the same error message if you turn off the file daemon (or > disconnect the network cable or...)? If that's the case, it looks like now > the director does not get any reply from the file daemon either, and it > could be a firewall (or some other networking) issue. > > If your client is running on a virtual machine on vmware, is vmware set for > bridged networking and the ip address belongs to the virtual machine alone? > Have you tried to port scan that ip, is there anyone listening at all in the > port 9102? > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ __
[Bacula-users] FW: Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command
Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command Hi does anyone have any news on this? If not, If a developer could contact me, I'm willing to lend out a test environment to get this possible bug fixed, getting full support for win2008 would be great, same with virtual environments (vmware in my case). So if you are a developer please contact me and I'll lend you a VPS with 2008 for testing. ERROR MESSAGE: 05-Dec 01:14 backup-dir: Start Backup JobId 6599, Job=bacula_-_TEST.2008-12-05_00.05.32 05-Dec 01:34 backup-dir: Using Device "bacula-dev" 05-Dec 01:34 backup-dir: bacula_-_TEST.2008-12-05_00.05.32 Fatal error: File daemon at "192.168.0.13:9102" rejected Hello command 05-Dec 01:34 backup-dir: bacula_-_TEST.2008-12-05_00.05.32 Error: Bacula backup02-dir 2.2.4 (14Sep07): 05-Dec-2008 01:34:49 Best Regards -Ursprungligt meddelande- Från: Stefan Eriksson [mailto:[EMAIL PROTECTED] Skickat: den 6 november 2008 11:20 Till: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemon at "192.168.0.13:9102"rejected Hello command I dont think it has anything to do with the networkconnection, I've tried to disable the firewall but still had the same issue. Is there someone who know how the hello code work? -Ursprungligt meddelande- Från: Kevin Keane [mailto:[EMAIL PROTECTED] Skickat: den 4 november 2008 20:59 Kopia: bacula-users@lists.sourceforge.net Ämne: Re: [Bacula-users] Fatal error: File daemonat "192.168.0.13:9102"rejected Hello command Somebody else mentioned that the same problem occured with 64-bit Vista. As far as I know, Windows 2008 is primarily 64 bit (although there is a 32-bit version available). Maybe it helps if you can use Wireshark or similar to see what is actually being sent/received? Stefan Eriksson wrote: > Yes I can telnet 192.168.0.13 on port 9102 with no problem so the port is > open, > As for vmware networking, it shouldnt be an issue as it works great with > windows 2003. > And I dont think its a fw issue as I've completely turned of the firewall > and still no go. > > As for connections, the bacula server do connect, I get a standard error if > I disable the networking device on the client. > > Maybe this is a bug, thinking win2008 is rather new > > > Från: Timo Neuvonen [mailto:[EMAIL PROTECTED] > Skickat: den 4 november 2008 16:31 > Till: bacula-users@lists.sourceforge.net > Ämne: Re: [Bacula-users] Fatal error: File daemonat > "192.168.0.13:9102"rejected Hello command > > >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Fatal error: File >>>> daemon >>>> at "192.168.0.13:9102" rejected Hello command >>>> 04-Nov 13:31 backup-dir: test.2008-11-04_13.31.41 Error: Bacula >>>> backup-dir >>>> 2.2.4 (14Sep07): 04-Nov-2008 13:31:44 >>>> >>>> Hello I'm getting this error with the client using windows 2008. >>>> >>>> I have the correct password etc as its not the same error message, does >>>> anyone know what this error means and how to fix it? I've googled it and >>>> there's not much info about it. >>>> >>>> >>> Sounds like you had a too tight firewall in the client machine? >>> >> Suspected that, but which type of package is the hello message, I suspect >> its not on a specific port. More like a echo request. >> >> > > I don't know the Bacula's protocol for sure, but I guess "Hello" is a token > the director uses when trying to establish a connection with a file daemon > that is expected to listen at the spesific port. Something similar like HELO > / EHLO to port 25 when opening a connection to a mail server. The Bacula > Developer Manual could be your friend to find it out more closely. > > Do you get the same error message if you turn off the file daemon (or > disconnect the network cable or...)? If that's the case, it looks like now > the director does not get any reply from the file daemon either, and it > could be a firewall (or some other networking) issue. > > If your client is running on a virtual machine on vmware, is vmware set for > bridged networking and the ip address belongs to the virtual machine alone? > Have you tried to port scan that ip, is there anyone listening at all in the > port 9102? > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-
[Bacula-users] The number of files mismatch!
Hi all, sine I have added the Paramters: BSFatEOM = yes; TWOEOF = yes; OfflineonUnmount = yes; the system reports the error: The number of files mismatch! It is every time only one file. For Example: Volume=3 Catalog=4 or Volume=350 Catalog=351 Have I missed something in the manual? Is there an additional parameter which needs to be set? I set this Parameters to get rid of some other error messages: BSFatEOM and TWOEOF for: 06-Dec 01:15 backup03-sd JobId 37: Error: block.c:568 Write error at 30:5629 on device "Drive-1" (/dev/nst0). ERR=Input/output error. 06-Dec 01:15 backup03-sd JobId 37: Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1681 ioctl MTWEOF error on "Drive-1" (/dev/nst0). ERR=Input/output error. and: OfflineUnmount for: 06-Dec 01:15 backup03-sd JobId 37: 3301 Issuing autochanger "loaded? drive 0" command. 06-Dec 01:15 backup03-sd JobId 37: 3302 Autochanger "loaded? drive 0", result is Slot 22. 06-Dec 01:15 backup03-sd JobId 37: 3307 Issuing autochanger "unload slot 22, drive 0" command. 06-Dec 01:15 backup03-sd JobId 37: 3995 Bad autochanger "unload slot 22, drive 0": ERR=Child exited with code 1 Results=Unloading Data Transfer Element into Storage Element 22...mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=70 (Current) mtx: Request Sense: Sense Key=Illegal Request mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 53 mtx: Request Sense: Additional Sense Qualifier = 03 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no MOVE MEDIUM from Element Address 256 to 4117 Failed Best Regards, Stefan -- Stefan Lubitz System Administrator ___ MACKEVISION Medien Design GmbH, Stuttgart Forststraße 7 D - 70174 Stuttgart Tel.: +49 (0) 711/933048-0 Fax.: +49 (0) 711/933048-90 [EMAIL PROTECTED] www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart Steuernummer: 99070 / 01935 USt-ID-Nr. DE 169457786 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] schedule writing and spooling on different drives and spool directorys
Hi all, I have a Tapeloader with 2 drives and a backupserver with a huge spool directory. Now I thought it would be nice to schedule the different drives and the time when it spools to have allways a maximum on network load and keep the time which is needed for the backup as short as possible. For example: 1. Backup job1 starts spooling data from server1 to \serv\spool1 2. drive1 starts writing after job1 stops spooling. At the same time Backup job2 starts spooling data from server2 to \serv\spool2 3. When drive1 has finished writing, it starts with despooling. 4. When Job2 has finished spooling, it starts writing to tape2. At the same time job1 or another job starts spooling again At the moment the jobs can start parallel and they need to share the 1GB Network. After spooling, there is no more traffic on the network.. This seems to be inefficient to me. Would this be a good solution and is this possible in bacula? What do you think? Regards, Stefan -- Stefan Lubitz System Administrator ___ MACKEVISION Medien Design GmbH, Stuttgart Forststraße 7 D - 70174 Stuttgart Tel.: +49 (0) 711/933048-0 Fax.: +49 (0) 711/933048-90 [EMAIL PROTECTED] www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart Steuernummer: 99070 / 01935 USt-ID-Nr. DE 169457786 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] The number of files mismatch!
Hi Julien, this tapes were empty when I added the EOT. To explain: I made a full backup to tape mba022, added the EOT and wrote an inc in a different pool (for example tape mba056). This was working. The next inc to tape mba056 failed. Julien Cigar schrieb: > You can switch EOT model only when starting from scratch with empty > tapes, so that's normal ... > > > On Tue, 2008-12-09 at 08:40 +0100, Stefan Lubitz wrote: > >> Hi all, >> >> sine I have added the Paramters: >> BSFatEOM = yes; >> TWOEOF = yes; >> OfflineonUnmount = yes; >> >> the system reports the error: The number of files mismatch! >> It is every time only one file. For Example: >> Volume=3 Catalog=4 or >> Volume=350 Catalog=351 >> >> Have I missed something in the manual? Is there an additional parameter >> which needs to be set? >> I set this Parameters to get rid of some other error messages: >> >> BSFatEOM and TWOEOF for: >> 06-Dec 01:15 backup03-sd JobId 37: Error: block.c:568 Write error at 30:5629 >> on device "Drive-1" (/dev/nst0). ERR=Input/output error. >> 06-Dec 01:15 backup03-sd JobId 37: Error: Error writing final EOF to tape. >> This Volume may not be readable. >> dev.c:1681 ioctl MTWEOF error on "Drive-1" (/dev/nst0). ERR=Input/output >> error. >> >> and: >> OfflineUnmount for: >> 06-Dec 01:15 backup03-sd JobId 37: 3301 Issuing autochanger "loaded? >> drive 0" command. >> >> 06-Dec 01:15 backup03-sd JobId 37: 3302 Autochanger "loaded? drive 0", >> result is Slot 22. >> 06-Dec 01:15 backup03-sd JobId 37: 3307 Issuing autochanger "unload slot 22, >> drive 0" command. >> 06-Dec 01:15 backup03-sd JobId 37: 3995 Bad autochanger "unload slot 22, >> drive 0": ERR=Child exited with code 1 >> Results=Unloading Data Transfer Element into Storage Element 22...mtx: >> Request Sense: Long Report=yes >> mtx: Request Sense: Valid Residual=no >> mtx: Request Sense: Error Code=70 (Current) >> mtx: Request Sense: Sense Key=Illegal Request >> mtx: Request Sense: FileMark=no >> mtx: Request Sense: EOM=no >> mtx: Request Sense: ILI=no >> mtx: Request Sense: Additional Sense Code = 53 >> mtx: Request Sense: Additional Sense Qualifier = 03 >> mtx: Request Sense: BPV=no >> mtx: Request Sense: Error in CDB=no >> mtx: Request Sense: SKSV=no >> MOVE MEDIUM from Element Address 256 to 4117 Failed >> >> Best Regards, >> Stefan >> >> >> -- Stefan Lubitz System Administrator ___ MACKEVISION Medien Design GmbH, Stuttgart Forststraße 7 D - 70174 Stuttgart Tel.: +49 (0) 711/933048-0 Fax.: +49 (0) 711/933048-90 [EMAIL PROTECTED] www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart Steuernummer: 99070 / 01935 USt-ID-Nr. DE 169457786 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing with RPMs
On 04.05.2010 20:32, Joseph Spenner wrote: > --- On Tue, 5/4/10, Joseph Spenner wrote: > >> From: Joseph Spenner >> Subject: Re: [Bacula-users] Installing with RPMs >> To: bacula-users@lists.sourceforge.net >> Date: Tuesday, May 4, 2010, 11:29 AM >> --- On Tue, 5/4/10, Phil Stracchino >> >> wrote: >> I have mysql running on my Suse 11.2 64bit >>> system. How does mysql get populated with the >> bacula >>> database/tables? When I compiled from source >> earlier, >>> I found I needed to manually run some scripts: # create_bacula_database # make_bacula_tables # grant_bacula_privileges But I see no such scripts, nor did I notice any >> such >>> processes run during the RPM installation. I logged >>> into mysql and did 'show tables', but saw no bacula >> data. >>> >>> Having never installed from RPM, I can't help you >> there, >>> sorry. But the >>> RPMs SHOULD contain the scripts you reference above. >>> >> >> Ok, not sure where the mysql update scripts are. I >> might have to copy them from the source installation and run >> them manually. >> >> Also, when I try to run 'bat' or 'bconsole', it appears to >> be trying to connect to the "Director" on port 9101, but >> this process isn't running and there is no tcp/9101 >> available. >> When I start bacula using "bacula start" or using the 3 rc >> scripts created by the RPM installation: >> >> bacula-sd >> bacula-fd >> bacula-dir >> >> I can start bacula-sd, which creates a process listening on >> tcp/9103 >> I can start bacula-fd, which creates a process listening on >> tcp/9102 >> But if I try to start bacula-dir, it silently fails and >> starts no process on tcp/9101 which I suspect is what 'bat' >> and 'bconsole' want. When I try to start 'bconsole', I >> only get: >> >> Connecting to Director bacula-va-dir:9101 >> >> And my root prompt returns. >> >> 'bat' does something similar, but takes about a minute >> before failing. >> >> >From the messages file: >> May 4 17:01:27 bacula bconsole: bsock.c:135 Unable to >> connect to Director daemon on bacula-va:9101. ERR=Connection >> refused >> >> The host name bacula-va is in the hosts file, so it >> resolves. This system has multiple interfaces, and the >> bacula-va is the network where backups will take place. >> >> I suspect this problem might be due to the lack of bacula >> data in mysql. I see the following errors in >> /var/lib/bacula/log: >> >> 04-May 17:00 bacula-dir JobId 0: Fatal error: Could not >> open Catalog "MyCatalog", database "bacula". >> 04-May 17:00 bacula-dir JobId 0: Fatal error: sqlite.c:178 >> Database /var/lib/bacula/bacula.db does not exist, please >> create it. >> 04-May 17:00 bacula-dir ERROR TERMINATION >> Please correct configuration file: >> /etc/bacula/bacula-dir.conf >> >> The only files in /var/lib/bacula are: >> >> bacula-dir.bacula-dir.6892008.mail >> bacula-dir.bacula-dir.6914616.mail >> bacula-dir.bacula-dir.6914648.mail >> bacula-fd.9102.state >> bacula-sd.9103.state >> log >> >> The .mail files contain the same info as the log file (the >> error above). >> >> Before I copy over the mysql install scripts from source, >> I'd like to verify if this would be the best idea. >> > > The suspense was killing me, so I went ahead and modified the scripts from > the source installation to work here. I now have a mysql 'bacula' database. > However, the Director will still not start. > It looks to me like the bacula-mysql-5.0.2-1.su112.x86_64.rpm package might > be built wrong. The fact that it's looking for /var/lib/bacula/bacula.db > leads me to believe it's looking for sqlite > I can report the same error with the bacula-postgresql-5.0.2-1.su112.x86_64.rpm package. The director does not start and complains about an unavailable /var/lib/bacula/bacula.db > Also, I had to make several modifications to the config files in /etc/bacula > because they were hard coded to a host: OS-112vmware > > > > > > > -- > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Update Bacula from 2.4.4 to 5.0.2
What are the steps to make this big update without loosing the old data (on Debian-Lenny)? - Install new 5.02 packages from debian-testing (backports) - Update all fd to at least 3.x-versions - Update database with update-script to newer format (where do i find it and does this script upgrade directly form any older version or should i find the 3.x update-script and than the 5.x-version?) - at least one Windows-computer is 64Bit (so to avoid the vss-problems the director should be 64Bit too) could there be problems to switch from 32Bit bacula 2.4.4 to 64Bit 5.0.2? Have i missed something? greetings Stefan -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Using multiple Drives / Bacula Version 2.4.4
Hi all, I am using a Tape library with two drives. Both are set up in the sd.conf. What can I do to run Backupjobs on both drives at the same time? At the Moment only one drive (/dev/nst0) is used. I am using Bacula 2.4.4. This is the status output: Device status: Autochanger "Autochanger" with devices: "Drive-1" (/dev/nst0) "Drive-2" (/dev/nst1) Device "Drive-1" (/dev/nst0) is mounted with: Volume: MBB065 Pool:*unknown* Media type: IBM-LTO4 Slot 27 is loaded in drive 0. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Device "Drive-2" (/dev/nst1) is not open. Drive 1 status unknown. Used Volume status: MBB065 on device "Drive-1" (/dev/nst0) Reader=0 writers=0 devres=0 volinuse=0 Regards, Stefan Lubitz Head of IT Stuttgart - Munich - Detroit _ MACKEVISION Medien Design GmbH, Stuttgart Forststraße 7 D - 70174 Stuttgart Tel.: +49 (0) 711 / 933 048-98 Fax.: +49 (0) 711 / 933 048-90 stefan.lub...@mackevision.de<mailto:stefan.lub...@mackevision.de> www.mackevision.de<http://www.mackevision.de> Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using multiple Drives / Bacula Version 2.4.4
h, thanks for the hint :-) At the moment both jobs are using one pool (differential pool). I allready searched in the archive but haven't found the solution. That's why I wrote the mail ;-) Maybe i missed someting.. I will search again. Thanks, Stefan Von: John Drescher [dresche...@gmail.com] Gesendet: Freitag, 3. September 2010 18:17 An: Stefan Lubitz; bacula-users Betreff: Re: [Bacula-users] Using multiple Drives / Bacula Version 2.4.4 > I am using a Tape library with two drives. Both are set up in the sd.conf. > > What can I do to run Backupjobs on both drives at the same time? > > At the Moment only one drive (/dev/nst0) is used. > > I am using Bacula 2.4.4. If the jobs go to different pools then bacula should automatically choose the empty drive. If two jobs that you want to run at the same time go to the same pool the problem is getting bacula to load more than 1 volume from a pool at the same time. There are ways to do this. Please search the archives if no one else answers, I do not have to time to look that up at the moment. John -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] pre-checking tape for next backup
Hi Arno, hi James, I have got nearly the same "problem" If one of you could give me a good hint where to start for the script, it would be great :-) Thanks, Stefan -Ursprüngliche Nachricht- Von: Arno Lehmann [mailto:a...@its-lehmann.de] Gesendet: Donnerstag, 11. Dezember 2008 09:38 An: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] pre-checking tape for next backup Hi, 11.12.2008 03:19, James Harper wrote: > I asked this question a while back, but I'd like to now figure out a > solution to it. > > Basically, one of our clients used to run Amanda and now runs Bacula. > Obviously Bacula is superior :) but one feature they miss from Amanda is > the ability to be notified if the tape (external disk in this case) has > not been changed. > > At 11am, Amanda would check and send an email to the backup operator if > the current tape was not suitable for tonights backup. At 3pm it checks > again and if the current tape is still not suitable, it emails the > operator and a few others, on the assumption that the operator is out of > the office. > > At some sites where we use tapes, the tape is ejected at the end of the > backup so it's easy to just check if there is a tape inserted or not (it > is reasonable to assume that if a tape has been put in that it's > probably the right one) but for usb attached external disks it's not so > simple, so I would like a more general solution... > > My rules would be: > 1. Check mounted volume - if no volume then send email > 2. If status is 'Recycle' (or other immediately usable state) then no > action > 3. If status is 'Append' then send email (only room for one backup on a > tape, maybe this would be configurable) > 4. If status is 'Used' and it will still be 'protected from overwrite' > at the time of the next scheduled backup then send email > 5. If status is 'used' and the tape will be eligible for recycle at the > time of the next backup then no action > 6. Otherwise, the situation is something I haven't thought of so send an > email to me so I can put a rule in for it. > > #1 should just be a mount operation, but then how can I get the name of > the volume that is currently mounted? Parse the output of 'echo "sta sd="|bconsole -c ...' or use btape. > #2-6 should just be a bit of creative Sql and some scripting (Python?) Or Perl, (ba)sh, or any other script language... but yes, I agree. I'd actually try to create an easily configurable script and publish it, if I were you ;-) > Any comments or suggestions? I've got a script I use to unload volumes that are full and eligible for safe storge and semi-automatically load and scan newly added volumes which might be a good starting-point for you. It's Perl, it's ugly, but you can have it if you like... just drop me a note. Arno > James > > > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] restoring big files spanning multiple volumes?
Hi all, I have a setup where I backup some files into a "File" storage (i.e. not on tape). I have set the maximum volume size to something around 2 GB to avoid some problems when transfering them later via FTP, storing them on other file systems etc. One of the files to be backuped has around 3.5 GB. In all my backups this file (obviously) spans two volumes. The problem: this large file can not be restored. Using the "restore" command in the bacula console results in this: * restore ... Start Restore Job 1und1big-restore.2009-03-18_13.02.08 Using Device "1und1big" Ready to read from volume "1und1big-0146" on device "1und1big" (/var/backup/1und1big). End of Volume at file 0 on device "1und1big" (/var/backup/1und1big), Volume "1und1big-0146" Ready to read from volume "1und1big-0147" on device "1und1big" (/var/backup/1und1big). Forward spacing Volume "1und1big-0147" to file:block 0:202. Error: block.c:318 Volume data error at 0:1143604416! Block checksum mismatch in block=48729 len=64512: calc=b8260f44 blk=1551553a Error: attribs.c:421 File size of restored file /tmp/bacula-restore/1und1big/var/lib/postgresql/backup/database.dump not correct. Original 3682990713, restored 3120824320. When using "bextract" the following happens: > bextract -v -V "1und1big-0146|1und1big-0147" . bextract: match.c:249-0 add_fname_to_include prefix=0 gzip=0 fname=/ bextract: butil.c:282 Using device: "1und1big" for reading. Ready to read from volume "1und1big-0146" on device "1und1big" (/var/backup/1und1big). ... (some extracted files) -rw-r- 1 root bacula 3682990713 2009-03-15 21:02:24 ./var/lib/postgresql/backup/database.dump Error: block.c:318 Volume data error at 0:329269449! Block checksum mismatch in block=5105 len=64512: calc=7bf50f5a blk=66f71ed4 Error: attribs.c:421 File size of restored file ./var/lib/postgresql/backup/database.dump not correct. Original 3682990713, restored 309133312. bextract: acquire.c:436-0 dir_update_vol_info. label=64 Vol=1und1big-0146 131 files restored. This happens for both full backups and for incremental backups. This is very likely no hardware defect on my hard disk because this happens with ALL backups I've ever made. I've even tried to use bscan to update the catalog, but this did not change anything - the error messages during "restore" and "bextract" are the same. Any ideas how to restore this file? This is a kind of desaster situation because at the moment I NEED this backup. So of course it would be nice to know how to avoid this problem for future backups. But I would also be lucky about a way how to completely restore this file (I guess all relevant data is available in the backups files, but the restore process does not handle it well). Any help possible? Thanks and regards -stefan- My configuration: - Bacula Version: 2.4.3 (10 October 2008) x86_64-pc-linux-gnu gentoo bacula-dir.conf (shortened to the relevant parts): -- FileSet { Name = 1und1big Include { Options { compression = GZIP } File = /var/lib/postgresql/backup/ File = ... (some more dirs here) } } Storage { Name = 1und1big Address = 127.0.0.1 Password = "password-storage-1und1big" Device = 1und1big MediaType = File } Pool { Name = 1und1big Pool Type = Backup Storage = 1und1big Maximum Volume Jobs = 1 Maximum Volume Bytes = 20 Volume Retention = 30 days Label Format = "1und1big-" } bacula-sd.conf: --- Device { Name = 1und1big Archive Device = "/var/backup/1und1big" Device Type = File Media Type = File Always Open = no Removable Media = no Random Access = yes LabelMedia = yes } -- --- Dipl. Inf. (FH) Stefan Palme email: klei...@hora-obscura.de www: http://hbci4java.kapott.org http://converter-db.de http://myamavis.kapott.org icq: 36376278 key fingerprint: 1BA7 D217 36A1 534C A5AD F18A E2D1 488A E904 F9EC --- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restoring big files spanning multiple volumes?
Hi, On Wed, 2009-03-18 at 09:24 -0400, John Drescher wrote: > > I have a setup where I backup some files into a "File" storage > > (i.e. not on tape). I have set the maximum volume size to something > > around 2 GB to avoid some problems when transfering them later via > > FTP, storing them on other file systems etc. > > > > One of the files to be backuped has around 3.5 GB. In all my backups > > this file (obviously) spans two volumes. > > > That is generally not a problem. I have restored dozens of times in > this situation without ever seeing this error. So did I, but I thought maybe the combination "one file backed up on multiple volumes" and "compression on" may cause the problem. > > Any ideas how to restore this file? This is a kind of desaster > > situation because at the moment I NEED this backup. So of course > > it would be nice to know how to avoid this problem for future backups. > > > This is not normal behavior. Some how the volume big-0147 got > corrupted (bacula bug? / kernel bug? / bad hardware? / other software? > / unclean shutdown?) . I am not sure a corrupted volume is > recoverable, especially one with compression on. Maybe the volume got corrupted. But even if I try to restore an older backup the same happens. I do a full backup once a week and an daily incremental backup. The database dump file in question will be backed up every day by the incremental backup. None of those backups for the last 30 days works. > > But I would also be lucky about a way how to completely restore > > this file (I guess all relevant data is available in the backups files, > > but the restore process does not handle it well). > > > > Any help possible? > > Thanks and regards > > > Do you have a bootstrap file for the job? I guess not. I only keep the bootstrap files of the most recent job. > BTW, are you using a 32 bit OS? I have not had bacula on 32 bits since > late 2004 at work. However I did have 32 bits at home till 2005. What > version of bacula are you using? Are you using concurrent jobs? Version: 2.4.3 (10 October 2008) x86_64-pc-linux-gnu gentoo So no 32 bit OS. And not concurrent jobs. At least I did not modify any default behaviour, so "grep -i concurrent /etc/bacula/bacula*.conf" results in no output. I guess the default behaviour is to run only one single job. But maybe one can explain what exactly those error messages mean? Especially I am interested in the fact that the error message "Block checksum mismatch in block=5105 len=64512..." prints two different values for "block" - block=48729 when doing restore from the bacula console, block=5105 when using bextract... Maybe it is also interesting, that the checksum error occurs on the FIRST volume (-0146) when using bextract, but on the SECOND volume (-0147) when using the bacula console (at least this is my interpretation of the error messages). A question about this one: "Error: attribs.c:421 File size of restored file ./var/lib/postgresql/backup/database.dump not correct. Original 3682990713, restored 309133312.". Why not all data has been restored? Is it because the restore process has been canceled because of the previous checksum error? Or is there not enough data to restore everything? Thanks and regards -stefan- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restoring big files spanning multiple volumes?
On Wed, 2009-03-18 at 13:16 +0100, Stefan Palme wrote: > Hi all, > [...] > One of the files to be backuped has around 3.5 GB. In all my backups > this file (obviously) spans two volumes. > > The problem: this large file can not be restored. > [...] > Forward spacing Volume "1und1big-0147" to file:block 0:202. > Error: block.c:318 Volume data error at 0:1143604416! > Block checksum mismatch in block=48729 len=64512: calc=b8260f44 blk=1551553a > Error: attribs.c:421 File size of restored file > /tmp/bacula-restore/1und1big/var/lib/postgresql/backup/database.dump not > correct. Original 3682990713, restored 3120824320. Thanks to all replies. After a lot of unsuccessful tries with different backups, different tools etc. I've copied the backup-files created by bacula to another server (same arch, same kernel, same bacula-version) and bextracted their content - successfully! Very strange - I guess the bacula on the first server got broken somehow thanks and regards -stefan- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 3910 Unable to open device ""nas2016" (/nas2016)": ERR=dev.c:575 Could not open: /nas2016/bkp-nas-0419, ERR=no permission
Hi. I am searching for hours, but I am not able to figure out, why I get this error... Yes, I know, it must be a permission setting but I am too stupid to find it even after years on linux. This is my setup: Device { Name = nas2016 Media Type = File Archive Device = /nas2016 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; # AutomaticMount = no; # when device opened, read it # RemovableMedia = no; AutomaticMount = yes; RemovableMedia = yes; AlwaysOpen = no; Maximum Volume Size = 295GB; Requires Mount = no; Mount Point = /nas2016 # # nicht notwendig, NAS wird per /etc/fstab beim Booten gemountet. # # Mount Command = "/bin/mount /nas01_backup"; # Unmount Command = "/bin/umount /nas01_backup"; } The Mount Point looks like that: Notice, it is 777... drwxrwxrwx. 3 nobody nobody 4096 19. Mai 16:14 nas2016 I am able to touch a file there using: sudo -u bacula touch /nas2016/test I can even see (when using vi instead of touch) the contents of the file using the nas gui. The nas is mounted via fstab and looks like this: cat /proc/mounts | grep nas nas2016.privat.i-concept.de:/volume1/backups /nas2016 nfs4 rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.50,local_lock=none,addr=192.168.1.15 0 0 Storage { # definition of myself Name = backnix05-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/spool/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 5 } I am on CentOS 7, running backnix05-dir Version: 5.2.13 (19 February 2013) The error is triggered when doing this: *label Automatically selected Catalog: IcCatalog Using Catalog "IcCatalog" The defined Storage resources are: 1: File 2: NAS01_STORAGE_BACKNIX Select Storage resource (1-2): 2 Enter new Volume name: bkp-nas-0422 Defined Pools: 1: Default 2: File 3: Scratch 4: Full-Backup-Pool 5: Incr-Backup-Pool 6: Subseq-Backup-Pool 7: File-Backup-Pool 8: USB_FRIDAY_EVEN 9: USB_FRIDAY_ODD 10: NAS01_POOL Select the Pool (1-10): 10 Connecting to Storage daemon NAS01_STORAGE_BACKNIX at 192.168.1.50:9103 ... Sending label command for Volume "bkp-nas-0422" Slot 0 ... 3910 Unable to open device ""nas2016" (/nas2016)": ERR=dev.c:575 Could not open: /nas2016/bkp-nas-0422, ERR=Keine Berechtigung Label command failed for Volume bkp-nas-0422. Do not forget to mount the drive!!! Bacula tries to open the file, but with an ls -l I am not able to see the file /nas2016/bkp-nas-0422 either. Is it not there, because bacula is not able to produce and is this caused by the permission error? Or is the error triggered at a earlier point? Just in case: Yes, sd and dir are running as user bacula. ps axf | grep bacula 1305 ?Ssl0:00 /usr/sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf -u bacula -g bacula 1315 ?Ssl0:00 /usr/sbin/bacula-fd -f -c /etc/bacula/bacula-fd.conf -u root -g root 2999 pts/0S+ 0:00 | \_ grep --color=auto bacula 2963 pts/1S+ 0:00 | \_ vi /etc/bacula/bacula-sd.conf 1336 ?Ssl0:00 /usr/sbin/bacula-sd -f -c /etc/bacula/bacula-sd.conf -u bacula -g tape Please help, my backups are not running. Thanks. Stefan -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [SOLVED] Re: 3910 Unable to open device ""nas2016" (/nas2016)": ERR=dev.c:575 Could not open: /nas2016/bkp-nas-0419, ERR=no permission
Hi Patti. Thank you very much for pointing me into the right direction. It was the selinux setting. After setting it to permissive I was able to label a new volume. The disk group setting is not necessary with 777. The trick with unmounting the nfs share did I try already. But anyway a sudo -u bacula touch test already showed that it was possible to write to the nfs share. Thanks for your help. Stefan > "Clark, Patti" hat am 19. Mai 2016 um 18:55 geschrieben: > > Is your bacula user a member of the disk group on your SD system? > > What is the state of selinux? If it’s enforcing – set it to permissive or > disable it. > > And lastly, I have a disk storage area for testing. The ownership is set to > be bacula:root with 770 perms which works. When I change it to nobody:nobody > I get the same error below. When I change the permissions to 777, it works. > If you can test your mount area without the nfs mount and it works, then nfs > is your issue. NFSv4 maps users. I’m willing to bet that if you fall back to > NFSv3 it will work (provided that firewalld is set to allow all of the ports – > probably disable firewalld for the test). If so, then you need to either use > NFSv3 or fix your user issues with NFSv4 which is outside the scope of this > list. > > Patti > > > From: Stefan Lamby mailto:webmas...@peter-speer.de > > > Reply-To: Stefan Lamby mailto:webmas...@peter-speer.de > > Date: Thursday, May 19, 2016 at 11:25 AM > To: "bacula-users@lists.sourceforge.net > mailto:bacula-users@lists.sourceforge.net " > mailto:bacula-users@lists.sourceforge.net > > > Subject: [Bacula-users] 3910 Unable to open device ""nas2016" (/nas2016)": > ERR=dev.c:575 Could not open: /nas2016/bkp-nas-0419, ERR=no permission > > Hi. > I am searching for hours, but I am not able to figure out, why I get this > error... > Yes, I know, it must be a permission setting but I am too stupid to find it > even > after years on linux. > > This is my setup: > Device { >Name = nas2016 >Media Type = File >Archive Device = /nas2016 >LabelMedia = yes; # lets Bacula label unlabeled media >Random Access = Yes; ># AutomaticMount = no; # when device opened, read it ># RemovableMedia = no; >AutomaticMount = yes; >RemovableMedia = yes; >AlwaysOpen = no; >Maximum Volume Size = 295GB; >Requires Mount = no; >Mount Point = /nas2016 > # > # nicht notwendig, NAS wird per /etc/fstab beim Booten gemountet. > # > # Mount Command = "/bin/mount /nas01_backup"; > # Unmount Command = "/bin/umount /nas01_backup"; > } > > The Mount Point looks like that: > Notice, it is 777... > drwxrwxrwx. 3 nobody nobody 4096 19. Mai 16:14 nas2016 > > I am able to touch a file there using: > sudo -u bacula touch /nas2016/test > I can even see (when using vi instead of touch) the contents of the file > using > the nas gui. > > The nas is mounted via fstab and looks like this: > cat /proc/mounts | grep nas > nas2016.privat.i-concept.de:/volume1/backups /nas2016 nfs4 > > rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.50,local_lock=none,addr=192.168.1.15 > 0 0 > > Storage { # definition of myself >Name = backnix05-sd >SDPort = 9103 # Director's port >WorkingDirectory = "/var/spool/bacula" >Pid Directory = "/var/run" >Maximum Concurrent Jobs = 5 > } > > I am on CentOS 7, running backnix05-dir Version: 5.2.13 (19 February 2013) > > The error is triggered when doing this: > > *label > Automatically selected Catalog: IcCatalog > Using Catalog "IcCatalog" > The defined Storage resources are: > 1: File > 2: NAS01_STORAGE_BACKNIX > Select Storage resource (1-2): 2 > Enter new Volume name: bkp-nas-0422 > Defined Pools: > 1: Default > 2: File > 3: Scratch > 4: Full-Backup-Pool > 5: Incr-Backup-Pool > 6: Subseq-Backup-Pool > 7: File-Backup-Pool > 8: USB_FRIDAY_EVEN > 9: USB_FRIDAY_ODD > 10: NAS01_POOL > Select the Pool (1-10): 10 > Connecting to Storage daemon NAS01_STORAGE_BACKNIX at 192.168.1.50:9103 ... > Sending label command for Volume "bkp-nas-0422" Slot 0 ... > 3910 Unable to open device ""nas2016" (/nas2016)": ERR=dev.c:575 Could not > open: > /nas2016/bkp-nas-0422, ERR=Keine Berechtigung > > Label comma
[Bacula-users] mysqldump not working due to missing password
Hi guys, I have a ClientRunBeforeJob directive that makes a dump of each database (using mysqldump) before the backup. ClientRunBeforeJob = "sh -c 'databases=`mysql -u root -e \"SHOW DATABASES;\" | grep -Ev \"(Database|information_schema|performance_schema)\"`; rm -f /var/spool/bacula/*.sql && for db in $databases; do mysqldump --defaults-extra-file=/var/spool/bacula/.my.cnf --opt --events --databases $db > /var/spool/bacula/$db.sql; done && unset databases'" I added the option --defaults-extra-file=/root/.my.cnf because it neede a password but since the bacula user couldn't read the file in that directory it failed. So I moved the file to /var/spool/bacula/.my.cnf and changed the ClientRunBeforeJob accordingly. Just checked and it still didn't work (ClientRunBeforeJob: ERROR 1045 (28000): Access denied for user 'x'@'y' (using password: NO). I can log in to mysql as bacula with no problem (using 'sudo -u bacula mysql') So what am I missing here? Also when it fails, the job still continues without error which is why I hadn't caught this problem before. Hope you can help me figure this one out Regards Stefan -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mysqldump not working due to missing password
You're right I messed up missing to pass the --defaults-extra-file in the mysql command and thus it would fail trying to get the list of databases. Messed around in a VM an got to the same conslusion. I changed the config now I'll see tomorrow how it went. Thanks for the tips. Still is there a way to have the Job fail on an error like that? Stefan On Thu, Jan 5, 2017 at 1:33 PM, Martin Simmons wrote: > >>>>> On Thu, 5 Jan 2017 08:47:08 +0100, Stefan Kiehne said: > > > > Hi guys, > > > > I have a ClientRunBeforeJob directive that makes a dump of each database > > (using mysqldump) before the backup. > > > > ClientRunBeforeJob = "sh -c 'databases=`mysql -u root -e \"SHOW > DATABASES;\" | grep -Ev \"(Database|information_schema|performance_schema)\"`; > rm -f /var/spool/bacula/*.sql && for db in $databases; do mysqldump > --defaults-extra-file=/var/spool/bacula/.my.cnf --opt --events > --databases $db > /var/spool/bacula/$db.sql; done && unset databases'" > > > > I added the option --defaults-extra-file=/root/.my.cnf because it neede > a > > password but since the bacula user couldn't read the file in that > directory > > it failed. So I moved the file to /var/spool/bacula/.my.cnf and changed > the > > ClientRunBeforeJob accordingly. Just checked and it still didn't work > > (ClientRunBeforeJob: ERROR 1045 (28000): Access denied for user 'x'@'y' > > (using password: NO). I can log in to mysql as bacula with no problem > > (using 'sudo -u bacula mysql') So what am I missing here? > > Is the "ERROR 1045" coming from `mysql ...` or from mysqldump? > > I suspect confusion about users and defaults from your description. > > 1. The ClientRunBeforeJob runs in the bacula-fd. Are you really running > that as the bacula user? Normally it runs as root. > > 2. You are passing '-u root' to mysql so this is not connecting as the > bacula user and might be different from your tests with 'sudo -u bacula > mysql'. > > 3. You are not passing --defaults-extra-file to mysql (only to mysqldump). > > 4. You are not passing '-u root' to mysqldump, so the user will either be > specified in /var/spool/bacula/.my.cnf or defaulted to the user running the > command (probably root in the ClientRunBeforeJob). > > __Martin > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with Bacula
Hi Swapnil, You have to configure how often/long bacula uses a Volume in the Pool definition. If you have just one backup Job probably adding UseVolumeOnce = yes. to your Pool Definition will be enaught so that each Volume will be used only once. I'D recommend reading http://www.bacula.org/7.4.x-manuals/en/main/Basic_Volume_Management.html for more information on Volume Management in Bacula. Regards Stefan KIehne On Mon, Jan 23, 2017 at 8:47 AM, Swapnil Bhaigude < swapnil.bhaig...@zycus.com> wrote: > Hi Team, > > > > I have successfully scheduled backup but now the issue is every day backup > is getting written in same file, Is there any way to create new file every > day for backup of client. > > > > Regards, > > Swapnil Bhaigude. > > > This email communication (including any attachments) contains confidential > information and is intended only for the named recipients. If you are not > the intended recipient, please delete this email communication (including > any attachments) and hard copies immediately, Any unauthorized use or > dissemination of this email communication (including any attachments) in > any manner, is strictly prohibited. This email communication (including any > attachments), may not be free of viruses, you should carry out your own > virus checks before opening any attachment to this e-mail. The sender of > this e-mail and the company shall not be liable for any damage that you may > sustain as a result of viruses, incompleteness of this message, > interception of this message, which may arise as a result of e-mail > transmission. > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
Hello List. Once a week I got this error, when performing a backup. 19 out of 20 backup jobs work well, one fails. The nas_01 device is a small 1 TB NAS, mounted via fstab: //192.168.1.9/Volume_1 /nas01_backupcifs soft,username=**,password=**,uid=107,gid=107 0 0 The /nas01_backup/backup/ directory exists on the device and other jobs are using it successfully. Here is the output of the status mail: 13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348, Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57 13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01" 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464 Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023 Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file or directory 13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in Error in Catalog. 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled. 13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Do you have any advice/idea? Thank you very much. Stefan-- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
Thank you very much for pointing this out. My Version is 5.0.3 and it is running at an opensuse 11.4 version. Could it work if I just compile a new sd executable and put the new one with depending libraries to that machine? Or to be more spefic: will director 5.0.3 and the other (old) components work together with a current sd or do I have to renew everything? Thanks, Stefan > Kern Sibbald hat am 10. Juli 2014 um 17:36 geschrieben: > > Unfortunately, neither CIFS nor NFS include a truncate() function, and this > problem was not noticed because not many people write Volumes directly to a > CIFS/NFS mount. Doing so is not really a good idea for a number of reasons > reasons. > > Any way, once it was discovered (quite a long time ago), I fixed it by > "emulating" a truncate. Consequently, I suspect that if you upgrade to a more > recent version of Bacula, it will probably work. > > Best regards, > Kern > > On 07/10/2014 01:22 PM, Stefan Lamby wrote: > > > > Hello List. > > > > Once a week I got this error, when performing a backup. > > 19 out of 20 backup jobs work well, one fails. > > The nas_01 device is a small 1 TB NAS, mounted via fstab: > > //192.168.1.9/Volume_1 /nas01_backupcifs > >soft,username=**,password=**,uid=107,gid=107 0 0 > > > > The /nas01_backup/backup/ directory exists on the device and other jobs > > are using it successfully. > > > > Here is the output of the status mail: > > > > 13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348, > > Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57 > > 13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01" > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464 > > Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023 > > Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file > > or directory > > > > 13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in > > Error in Catalog. > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled. > > 13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad > > response to Append Data command. Wanted 3000 OK data > > , got 3903 Error append data > > > > Do you have any advice/idea? > > > > Thank you very much. > > Stefan > > > > > > > > > > > > -- > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community > > Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > <mailto:Bacula-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
You wrote writing Volumes directly to a CIFS mount is not really a good idea for a number of reasons. What do you recommend as best practice instead? Best regards, Stefan > Kern Sibbald hat am 10. Juli 2014 um 17:36 geschrieben: > > Unfortunately, neither CIFS nor NFS include a truncate() function, and this > problem was not noticed because not many people write Volumes directly to a > CIFS/NFS mount. Doing so is not really a good idea for a number of reasons > reasons. > > Any way, once it was discovered (quite a long time ago), I fixed it by > "emulating" a truncate. Consequently, I suspect that if you upgrade to a more > recent version of Bacula, it will probably work. > > Best regards, > Kern > > On 07/10/2014 01:22 PM, Stefan Lamby wrote: > > > > Hello List. > > > > Once a week I got this error, when performing a backup. > > 19 out of 20 backup jobs work well, one fails. > > The nas_01 device is a small 1 TB NAS, mounted via fstab: > > //192.168.1.9/Volume_1 /nas01_backupcifs > >soft,username=**,password=**,uid=107,gid=107 0 0 > > > > The /nas01_backup/backup/ directory exists on the device and other jobs > > are using it successfully. > > > > Here is the output of the status mail: > > > > 13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348, > > Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57 > > 13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01" > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464 > > Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023 > > Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file > > or directory > > > > 13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in > > Error in Catalog. > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled. > > 13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad > > response to Append Data command. Wanted 3000 OK data > > , got 3903 Error append data > > > > Do you have any advice/idea? > > > > Thank you very much. > > Stefan > > > > > > > > > > > > -- > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community > > Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > <mailto:Bacula-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
Got you, thanks. Best regards, Stefan > Josh Fisher hat am 17. Juli 2014 um 14:12 geschrieben: > > On 7/17/2014 4:38 AM, Stefan Lamby wrote: > > > > You wrote writing Volumes directly to a CIFS mount is not really > > > a good idea for a number of reasons. > > What do you recommend as best practice instead? > > > > > Bacula reads/writes blocks of data. Therefore block-based protocols like > > > iSCSI are a better fit than than file-based protocols like NFS and CIFS, > > > > > > > Best regards, > > Stefan > > > > > > > > > Kern Sibbald <mailto:k...@sibbald.com> hat am > > > > > 10. Juli 2014 um 17:36 geschrieben: > > > > > > Unfortunately, neither CIFS nor NFS include a truncate() function, > > > and this problem was not noticed because not many people write Volumes > > > directly to a CIFS/NFS mount. Doing so is not really a good idea for a > > > number of reasons reasons. > > > > > > Any way, once it was discovered (quite a long time ago), I fixed it > > > by "emulating" a truncate. Consequently, I suspect that if you upgrade to > > > a more recent version of Bacula, it will probably work. > > > > > > Best regards, > > > Kern > > > > > > > > > > > > -- > Want fast and easy access to all the code in your enterprise? Index and search > up to 200,000 lines of code with a free copy of Black Duck Code Sight - the > same software that powers the world's largest code search on Ohloh, the Black > Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds___ > Bacula-users mailing list Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
Got the point. I'll think about buying 2 more SATA HDs using software raid to store the precious Volumes on those. Btw., using md, is there something wrong with using it in partnership with bacula? Cheers, Stefan > Kern Sibbald hat am 17. Juli 2014 um 19:38 geschrieben: > > On 07/17/2014 10:38 AM, Stefan Lamby wrote: > > > > You wrote writing Volumes directly to a CIFS mount is not really > > > a good idea for a number of reasons. > > What do you recommend as best practice instead? > > > > > Write your Volumes to a natively mounted (not network mount) Linux > > > filesystem. > > Best regards, Kern Best regards, Stefan Kern Sibbald <mailto:k...@sibbald.com> hat am 10. Juli 2014 um 17:36 geschrieben: Unfortunately, neither CIFS nor NFS include a truncate() function, and this problem was not noticed because not many people write Volumes directly to a CIFS/NFS mount. Doing so is not really a good idea for a number of reasons reasons. Any way, once it was discovered (quite a long time ago), I fixed it by "emulating" a truncate. Consequently, I suspect that if you upgrade to a more recent version of Bacula, it will probably work. Best regards, Kern On 07/10/2014 01:22 PM, Stefan Lamby wrote: Hello List. Once a week I got this error, when performing a backup. 19 out of 20 backup jobs work well, one fails. The nas_01 device is a small 1 TB NAS, mounted via fstab: //192.168.1.9/Volume_1 /nas01_backupcifs soft,username=**,password=**,uid=107,gid=107 0 0 The /nas01_backup/backup/ directory exists on the device and other jobs are using it successfully. Here is the output of the status mail: 13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348, Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57 13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01" 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464 Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023 Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file or directory 13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in Error in Catalog. 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled. 13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Do you have any advice/idea? Thank you very much. Stefan -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
> Kern Sibbald hat am 18. Juli 2014 um 10:37 geschrieben: > > On 07/17/2014 08:41 PM, Stefan Lamby wrote: > > > > Got the point. > > I'll think about buying 2 more SATA HDs using software raid to store > > the precious Volumes on those. > > > > > That should work well. > > > > Btw., using md, is there something wrong with using it in > > > partnership with bacula? > > > > > What is md? > Ooops. My bad. I was using a short form for the device name linux is using for a software raid. They are called md0, md1, and so on. Again, thank you so much for all the valuable input you gave. Have a nice weekend! Greetz Stefan > > Kern > > > > > > Cheers, > > Stefan > > > > > > > Kern Sibbald <mailto:k...@sibbald.com> hat am > > > > > 17. Juli 2014 um 19:38 geschrieben: > > > > > > On 07/17/2014 10:38 AM, Stefan Lamby wrote: > > > > > > > > > > You wrote writing Volumes directly to a CIFS > > > > > > > mount is not really a good idea for a number of reasons. > > > > What do you recommend as best practice instead? > > > > > > > > > > > Write your Volumes to a natively mounted (not network > > > > > > > mount) Linux filesystem. > > > > > > > > > > > > Best regards, > > Kern > > > > > > Best regards, > > Stefan > > > > Kern Sibbald <mailto:k...@sibbald.com> hat am 10. > > Juli 2014 um 17:36 geschrieben: > > > > Unfortunately, neither CIFS nor NFS include a truncate() function, and > > this problem was not noticed because not many people write Volumes directly > > to a CIFS/NFS mount. Doing so is not really a good idea for a number of > > reasons reasons. > > > > Any way, once it was discovered (quite a long time ago), I fixed it by > > "emulating" a truncate. Consequently, I suspect that if you upgrade to a > > more recent version of Bacula, it will probably work. > > > > Best regards, > > Kern > > > > On 07/10/2014 01:22 PM, Stefan Lamby wrote: > > Hello List. > > > > Once a week I got this error, when performing a backup. > > 19 out of 20 backup jobs work well, one fails. > > The nas_01 device is a small 1 TB NAS, mounted via fstab: > > //192.168.1.9/Volume_1 /nas01_backupcifs > >soft,username=**,password=**,uid=107,gid=107 0 0 > > > > The /nas01_backup/backup/ directory exists on the device and other jobs > > are using it successfully. > > > > Here is the output of the status mail: > > > > 13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348, > > Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57 > > 13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01" > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464 > > Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023 > > Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file > > or directory > > > > 13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in > > Error in Catalog. > > 13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled. > > 13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad > > response to Append Data command. Wanted 3000 OK data > > , got 3903 Error append data > > > > Do you have any advice/idea? > > > > Thank you very much. > > Stefan > > > > > > > > > > > > -- > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community > > Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > <
Re: [Bacula-users] Fatal error: label.c:464 Truncate error on device - ERR=No such file or directory
Hello List. I followed the advice you gave and updated director and sd to the most current version to avoid this truncate error I reported before (see below). Too sad, we do have the same issue again. Do you have any more advice? Thank you! Stefan This is the current log: 29-Jul 23:30 backnix05-dir JobId 11992: Start Backup JobId 11992, Job=extranix-system-full-nas.2014-07-29_23.30.00_45 29-Jul 23:30 backnix05-dir JobId 11992: Max configured use duration=604,800 sec. exceeded. Marking Volume "bkp-nas-0280" as Used. 29-Jul 23:40 backnix05-dir JobId 11992: There are no more Jobs associated with Volume "bkp-nas-0275". Marking it purged. 29-Jul 23:40 backnix05-dir JobId 11992: All records pruned from Volume "bkp-nas-0275"; marking it "Purged" 29-Jul 23:40 backnix05-dir JobId 11992: Recycled volume "bkp-nas-0275" 29-Jul 23:40 backnix05-dir JobId 11992: Using Device "nas_01" to write. 29-Jul 23:47 extranix-fd JobId 11992: DIR and FD clocks differ by 388 seconds, FD automatically compensating. 29-Jul 23:41 backnix05-sd JobId 11992: Fatal error: label.c:509 Truncate error on file device "nas_01" (/nas01_backup/backup): ERR=file_dev.c:205 Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file or directory 29-Jul 23:41 backnix05-sd JobId 11992: Marking Volume "bkp-nas-0275" in Error in Catalog. 29-Jul 23:41 backnix05-sd JobId 11992: Fatal error: Job 11992 canceled. 29-Jul 23:47 extranix-fd JobId 11992: Fatal error: job.c:2390 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data: 29-Jul 23:41 backnix05-dir JobId 11992: Error: Bacula backnix05-dir 7.0.4 (04Jun14): Build OS: i686-pc-linux-gnu suse 11.4 JobId: 11992 Job:extranix-system-full-nas.2014-07-29_23.30.00_45 Backup Level: Incremental, since=2014-07-28 23:30:00 Client: "extranix-fd" 5.2.6 (21Feb12) x86_64-unknown-linux-gnu,suse,5.x FileSet:"FS Linux System" 2011-11-10 23:30:00 Pool: "NAS01_POOL" (From Run Pool override) Catalog:"IcCatalog" (From Client resource) Storage:"NAS01_STORAGE_BACKNIX" (From Job resource) Scheduled time: 29-Jul-2014 23:30:00 Start time: 29-Jul-2014 23:40:43 End time: 29-Jul-2014 23:41:18 Elapsed time: 35 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 161 Volume Session Time:1405621444 Last Volume Bytes: 1 (1 B) Non-fatal FD errors:1 SD Errors: 1 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** > Stefan Lamby hat am 18. Juli 2014 um 11:24 > geschrieben: > > > > > > Kern Sibbald hat am 18. Juli 2014 um 10:37 > > > geschrieben: > > > > On 07/17/2014 08:41 PM, Stefan Lamby wrote: > > > > > > > Got the point. > > > I'll think about buying 2 more SATA HDs using software raid to store > > > the precious Volumes on those. > > > > > > > > That should work well. > > > > > > > Btw., using md, is there something wrong with using it in > > > > > partnership with bacula? > > > > > > > > What is md? > > > > > > Ooops. My bad. I was using a short form for the device name linux is using > for a software raid. They are called md0, md1, and so on. Again, thank you so > much for all the valuable input you gave. > > Have a nice weekend! > Greetz Stefan > > > > > > > > Kern > > > > > > > > > > Cheers, > > > Stefan > > > > > >> > > > Kern Sibbald <mailto:k...@sibbald.com> > > >> > > > hat am 17. Juli 2014 um 19:38 geschrieben: > > > > > > > >On 07/17/2014 10:38 AM, Stefan Lamby wrote: > > > > > > > >> > > > >You wrote writing Volumes directly to a > > > >> > > > > CIFS mount is not really a good idea for a number > > > >> > > > > of reasons. > > > > >What do you recommend as best practice instead? > > > > > > >
[Bacula-users] All jobs failed - what's next?
Hi. All my backup jobs failed because of a missing storage resource. New jobs are scheduled for this evening. If I can live with it: Will I miss anything if I wait until this evening? Will bacula look back and see what needs to be done? What do you recommend? Stefan-- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] All jobs failed - what's next?
Thank you for this info. It was incremental. Just in case: If it would have been a full backup, would bacula be able to detect that a full backup is missing and will upgrade the next incremental job to a full backup? I think read this somewhere. Am I wrong? > Liam Price hat am 26. Juni 2015 um 12:16 > geschrieben: > > > If the backup is incremental it will backup the differences between the > most recent sucessful backup and the job that is run tonight. Nothing > should be missed out. > > Liam > > On 26/06/2015 10:00, Stefan Lamby wrote: > > Hi. > > All my backup jobs failed because of a missing storage resource. > > New jobs are scheduled for this evening. > > If I can live with it: Will I miss anything if I wait until this > > evening? Will bacula look back and see what needs to be done? > > > > What do you recommend? > > > > Stefan > > > > > > -- > > Monitor 25 network devices or servers for free with OpManager! > > OpManager is web-based network management software that monitors > > network devices and physical & virtual servers, alerts via email & sms > > for fault. Monitor 25 devices for free with no restriction. Download now > > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > > > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > -- > Liam Price > Systems Administrator > > NTA Monitor Ltd > 13-15 Railway Street > Chatham > Kent > ME4 4HU, UK > > Tel: 01634 721855 > Ext: 254 > > Fax: 01634 721844 > > Email : liam.pr...@nta-monitor.com > Website : www.nta-monitor.com > > This email (including any attachments) is intended only for the > recipient(s) named above. It may contain confidential or privileged > information and should not be read, copied or otherwise used by any > other person unless express permission is given. If you are not a named > recipient, please contact the sender and delete the email from the > system. You should not retain, copy or use this email or any attachments > for any purpose, nor disclose all or any part of the contents to any > other person. > > NTA Monitor is a limited company no.03297071 registered in England and > Wales. > Registered office: NTA Monitor Ltd, 13-15 Railway Street, Chatham, Kent, > ME4 4HU, UK > > -- > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users-- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 800, 000+ orphaned paths entries cannot be pruned when using bvfs
Hi, I have an almost 9 years running Bacula installation that accumulated more than 800,000 orphaned paths entries in the database (around 5% of all entries in the path table). dbcheck claims it cannot prune those when BVFS is used. 9) Check for orphaned Path records Select function number: 9 Pruning orphaned Path entries isn't possible when using BVFS. Is there anything I can do about it? Best regards Stefan -- this is an empty signature :-) ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 800, 000+ orphaned paths entries cannot be pruned when using bvfs
Hello Kern, thanks for the answer. I'll do. But for the time being I found a workaround. Digging in the source, I found, that dbcheck only tests whether any entry in the job table has "hascache" <>0. Even if there is just one entry, dbcheck declines to celar up the orphaned path entries. Searching for hascache in the rest of the source I found that hascache in the job table seems to be only reset in ".bvfs_clear_cache". I suspect that the occasionally crashing bat session left those lying around. I manually called ".bvfs_clear_cache yes" in bconsole without bat running and then dbcheck could clear up the orphaned path entries. Best regards, Stefan Am 20.01.19 um 13:51 schrieb Kern Sibbald: > Hello Stefan, > > Please submit a bug report on this. When running dbcheck, it is my opinion > that we should not be relying on .bvfs. If this is true (as it seems from > your > output) then I must see why and make sure it is justified. dbcheck should > always > be able to prune. > > Best regards, > Kern > > On 1/17/19 11:13 AM, Stefan Muenkner wrote: >> Hi, >> >> I have an almost 9 years running Bacula installation that accumulated more >> than 800,000 orphaned paths entries in the database (around 5% of all >> entries in the path table). dbcheck claims it cannot prune those when BVFS >> is used. >> >> >> 9) Check for orphaned Path records >> >> Select function number: 9 >> Pruning orphaned Path entries isn't possible when using BVFS. >> >> >> Is there anything I can do about it? >> >> Best regards >> Stefan >> -- this is an empty signature :-) ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 800, 000+ orphaned paths entries cannot be pruned when using bvfs
Am 23.01.19 um 11:03 schrieb Radosław Korzeniewski: > Hello, Hi, > wt., 22 sty 2019 o 14:39 Stefan Muenkner <mailto:stefan.muenk...@uni-saarland.de>> napisał(a): > > (...) > Searching for hascache in the rest of the source I found that hascache in > the job table seems to be only reset in ".bvfs_clear_cache". > > > Great! > > > >> > >> 9) Check for orphaned Path records > >> > >> Select function number: 9 > >> Pruning orphaned Path entries isn't possible when using BVFS. > >> > > > So, it seems the message above should be more descriptive and user > friendly and points to bvfs_clear_cache command. No I don't think so. As far as I remember the .bvfs_xxx commands are actually only there to help GUIs interact with the server - I think they are not meant to be widely used. It is actually the case that whenever bat (at least my version 7.4.1 here) is called and you select any job in brestore, it sets hascache=1 for the respective job (and seemingly some more). Originally I thought the occasionally crashing bat left those behind, but even if bat is closed regularly it never clears up the hascache, which I think it should. I have no idea what consequences it would have to ignore hascache for the pruning of orphaned paths, but I suspect, that behaviour is there for a reason. I only made sure, that bat was not running when I used .bvfs_clear_cache. > > best regards > -- > Radosław Korzeniewski > rados...@korzeniewski.net <mailto:rados...@korzeniewski.net> Best regards, Stefan Münkner -- this is an empty signature :-) ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Full backup earliest after n days
Hi Users, i have a weekly cycle for my backup, looking like that: Schedule { Name = "WeeklyCycle" Run = Level=Full on sat at 1:05 Run = Incremental on mon-sat at 1:05 } From time to time i run a full backup manually during the week. Because of the size of the files i like to prevent then to make another full backup on the next weekend but instead then doing an incremental one. How can that be done? Best regards, Stefan ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Autochanger does not change disk when full...
Hi Bacula-Users, i use a setup with two disks based on autochanger to save my backups - see configuration below. The changing between the two disks for different jobs works fine, but in the case during a backup one disk gets full, the backup fails because it does not change the disk in this case. So in my case, backup61which points on FileStorageRAID-Dev0 fills the disk up. Then bacula mounts a new volume (backup62), but instead of using FileStorageRAID-Dev1 is still uses (the full) FileStorageRAID-Dev0 which then fails because of disk full: 13-Jan 20:19 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0061" as Used. 13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0061" as Used. 13-Jan 20:25 NASBox-sd JobId 153:*End of Volume "backup0061" at 3222547279824 on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID). Write of 64512 bytes got -1.* 13-Jan 20:25 NASBox-sd JobId 153: End of medium on Volume "backup0061" Bytes=3,222,547,279,824 Blocks=49,952,680 at 13-Jan-2020 20:25. 13-Jan 20:25 NASBox-dir JobId 153: Created new Volume="backup0062", Pool="FileRAID", MediaType="FileRAID" in catalog. 13-Jan 20:25 NASBox-sd JobId 153: Labeled new Volume "backup0062" on File device "*FileStorageRAID-Dev0*" (/RAID/BACKUP_RAID). 13-Jan 20:25 NASBox-sd JobId 153: Wrote label to prelabeled Volume "backup0062" on File device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID) 13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0062" as Used. 13-Jan 20:25 NASBox-sd JobId 153: New volume "backup0062" mounted on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID) at 13-Jan-2020 20:25. 13-Jan 20:27 NASBox-sd JobId 153: Fatal error: Out of freespace caused End of Volume "backup0062" at 774595809 on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID). Write of 64512 bytes got -1. 13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:646 Write error sending 65540 bytes to Storage daemon:NASBox:9103: ERR=Connection reset by peer 13-Jan 20:27 NASBox-sd JobId 153: Elapsed time=13:41:01, Transfer rate=65.38 M Bytes/second 13-Jan 20:27 bsastf670-fd JobId 153: Fatal error: backup.c:842 Network send error to SD. ERR=Connection reset by peer 13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:536 Socket has errors=1 on call to Storage daemon:NASBox:9103 13-Jan 20:28 NASBox-dir JobId 153: Error: Bacula NASBox-dir 9.0.6 (20Nov17): How can i prevent this and give bacula a hint to change to the free disk? Best regards, Stefan Autochanger { Name = FileStorageRAID Device = FileStorageRAID-Dev0, FileStorageRAID-Dev1 Changer Command = /dev/null Changer Device = /dev/null } Device { Name = FileStorageRAID-Dev0 Media Type = FileRAID Archive Device = /RAID/BACKUP_RAID LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no Maximum Concurrent Jobs = 5 Autochanger = yes Drive Index = 0 } Device { Name = FileStorageRAID-Dev1 Media Type = FileRAID Archive Device = /RAID3/BACKUP_RAID LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no Maximum Concurrent Jobs = 5 Autochanger = yes Drive Index = 1 } ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger does not change disk when full...
Hi Josh, thanks for your explanation. Ok - looking on the pros and cons of all possibilities i will use finally an LVM over both RAID-arrays. I had already thought about that, but because i have to format both RAID-arrays for that (and therefore move some other stuff on that disks around) i first tried the autochanger... Best regards, Stefan On 1/14/2020 12:30 AM, Stefan Melber wrote: Hi Bacula-Users, i use a setup with two disks based on autochanger to save my backups - see configuration below. The changing between the two disks for different jobs works fine, but in the case during a backup one disk gets full, the backup fails because it does not change the disk in this case. So in my case, backup61which points on FileStorageRAID-Dev0 fills the disk up. Then bacula mounts a new volume (backup62), but instead of using FileStorageRAID-Dev1 is still uses (the full) FileStorageRAID-Dev0 which then fails because of disk full: Yes. Bacula assigns a Device, in this case FileStorageRAID-Dev0, to the job at startup. The Device assigned to the job can never change, once assigned. I'm not sure why this is the case, but it is by design, perhaps to prevent race conditions when asynchronous jobs are vying for drives and volumes. I'm not sure what happens when the same volume shows up in two different places, but it might be possible to create a symlink in RAID/BACKUP_RAID pointing to a volume file in RAID3/BACKUP_RAID. You could put both disk partitions in a LVM volume group and a single LV. The LV's single mountpoint would then be used as the ArchiveDevice for all of the Autochanger's Devices. Alternatively, you can use vchanger which treats all mountpoints as one large "tape" library and so allows any volume file in any mountpoint to be loaded into any of its drives (ie. associated Device resources). There are some trade-offs, such as vchanger doesn't support auto-labeling, so volumes must be manually added like when using a tape autoloader, but it does support barcode simulation, so creating and labeling volumes is not too onerous. 13-Jan 20:19 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0061" as Used. 13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0061" as Used. 13-Jan 20:25 NASBox-sd JobId 153:*End of Volume "backup0061" at 3222547279824 on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID). Write of 64512 bytes got -1.* 13-Jan 20:25 NASBox-sd JobId 153: End of medium on Volume "backup0061" Bytes=3,222,547,279,824 Blocks=49,952,680 at 13-Jan-2020 20:25. 13-Jan 20:25 NASBox-dir JobId 153: Created new Volume="backup0062", Pool="FileRAID", MediaType="FileRAID" in catalog. 13-Jan 20:25 NASBox-sd JobId 153: Labeled new Volume "backup0062" on File device "*FileStorageRAID-Dev0*" (/RAID/BACKUP_RAID). 13-Jan 20:25 NASBox-sd JobId 153: Wrote label to prelabeled Volume "backup0062" on File device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID) 13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume "backup0062" as Used. 13-Jan 20:25 NASBox-sd JobId 153: New volume "backup0062" mounted on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID) at 13-Jan-2020 20:25. 13-Jan 20:27 NASBox-sd JobId 153: Fatal error: Out of freespace caused End of Volume "backup0062" at 774595809 on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID). Write of 64512 bytes got -1. 13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:646 Write error sending 65540 bytes to Storage daemon:NASBox:9103: ERR=Connection reset by peer 13-Jan 20:27 NASBox-sd JobId 153: Elapsed time=13:41:01, Transfer rate=65.38 M Bytes/second 13-Jan 20:27 bsastf670-fd JobId 153: Fatal error: backup.c:842 Network send error to SD. ERR=Connection reset by peer 13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:536 Socket has errors=1 on call to Storage daemon:NASBox:9103 13-Jan 20:28 NASBox-dir JobId 153: Error: Bacula NASBox-dir 9.0.6 (20Nov17): How can i prevent this and give bacula a hint to change to the free disk? Best regards, Stefan Autochanger { Name = FileStorageRAID Device = FileStorageRAID-Dev0, FileStorageRAID-Dev1 Changer Command = /dev/null Changer Device = /dev/null } Device { Name = FileStorageRAID-Dev0 Media Type = FileRAID Archive Device = /RAID/BACKUP_RAID LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no Maximum Concurrent Jobs = 5 Autochanger = yes Drive Index = 0 } Device { Name = FileStorageRAID-Dev1 Media Type = FileRAID Archive Device = /RAID3/BACKUP_RAID LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOp
[Bacula-users] bRestore in bat: unable to sort columns in the "File list" pane
Hi, I've noticed lately that in bRestore which replaced the "Version Browser" in bat in the 5.2.x release all entries in the "File list" pane are displayed in a rather random order. Superficially it looks sometimes like the entries are sorted alphabetically but in fact they are not. Furthermore the entries cannot be sorted/re-sorted by clicking on the column headers ("Type", "Size", "File name", "Date") of the columns. Since filters do not work on directories (in that version) it is rather cumbersome to navigate to a specific directory. Anybody else noticed that? I am using Bacula 5.2.6 from the opensuse Archive:Backup repo. Best regards, Stefan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] doing 2. backup over wan with limited bandwith
Hello all, we want to do a file-backup in datacenter to a SAN. The teamleader wants also a backup in the firm. The "datacenter- firm" connection is slow and has limited bandwith. Another Problem: no money for SAN- mirroring over wan. But we can place a SAN in Firm. Maybe freenas/openfiler We are talking about 150-200 machines. No more data in the moment available. First idea: 1.)Doing local backups in datacenter to determine how much data is used and the growth. 2.) Maybe a 2. bacula-sd with an iscsi from datacenter to firm is a solution 3.) determine how much data needs to transfer over night and 3a) determine how much bandwith is reasonable 3b) there is an idea doing only differantial backups to firm creating a fullbackup from the differantials (virtual fullbackup) 3aa) Is an automatic "virtual fullbackup" possible? How? 4.) cheapest way, buy more bandwith in due to 3. Corrections? Ideas? Or does someone has an another idea doing a second backup from datacenter to firm over wan? Can someone help? tia Stefan -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bweb uninitialized value $ret{"storage_cmd"}
Hello all, I want to use bweb and having a problem on debian squeezy. When I access -> storages -> manage device Im getting errors in apache log: Use of uninitialized value $ret{"storage_cmd"} in quotemeta at /usr/local/share/perl/5.10.1/Bweb.pm line 1977., referer: http://10.10.0.103/cgi-bin/bweb/bweb.pl?action=cmd_storage per console is a file-backup configured. Can someone help? tia Stefan -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] virtual fullbackup questions, diffs over wan/vpn; time difference between full/ diff backup for virtual full backup
Hello all, we want to do "virtual full backups" cause we notice that we can save bandwith with only diff backups over wan. The plan: We take the storage to datacenter, doing full backups after that we take the storage to the firm and doing only diff- backups over wan/vpn to firm- storage doing "virtual full backups" then. Is taht a running way? Another question: How old can the diff-backup be doing "virtual full backups"? ex. "full backup" is half a year old and we are having hundrets of diff-backups. Is it possible/a good idea doing "virtual full backups" with that great time difference between full- and diff- backups? tia Stefan -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] disk full, director not available, director not working
Hello all, the disk is full and the director is not reachable. Just to test I did also a reboot. I want to delete older backups now, but how when director isnt working? Can someone help? tia# Stefan -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 1 job write to 2 n
Hello all, is ist poosible to define one job and the backup data is written to 2 locations, ex /backup-data and backup-data2? Or have I to define for every location its own job? -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] virtual backup script
Hello all, we want to do an automated virtual backup one time a week. As I can see there is some scripting necessary. Can I do it with bashing? Whats the best way doing such a job? Or someone has a working virtual- backup- script? Can someone help? tia Stefan -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] run jobs on broken schedule
Hello all, I have scheduled fullVirtual ans some jobs are running, one gives an error. Now the other scheduled jobs arent running but having the state "created" and it seems queue is stopped. Is that normal? How to run them now? Can someone help? tia Stefan -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] multiple 2 directors, storage accessing same clients, 2 backups on 2 different locations
Hello all, we want to do a special setup: we have one director and storege in datacenter. The second director and storage should be loacated in firm. Both should backup same clients. The ambition is to do only diff-backup on "firm-director" and then virtual-full cause of limited bandwith between datacenter an firm, so we having always full- backups in firm. I set tis up but having now the problem that the clients dont write to "firm-storage": Fatal error: Socket error on Storage command: ERR=Keine Daten verfügbar 06-Jun 12:05 srv-backup02-dir JobId 30: Fatal error: No Job status returned from FD. Is this a way I can run or are there any difficulties? Is there another way preffered doing 2 backups on 2 different locations? tia Stefan -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] different filesets for different job-types?
Hi all, I am running a backup strategy with one Full backup once a week and Incremental backups on all the other days. Now there is a special file in the corresponding FileSet. I want this file to be backed up only when the Full backup runs. The file changes very often, but the Incremental backups should ignore this file and NOT backup it (yes, I will only get backups of this file once a week, but this is intentional). I started writing two different FileSets - one including this file and the other one without this file. But there seems to be no way to specify different FileSets for Full .vs. Incremental backups. My current configuration looks something like this (simplified): Job { Name = "Backup" Type = Backup Schedule = "WeeklyCycle" FileSet = "Full Set" } Schedule { Name = "WeeklyCycle" Run = Fullsun at 2:30 Run = Incremental mon-sat at 2:30 } FileSet { Name = "Full Set" Include { @ListOfFiles File = /the/special/file } } FileSet { Name = "Incremental Set" Include { @ListOfFiles } } How can I specify that my Incremental backups use the "Incremental Set" instead of the "Full Set" ? Thanks and regards -stefan- -- Stefan Palme klei...@hora-obscura.de -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] different filesets for different job-types?
Hi, On Tue, 2010-09-21 at 14:16 -0400, Phil Stracchino wrote: > The short answer is, you can't. All levels of a given job must use the > same Fileset. To do otherwise ... well, let's just say that That Way > Lies Madness, and leave it at that. I've already guessed this would be the answer :-) > Allow me to propose a much simpler and safer alternate solution to your > problem: > Use a single Fileset that does NOT contain the Special File. Create a > RunBefore Job script which, ONLY FOR FULL BACKUPS, snapshots the Special > File into a reserved location that *will* be backed up, then > (optionally) a RunAfterJob script that unlinks the copy after it's been > backed up. Sounds interesting, a little bit ugly, but may work. Thanks for this idea. As far as I understood the main problem is that ONE Job can have only ONE FileSet. So I could just define a second Job with its own FileSet (that contains only the special file), and this Job will run only once a week. The obvious disadvantage of this approach is that the special file will not be restored when I do a restore of the "normal" FileSet resp. a "normal" Job... -stefan- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to parse Bacula conf files
On 20.10.2010 16:25, Josh Fisher wrote: > > On 10/19/2010 8:28 AM, Yuri Timofeev wrote: >> Hi >> >> During development the prototype of the my new system (Webacula 5.5), >> I tried to parse the bacula-dir.conf. >> However, this is probably not possible with simple regexp's. >> It turned out that some applications, for example, Webmin does this >> with a regexp > > I don't think regexp will work. The best way is to translate the C code > from the Bacula source into PHP. Since you are requiring PHP 5.0 or > above, I think, then the values could be placed in a class object, just > as Bacula puts them in C struct. Or, since all directives are key=value > pairs, you could just put them in an associative array. > > > -- > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users a better solution still would be to enable bacula to dump its configuration as a (e.g.) XML or JSON file, probably in a rather generic way so that future changes to the structure/content of the config files would not need additional work on behalf of the bacula developers. XML or JSON - as examples - could be easily picked up by php, ruby, perl, python, java you name it whatever. -- this is an empty signature :-) -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to parse Bacula conf files
While I think it might be worthwhile having the configuration dumped in XML (== machine readable format), I think the other way around is not something that would be needed in bacula itself. There is a whole bunch of XSLT processors that would transform a XML-file into a bacula configuration file. You only need to provide the XSLT file and adapt that for future versions. Provided there are no principal problems anyway, since not everything maps cleanly into XML and back again. But in the end somebody needs to do that by actually write, testing and documenting some code. Stefan On 21.10.2010 16:24, Hugo Letemplier wrote: > a XML parse intreprator for bacula as well as in input than in output > could be a very cool project for next versions. > that would also make easier the implementation of a gui for modeling > or monitor a backup architecture. > > > 2010/10/21 Stefan Muenkner : >> On 20.10.2010 16:25, Josh Fisher wrote: >>> >>> On 10/19/2010 8:28 AM, Yuri Timofeev wrote: >>>> Hi >>>> >>>> During development the prototype of the my new system (Webacula 5.5), >>>> I tried to parse the bacula-dir.conf. >>>> However, this is probably not possible with simple regexp's. >>>> It turned out that some applications, for example, Webmin does this >>>> with a regexp >>> >>> I don't think regexp will work. The best way is to translate the C code >>> from the Bacula source into PHP. Since you are requiring PHP 5.0 or >>> above, I think, then the values could be placed in a class object, just >>> as Bacula puts them in C struct. Or, since all directives are key=value >>> pairs, you could just put them in an associative array. >>> >>> >>> -- >>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> ___ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> a better solution still would be to enable bacula to dump its >> configuration as a (e.g.) XML or JSON file, probably in a rather generic >> way so that future changes to the structure/content of the config files >> would not need additional work on behalf of the bacula developers. XML or >> JSON - as examples - could be easily picked up by php, ruby, perl, >> python, java you name it whatever. >> >> -- >> this is an empty signature :-) >> >> -- >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> -- this is an empty signature :-) -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] prevent windows shutdown when backup run
On 21.04.2011 10:58, John Doe wrote: > From: ruslan usifov > >> We back up client computers throw bacula-fd, but have some issue throw >> shutdown process (when user press power off button or throw "start" >> menu). We want prevent shutdown process while fd work, does exists any >> solutions for this task? > > Maybe look at: > http://www.windows-help-central.com/windows-shutdown-script.html > You'd have to write a script/program that waits until bacula-fd is done. > But I never tried it myself... > > JD > > -- > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users It might work that way, by going into a loop querying whether a backup task is currently being run and leave the loop only if no task is run (with a message to the user). But it would still leave the problem, how to detect that a backup task is being run..does bacula-fd provide anything like that.under windows... Cheers, Stefan -- Stefan Münkner FR 2.5 Biophysik Universität des Saarlandes Campus Homburg Gebäude 76 D-66421 Homburg/Saar .. phone +49 6841 16-26222fax +49 6841 16-26211 http://www.uniklinikum-saarland.de/biophysik/ -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Newbie question about labelling tapes for certain days
Hello, I have a tapeloader with 8 slots, filled with 7 backup tapes and a cleaning tape. I already wrote the days Mon-Sun on the tapes. My question now is, who do I tell Bacula to use the "monday" tape in slot 1 for the backup on monday evening and so on? Do I have to create a single pool for every single day together with a single entry for every day in the schedule definition? That would mean, that during labelling, I would assign the volume name "monday", slot number "1" and pool "monday" ? Thanks for any help or suggestions, Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Newbie question about labelling tapes for certain days
Hi, °Why do you want to do that? Lets Bacula manages all the tapes. ° Well, I would, but my client want's to have a visible prove that the monday backup has been saved on the corresponding tape. °° Do I have to create a single pool for every single day together with a single entry for every day in the schedule definition? °°That would mean, that during labelling, I would assign the volume name "monday", slot number "1" and pool "monday" ? ° °IMHO - It is not required. ° But how does Bacula then know which tape/volume it has to use? Just by starting with the tape in slot1 on monday? Thanks, Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Newbie question about labelling tapes for certain days
Hi, >If you do label each day I would use separate pools otherwise at some >point (holiday, missed backup ...) you will get out of sync and bacula >will ask for a Friday tape on Monday.. > just to sum it up: 1. I would have to create separate pools for everyday. 2. I would have to create an entry of every week day in the schedule. 3. I would have to create one job for every week day because I have to use the pool parameter/name in the definition of the job and to use different pools and I have to define different jobs. That's a lot to type! BTW: Can I combine the two schedules "Daily" and "Weekly "into the new schedule "Backup", since they deal with different days? Schedule { Name = "Daily" Run = Level = Incremental Pool = Daily mon-fri at 18:00 } Schedule { Name= "Weekly" Run = Level = Full Pool = Weekly sun at 00:01 } Schedule { Name = "Backup" Run = Level = Incremental Pool = Daily mon-fri at 18:00 Run = Level = Full Pool = Weekly sun at 00:01 } Thanks, Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Newbie question about labelling tapes for certain days
Hi, >Remember that the schedule will override the Pool and Level in the job. >http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00185 > GREAT! Thanks, Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Why doesn't Bacula use the whole tape?
Hello, we are use an Autochanger with 8 Ultrium-LTO 3 tapes: seven for everyday and the last one is a cleaning tape +-++---+-+-+--+--+-+--+---+--+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType| LastWritten | +-++---+-+-+--+--+-+--+---+--+-+ | 20 | TestVol1 | Full | 1 | 223,467,181,056 | 224 | 604,800 | 1 |1 | 1 | Ultrium-LTO3 | 2011-06-10 12:04:53 | +-++---+-+-+--+--+-+--+---+--+-+ TestVol1 belongs to a pool where we defined "Maximum Volumes Bytes = 0". Nevertheless Bacula complains that it needs a new volume: 10-Jun 12:06 bacula-sd JobId 106: Job Storage08.2011-06-10_09.14.16_23 is waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "Drive-1" (/dev/st0) Pool: TestPool Any idea what's going wrong? Thanks for any suggestions or hints, Stefan Media type: Ultrium-LTO3 ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Why doesn't Bacula use the whole tape?
Hi, >Are these LTO3 or LTO2 tapes? > LTO3 tapes >When bacula hits any kind of tape error it assumes the tape is full. >Check your dmesg. > [7.806343] st 3:0:1:0: Attached scsi tape st0 [7.806345] st 3:0:1:0: st0: try direct i/o: yes (alignment 512 B) [ 3295.705344] st0: Block limits 1 - 16777215 bytes. [ 3299.906724] st0: Failed to read 65536 byte block with 64512 byte transfer. [ 3856.794626] st0: Failed to read 65536 byte block with 64512 byte transfer. [ 4027.852762] st0: Failed to read 65536 byte block with 64512 byte transfer. [ 4173.406028] st0: Failed to read 65536 byte block with 64512 byte transfer. [ 7426.885546] st0: Sense Key : Not Ready [current] [ 7426.885552] st0: Add. Sense: Medium not present we have changed the tapes, to make sure, that it isn't the problem of a faulty medium, but that didn't help. Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Why doesn't Bacula use the whole tape? [SOLVED]
HI, we had to add the parameters Maximum Block Size = 65536 Maximum Network Buffer Size = 65536 to the device definition in bacula-sd.conf: Device { Name = Drive-1 Media Type = Ultrium-LTO3 Archive Device = /dev/st0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Spool Directory = /var/spool/bacula Maximum Spool Size = 100G Maximum Block Size = 65536 Maximum Network Buffer Size = 65536 } The corresponding output of dmesg was [ 3299.906724] st0: Failed to read 65536 byte block with 64512 byte transfer. [ 3856.794626] st0: Failed to read 65536 byte block with 64512 byte transfer. Stefan ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula backup problems
On 09/06/2011 02:18 PM, René Klomp wrote: > Pre_backup:sh > > #!/bin/bash > > #scst_lv1 hangt aan de Terminal Server (192.168.32.241) > #scst_lv2 hangt aan de Exchange Server (192.168.32.231) > #scst_lv3 hangt aan de File Server (192.168.32.230) > #scst_lv4 hangt aan de Alure Server(192.168.32.232) > > sudo /usr/sbin/lvcreate -L40G -s -n scst_lv1-snap /dev/backup_vg/scst_lv1 > sudo /usr/sbin/lvcreate -L40G -s -n scst_lv2-snap /dev/backup_vg/scst_lv2 > sudo /usr/sbin/lvcreate -L40G -s -n scst_lv3-snap /dev/backup_vg/scst_lv3 > sudo /usr/sbin/lvcreate -L40G -s -n scst_lv4-snap /dev/backup_vg/scst_lv4 > > # Mount de snapshot (mooiste is als deze even groot is als het origineel, > dan kan er eigenlijk niets mis gaan > > sudo /bin/mount -t ntfs -o loop,ro,offset=$(( 63*512 )) > /dev/mapper/backup_vg-scst_lv1--snap /backupmnts/SCSTDISC1 > sudo /bin/mount -t ntfs -o loop,ro,offset=$(( 63*512 )) > /dev/mapper/backup_vg-scst_lv2--snap /backupmnts/SCSTDISC2 > sudo /bin/mount -t ntfs -o loop,ro,offset=$(( 63*512 )) > /dev/mapper/backup_vg-scst_lv3--snap /backupmnts/SCSTDISC3 > sudo /bin/mount -t ntfs -o loop,ro,offset=$(( 63*512 )) > /dev/mapper/backup_vg-scst_lv4--snap /backupmnts/SCSTDISC4 > > exit 0 > The above script silently assumes that the snapshots are not already existing _and_ are not mounted - both prerequisites cannot be relied upon since unmounting and destroying the snapshots happens somewhere else (and can fail for any reason) Call the person on holiday to fix this - it looks like this is probably the main part of the problem <---snip-snap---> > > > [root@localhost ~]# vgdisplay > /dev/loop0: read failed after 0 of 2048 at 0: Input/output error Above is the same error message you get down there vvv <--snip-snap-> > 01-Sep 08:00 backup.localdomain-dir JobId 167: BeforeJob: /dev/loop0: > read failed after 0 of 4096 at 0: Input/output error > 01-Sep 08:00 backup.localdomain-dir JobId 167: BeforeJob: Logical volume > "scst_lv4-snap" already exists in volume group "backup_vg" > 01-Sep 08:00 backup.localdomain-dir JobId 167: BeforeJob: mount: could not > find any free loop device > 01-Sep 08:00 backup.localdomain-dir JobId 167: BeforeJob: mount: could not > find any free loop device and the other error messages point in the direction of my above comment re Pre_backup.sh simply assuming that the snapshots are non existent and not mounted. The /dev/loop0 could be related to all this or might have nothing to do with it. > [...] > Judging from those "lv", "vg" and "snap" bits, it appears that Bacula > is configured to make backups using "LVM snapshots" [1]. > Supposedly that /etc/bacula/pre_backup.sh script is responsible for > creation of a snapshot for one or more LVM logical volumes (they hold > filesystems) and mounting them somewhere for the Bacula to back up. > > So without the in-depth details about how this is implemented, it's > impossible to tell anything further. > Bacula itself has nothing to do with this. > > In theory, you could provide the director's config file, the contents > of that "pre_backup.sh" script and the output of running > # vgdisplay > and > # lvdisplay > so we could try to figure out how it's supposed to work and how to > fix the situation, but I'd rather call that person out from their > holidays. > > 1. http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29 > Best regards, Stefan -- this is an empty signature :-) -- Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] multiple spool files per job
Hi, this feature would be really great. We have three Backup serves which all have single Jobs to backup (each job app. 13TB). The Time to despool is absolutely waste of time and could be used more efficient. This feature request is more than 4 Years old and still not implemented. Maybe I am wrong and I am sorry to say this, but as the data volume is growing all the time and this feature is still missing, I've got a notion that Bacula is not anymore "up to date" or state of the art. Regards, Stefan -Ursprüngliche Nachricht- Von: Alan Brown [mailto:a...@mssl.ucl.ac.uk] Gesendet: Montag, 10. Oktober 2011 13:00 An: James Harper Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] multiple spool files per job James Harper wrote: > Is there a way to make bacula write multiple spool files per job? Two > would do. What I'm seeing is that 4 jobs start, all hit their spool > limit around the same time, then all wait in a queue until the file is > despooled. The despool happens fairly quickly (much quicker than the > spooling due to network and server fd throughput) so it isn't a huge > problem, but it would be better if the sd could just switch over to > another spool file when despooling starts so that the backup can > continue uninterrupted. I believe this is in the todo list, but it will happen faster if someone submits already-written code. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users