[Bacula-users] Fatal error: dev.c:387 dev.c:381 Unable to open device SDLTTape0 (/dev/rmt/0cbn): ERR=I/O error
Hi, I have the following Error, after the tape filled. The job stopped with an Error! All following Jobs also terminated with an Error. Is ther an Error in my config (see below)? Should I upgrade to 1.38.2 ? Any hints are welcome I configured the storage to wait 8h if Tape is full/offline. But all jobs stopped after 5min Version 1.38.1 OS: Solaris 10 13-Dec 20:00 merkur-dir: sql_find.c:126 No Job record found: ERR= CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND Level='F' AND Name='saturn' AND ClientId=5 AND FileSetId=17 ORDER BY StartTime DESC LIMIT 1 13-Dec 20:00 merkur-dir: No prior or suitable Full backup found. Doing FULL backup. 13-Dec 20:00 merkur-dir: Start Backup JobId 98, Job=saturn.2005-12-13_20.00.00 14-Dec 01:40 merkur-sd: End of Volume BACKUP-2005-12-13_90 at 268:376 on device SDLTTape0 (/dev/rmt/0cbn). Write of 262144 bytes got 0. 14-Dec 01:40 merkur-sd: Re-read of last block succeeded. 14-Dec 01:40 merkur-sd: End of medium on Volume BACKUP-2005-12-13_90 Bytes=265,358,163,086 Blocks=1,012,263 at 14-Dec-2005 01:40. 14-Dec 01:43 merkur-dir: Pruned 13 Jobs on Volume BACKUP-2005-11-29_1 from catalog. 14-Dec 01:43 merkur-dir: Created new Volume BACKUP-2005-12-14_98 in catalog. 14-Dec 01:43 merkur-sd: Please mount Volume BACKUP-2005-12-14_98 on Storage Device SDLTTape0 (/dev/rmt/0cbn) for Job saturn.2005-12-13_20.00.00 14-Dec 01:49 merkur-sd: saturn.2005-12-13_20.00.00 Fatal error: dev.c:387 dev.c:381 Unable to open device SDLTTape0 (/dev/rmt/0cbn): ERR=I/O error 14-Dec 01:49 merkur-sd: saturn.2005-12-13_20.00.00 Fatal error: Job 98 canceled. 14-Dec 01:49 merkur-sd: saturn.2005-12-13_20.00.00 Fatal error: append.c:197 Fatal append error on device SDLTTape0 (/dev/rmt/0cbn): ERR=dev.c:381 Unable to open device SDLTTape0 (/dev/rmt/0cbn): ERR=I/O error 14-Dec 01:50 saturn-fd: saturn.2005-12-13_20.00.00 Fatal error: backup.c:498 Network send error to SD. ERR=Broken pipe 14-Dec 01:50 saturn-fd: saturn.2005-12-13_20.00.00 Error: bnet.c:425 Write error sending 32768 bytes to Storage daemon:merkur:9103: ERR=Broken pipe 14-Dec 01:50 merkur-dir: saturn.2005-12-13_20.00.00 Error: Bacula 1.38.1 (14Nov05): 14-Dec-2005 01:50:13 My Config: part of bacula-sd.conf: Device { Name = SDLTTape0 Media Type = SDLT Archive Device = /dev/rmt/0cbn LabelMedia = yes; Random Access = no; AutomaticMount = yes; RemovableMedia = yes; AlwaysOpen = yes; Maximum Block size = 262144 Maximum Spool Size = 20Gb Spool Directory = /u00/bacula/backupspool Maximum Network Buffer Size = 65536 Volume Poll Interval = 5 min Close on Poll = yes Offline on Unmount = yes Maximum Open Wait = 8 h # should wait or not??? } Jobs in bacula-dir.conf: JobDefs { Name = BasicJob Type = Backup Level = Differential Schedule = WeeklyCycle Messages = Standard Storage = Tandberg Pool = Backup Priority = 10 Max Wait Time = 13 Hours } JobDefs { Name = SaturnDbCold Type = Backup Level = Full Schedule= SchedSaturnDbCold Messages = Standard Storage = Tandberg Pool = Backup Priority = 10 Max Wait Time = 13 Hours } Job { Name = saturn JobDefs = BasicJob Write Bootstrap = /u00/bacula/bootstraps/saturn.bsr Client = saturn-fd FileSet = SaturnFull SpoolData = no Priority = 11 ClientRunBeforeJob = /etc/bacula/scripts/ClientRunBeforeJob.sh '%c' '%d' '%i' '%e' '%j' '%l' '%n' '%t' '%v' ClientRunAfterJob = /etc/bacula/scripts/ClientRunAfterJob.sh '%c' '%d' '%i' ' %e' '%j' '%l' '%n' '%t' '%v' } Client { Name = saturn-fd Address = saturn.braunvieh.ch FDPort = 9102 Catalog = MyCatalog Password = .. File Retention = 1 month Job Retention = 2 month AutoPrune = yes } --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore using option ifnewer gives strange result
I'm having problems with ownership and permission of directories after restoring files. Example: I restored the file /sw/local/sbin/test.txt from tape (a full backup) to my home directory (where=/home/yngjo) and using replace=ifnewer. The file is restored to /home/yngjo/sw/local/sbin/test.txt, so far so good. But the problem is that directory entries /home/yngjo/sw, /home/yngjo/sw/local and /home/yngjo/sw/local/sbin are all getting wrong ownership and permissions. From the Bacula log I can see that it restores the file /sw/local/sbin/test.txt first (because it is found before directory entries on the tape). I guess it, at that point, creates the parent directories (sw/local/sbin) using some rule. When Bacula later finds the parent directories on tape, the directories already exists with a newer timestamp on disk, and they will not be restored from tape. If I use replace=always then all parent directories are restored, but that's not what I want. Am I right? Is there anything I can do fix the problem? I'm running 1.37.36 on a Red Hat EL3. Regards Yngve --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: Segmentation violation
Heigl Florian - Munich-MR - external wrote: Hi Roger, Do some sizing of the mysql database configuration and let it know it can't allocate more than 1GB physical memory and set maxdsiz to that. MySQL is not using the memory, it`s the bacula-dir who use all the memory. Whats was really anoying is that FreeBSD did not write anything in the logs who would point me in the right direction Florian --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] director crash - bug no 375
FYI I had some crashes - and then it is good to be able to find it in the bug system, so you know how to avoid it again In my case it was also everytime after a change in dir.conf, but I did not change schedules, but added client, job and fileset. Is it maybe a coincidence that the crash happened at the exact time when the catalog job was scheduled? 13-Dec 23:00 adm-backup-sd: New volume Full-0002 mounted on device FileStorage (/home/bckp/data/ibsen) at 13-Dec-2005 23:00. 13-Dec 23:10 adm-backup-dir: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Cheers Steen -- Steen L Meyer - IT Manager - Ibsen Photonics A/S Ryttermarken 15 - 21, DK-3520 Farum, Denmark Tel.: (+45) 44 34 70 00 - Fax.: (+45) 44 34 70 01 [EMAIL PROTECTED] - http://www.ibsenphotonics.com --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] GUI Connect problem
I have the GUI installed and get the famous DB:Error: no such database Using the config prams 'mysql -hlocalhost -uroot -pmypass bacula Works fine. Using RHEL3 Mysql 4.1.12 Bacula 1.38.2 The web test.php shows all fine.. Where do I look? Thanks --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula will not recycle volume
Using bacula 1.36.3 I'm trying to recycle a volume (thursday). I set the recycle flag to yes and I've purged the volume. Then I changed the status to Append. However whenever the backup job runs it will not accept volume and asks for another one(3_monday, which i've set the status to Full). 14-Dec 22:00 hq-sd: s01-full-backup.2005-12-14_22.00.00 Warning: Director wanted Volume 3_monday. Current Volume wednesday not acceptable because: 1998 Volume wednesday status is Used, but should be Append, Purged or Recy cle. This is the status after the backup attempts to run *list media | 5 | thursday | Used | 80,628,808,007 | 82 | 31,536,000 | 1 |0 | 1 | SDLT | 2005-09-22 23:42:25 | 15 | 3_monday | Recycle | 1 |0 | 31,536,000 | 1 |0 | 1 | SDLT | -00-00 00:00:00 | - This email message is intended only for the addressee(s) and contains information that may be confidential and/or copyrighted. If you are not the intended recipient please notify the sender by reply email and immediately delete this email. Use, disclosure or reproduction of this email by anyone other than the intended recipient(s) is strictly prohibited. USIT has scanned this email for viruses and dangerous content and believes it to be clean. However, virus scanning is ultimately the responsibility of the recipient. - --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unsubscription
http://lists.sourceforge.net/lists/listinfo/bacula-announce --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SSH tunneling mini-howto
Thanks. I've updated the script and added your mini-howto to the Bacula examples directory. On Wednesday 14 December 2005 02:59, Joshua Kugler wrote: Here is an outline of the steps I took to get ssh tunneling to work for me. NOTES: I modified to ssh-tunnel.sh file from CVS because: 1) I didn't need director-client communications encrypted. My main reason for using SSH tunneling was so the clients in the DMZ could get back through the firewall to connect to the storage server. 2) There was a bug in the method it used to get the PID of the tunnel. It used 'cut -d -f1' The problem was that ps sometimes has a leading space in front of the PID if PID 10,000, so cut would return a blank PID. Instead I used awk '{ print $1 }' and that worked even with leading spaces. 3) I also took out ssh's 'v' option for production work 4) I added ' /dev/null 2 /dev/null' because for some reason ssh wasn't fully disconnecting from the terminal, thus the ssh-tunnel script would actually hang the job 5) I changed it to exit with the status of the SSH command, so the job would fail right away if the tunnel didn't go up. 6) The $CLIENT is now specified on the command line so it can be specified in the Run Before Job directive. As a result, you must specify the client when you start *and* stop the tunnel. OK, on to the how to: 1. I placed the attached script in /usr/local/bacula/scripts 2. I modified bacula-dir.conf to have a second Storage directive entry that referenced the same storage resource in bacula-sd.conf. (Based on a recent e-mail, might this be dangerous? Testing will tell.) The modified Storage entry looked like this: Storage { Name = herodotus-sd-ops Address = localhost SDPort = 9103 Password = Apassword Device = AdicFastStor22 Media Type = DLT8000 Autochanger = yes Maximum Concurrent Jobs = 30 } The Address is set to localhost, because when the tunnel is up, the client will connect to localhost:9103 in order to connect to the Storage director. 3. In the client configuration, each client that uses this configuration has these lines added: Run Before Job = /usr/local/bacula/scripts/ssh-tunnel start FQDN Run After Job = /usr/local/bacula/scripts/ssh-tunnel stop FQDN FQDN = fully qualifed domain name (i.e. full host name) And their storage is set to herodotus-sd-ops (in our case, OPS is the name of our DMZ). 4. Now, ssh keys must be created in order for all this to go on unattended. At the prompt, type: ssh -b 2048 -t dsa (if you want less bit strength, you can use a number less than 2048) When asked where to save the key, specify a location, or accept the default. Just remember the location, because you will have to put it in the script (replace /usr/local/bacula/ssh/id_dsa with your file's location). Make sure the user as which bacula runs can read the file. When asked for a password, leave that blank also as this will be running unattended. After it generates the key, it will save a file called id_dsa, and in that same directory, there will be a file called id_dsa.pub, which is your public SSH key. On your backup client, create a user ('bacula' is probably a good choice). In that user's home directory, create a directory named '.ssh' (note the leading dot). In that directory, copy the id_dsa.pub file you create earlier. Once that file is in that user's directory copy it to a file name authorized_keys in that same directory. If you're not doing this as the user, make sure the directory and files a owned by that user. And for good measure make sure only the user can read them. 5. Now, the test. Your keys are generated. They are in place on the client. You've pointed your script to your private key's file (id_dsa). Now, at the prompt on your server type: location_of_script/ssh-tunnel start client.host.name then type echo $? That should be 0, which will mean everything went well. If you need to debug, remove the redirection on the ssh command and add 'v' to the switches for verbose output. If the test went well, reload your modified config, and try running a job. If all goes well, the job report will look like it always does, save notices at the top and bottom letting you know that the tunnel went up and down. I've also gotten this to work on a Windows box using CopSSH (and OpenSSH server for Windows), so this isn't a Unix-only solution. If someone wants to massage this a bit and add it to the documentation, you're welcome to. You can put the script in CVS too, if you wish. And comments on improving the how-to and script are welcome. j- k- -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing
Re: [Bacula-users] Restore using option ifnewer gives strange result
On Thursday 15 December 2005 09:24, Yngve Johansson wrote: I'm having problems with ownership and permission of directories after restoring files. Example: I restored the file /sw/local/sbin/test.txt from tape (a full backup) to my home directory (where=/home/yngjo) and using replace=ifnewer. The file is restored to /home/yngjo/sw/local/sbin/test.txt, so far so good. But the problem is that directory entries /home/yngjo/sw, /home/yngjo/sw/local and /home/yngjo/sw/local/sbin are all getting wrong ownership and permissions. From the Bacula log I can see that it restores the file /sw/local/sbin/test.txt first (because it is found before directory entries on the tape). I guess it, at that point, creates the parent directories (sw/local/sbin) using some rule. When Bacula later finds the parent directories on tape, the directories already exists with a newer timestamp on disk, and they will not be restored from tape. If I use replace=always then all parent directories are restored, but that's not what I want. Am I right? Is there anything I can do fix the problem? Yes, I think you have analyzed the problem quite well. Perhaps a solution is that when Bacula is creating a non-existing directory and the replace=ifnewer is set, it can create the directory with a date of 0 (i.e. 1/1/1970) and thus when the real directory record is found at the end of all the files, it will also be updated. The problem is that the directory entry is probably updated everytime a file is written in it. If that is the case, the only way to handle this correctly would be for Bacula to remember what directories it creates, in a list, then when the actual directory record is found for restoration, it could reset the correct values ... Whatever the solution is, it seems to me that it is a non-trivial exercise. Perhaps this problem could be wrapped into project 3 Accurate restoration of renamed/deleted files. I've made a note to that effect. Regards Yngve --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865opÌk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unsubscription
[Bacula-users] Unsubscription --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error waiting to reserve a device after upgrade to 1.38.3
Hello Rick, Thanks for the debug output. I think I have now found the problem in the algorithm at least the problem that is hitting you. This time, I'm 100% that I have found at least one major problem. I'm going to run code through all my tests here on two machines, then on Solaris and FreeBSD. Once I've done that I'll make the new code available -- probably this evening. On Thursday 15 December 2005 06:31, Rick Knight wrote: Kern Sibbald wrote: On Wednesday 14 December 2005 04:22, Rick Knight wrote: Kern Sibbald wrote: Hello, If you are able to reproduce this easily, could you turn on level 100 by putting -d100 on the command line when you start it, then capture the output. This may help me understand what is going on. I've tried everything I can to duplicate this, but all my tests run fine. Hmmm. Normally, it wouldn't be the OS that is causing problems, but I'm open to almost any suggestion -- the goal being to fix it ... On Tuesday 13 December 2005 22:07, James Peverill wrote: I suspect that there are two problems here. 1. You probably don't have Maximume Concurrent Jobs set in your director's storage resource, and 2. it looks like there may be a problem with the way the SD in 1.38 is trying to open drives, which cause it to wait. I'm working on a solution to that now. Thanks, Rick Knight Kern, Adding the Max Concurrent Jobs = 4 didn't mak any difference. I added OPTIONS='-d100' to the bacula startup script, started bacula and ran thru all the jobs, capturing all of the output. Log file attached. The only thing that looks obvious to me are the python errors or messages. I may rebuild bacula without python support this weekend and see if it helps. I did not have this problem with 1.38.1. Thanks again, Rick Knight -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Sparc testing
Hi Kern, I can offer one machine with: Linux 2.4.21-286-smp4G Gateway LTO-1 Loader CU Sven --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: [Bacula-devel] Sparc testing
Kern, I have a Sparc Solaris 9 system with a Qualstar RLS-8236 tape library with 2 LTO-2 tape drives. I might be able to run the tests on my system depending on the requirements (I don't have easy physical access to the server). I am running an older beta version of bacula 1.37.38 on the server. Please let me know if I can help. Tom. Thomas J. Boyda Consultant Daou Systems, Inc. 276-739-2314 [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: [Bacula-devel] Sparc testing
On Thursday 15 December 2005 14:41, Tom Boyda wrote: Kern, I have a Sparc Solaris 9 system with a Qualstar RLS-8236 tape library with 2 LTO-2 tape drives. I might be able to run the tests on my system depending on the requirements (I don't have easy physical access to the server). I am running an older beta version of bacula 1.37.38 on the server. Please let me know if I can help. Thanks. I already have a test run on a Solaris Sparc, and considering that you don't have easy access to insert/remove tapes, I'll pass on your offer. Many thanks though ... PS: for the record, I now have Linux 2.4 kernel, Linux 2.6 kernel, Solaris Sparc, and possibly an SGI in the works ... -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula error using SQLite -- database is locked
Has anyone received this error: failed. ERR=database is locked How do you correct that? Thanks in advance, Ken --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula error using SQLite -- database is locked
Ken Lupo wrote: Has anyone received this error: failed. ERR=database is locked How do you correct that? Thanks in advance, Ken if the box crashed there coule be a lock file left .. jsut delete it Florian --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula error using SQLite -- database is locked
Ken Lupo wrote: Has anyone received this error: failed. ERR=database is locked Yes, with sqlite killing an 'endless' checkdb. How do you correct that? Dunno, i trashed the db, it was broken anyhow. Thanks in advance, Ken --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Puring/Pruning doesn't seem to be happening.
I'm going crosseyed, it's probably something simple, but i've been looking at it for too long. This shows the media i'm going to use for tonight's backup. The problem is, it's still set to append, shouldn't it have a VolStatus or Purged? +-++---+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+--+--+-+--+---+---+-+ | 6 | THURSDAY2 | Append| 99,017,877,864 | 102 |1,036,800 | 1 |0 | 1 | SDLT | 2005-12-02 00:22:38 | Here's my retention stuff from bacula-dir.conf Pool { Name = Daily Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 12 days # Accept Any Volume = yes # write on any volume in the pool Recycle Current Volume = Yes } #== Client { Name = SERVER1-fd Address = server1.harrow.gov.uk FDPort = 9102 Catalog = MyCatalog Password = x # password for FileDaemon File Retention = 31 days# days Job Retention = 2 months# months AutoPrune = yes # Prune expired Jobs/Files } Thanks guys.. any help would be greatly appreciated. Beren *** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important. *** --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: SSH tunneling mini-howto
On Thursday 15 December 2005 03:45, Kern Sibbald wrote: Thanks. I've updated the script and added your mini-howto to the Bacula examples directory. Great! Glad to be of service. j- k- -- Joshua Kugler CDE System Administrator http://distance.uaf.edu/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] btape test works, btape fill doesn't
On Thursday 15 December 2005 02:57, Joe Dollard wrote: Hi, I'm in the process of setting up bacula for the first time for our network but am getting errors when I run btape fill. I'm running bacula version 1.38.1 (installed from ports) on FreeBSD 5.4 with a Quantum SDLT 110/220 tape drive (which is inside a Overland LoaderXPress). If I run the btape test command the output indicates everything worked successfully, however when running btape fill using single tape mode btape gives me the following error: btape: btape.c:2329 End of tape 108:0. VolumeCapacity=102,275,630,752. Write rate = 9689.8 KB/s Done writing ... Done filling tape at 108:0. Now beginning re-read of tape ... ERROR! device at 1:1 count=1 ERROR! device at 1:1 count=1 Reposition from 1:1 to 106:10374 I waited about 30 minutes after receiving this last message but btape didn't display anything else. Assuming it had hung I killed it with control+c. Output from btape fill, btape test and my bacula-sd.conf file are included below. Does anybody have any ideas about what might be wrong here? I'm trying to get bacula into production in the next few days, so any help would be greatly appreciated. I suspect that you killed it too quicly. It takes some time to reposition 102 GBytes on a tape, and probably 5-10 times longer on FreeBSD, which doesn't have fast forward space file. This requires Bacula to read every record -- if you think it is slow, a complaint to the SCSI tape driver writers might help ... Thanks, Joe Here's the device definition from my bacula-sd.conf file: Device { Name = Overland Description = Overland on FreeBSD Media Type = SDLT-1 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes Offline On Unmount = no Hardware End of Medium = no #FreeBSD secific BSF at EOM = yes #FreeBSD secific Backward Space Record = no#FreeBSD secific Fast Forward Space File = no #FreeBSD secific TWO EOF = yes #FreeBSD secific # Autochanger = yes # Changer Device = /dev/pass0 # Changer Command = /usr/local/sbin/mtx-changer %c %o %S %a %d } The device has an autochanger but I want to get it working without an autochanger first. Here's some of the output from btape fill: [EMAIL PROTECTED] btape /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:266 Using device: /dev/nsa0 for writing. btape: btape.c:338 open device Overland (/dev/nsa0): OK *fill This command simulates Bacula writing to a tape. It requires either one or two blank tapes, which it will label and write. If you have an autochanger configured, it will use the tapes that are in slots 1 and 2, otherwise, you will be prompted to insert the tapes when necessary. It will print a status approximately every 322 MB, and write an EOF every 3.2 GB. If you have selected the simple test option, after writing the first tape it will rewind it and re-read the last block written. If you have selected the multiple tape test, when the first tape fills, it will ask for a second, and after writing a few more blocks, it will stop. Then it will begin re-reading the two tapes. This may take a long time -- hours! ... Do you want to run the simplified test (s) with one tape or the complete multiple tape (m) test: (s/m) s Simple test (single tape) selected. Wrote Volume label for volume TestVolume1. Wrote Start of Session label. Begin writing Bacula records to tape ... Wrote blk_block=5000, dev_blk_num=4999 VolBytes=322,495,472 rate=10078.0 KB/s Wrote blk_block=1, dev_blk_num= VolBytes=645,055,424 rate=10239.0 KB/s Wrote blk_block=15000, dev_blk_num=14999 VolBytes=967,615,368 rate=10293.8 KB/s Flush block, write EOF Wrote blk_block=2, dev_blk_num=5000 VolBytes=1,290,175,312 rate=10001.4 KB/s Wrote blk_block=25000, dev_blk_num=1 VolBytes=1,612,735,264 rate=10079.6 KB/s Wrote blk_block=3, dev_blk_num=15000 VolBytes=1,935,295,208 rate=9874.0 KB/s Flush block, write EOF ... Wrote blk_block=155, dev_blk_num=5000 VolBytes=99,993,519,128 rate=9695.9 KB/s Wrote blk_block=1555000, dev_blk_num=1 VolBytes=100,316,079,072 rate=9697.1 KB/s Wrote blk_block=156, dev_blk_num=15000 VolBytes=100,638,639,016 rate=9699.2 KB/s Flush block, write EOF Wrote blk_block=1565000, dev_blk_num=5000 VolBytes=100,961,198,968 rate=9692.9 KB/s Wrote blk_block=157, dev_blk_num=1 VolBytes=101,283,758,912 rate=9695.0 KB/s Wrote blk_block=1575000, dev_blk_num=15000 VolBytes=101,606,318,864 rate=9697.1 KB/s Flush block, write EOF Wrote blk_block=158, dev_blk_num=5000 VolBytes=101,928,878,808 rate=9695.5 KB/s Wrote blk_block=1585000, dev_blk_num=1 VolBytes=102,251,438,752 rate=9697.6 KB/s 14-Dec 17:20 btape: End of Volume TestVolume1 at 106:10375 on device Overland (/dev/nsa0). Write of 64512 bytes got 0. btape:
Re: [Bacula-users] btape test works, btape fill doesn't
I'm not positive, but I think this might be a bug in the btape.c unfillcmd(). I ran into the same problems when I was setting up my adic Scalar 218 DLT7000 library under FreeBSD 5.4. The problem comes when the unfill command tries to read back the first 1000 blocks. It has a check in a function called quickie_count() (or something like that) that requires the current file on the tape to be 0, but it looks like the label command writes an EOF to end the label, so the unfill command gets and EOF somewhere around block 40??? (it's been a week or two), which bumps the file counter to 1, resulting in the ERROR! device at 1:1 count=1. I'm not really familiar enough with the inner workings of bacula to say if the error is in the EOF after the label, or if the file check should be for file = 1. I just changed the check to require that file is less than or equal to 1, and everything worked fine after that. Without digging around some more, I can't say if it's correct or not, but everything is working fine for me now, and I haven't had any problems with my test restores. The only difference is that I've been using mt seteotmodel 1, then using fast forward space file=yes, and TWO EOF=no in the storage daemon config. It the same setup as what's listed as the second option in the docs under FreeBSD tape support. It's working fine, and it really speeds up restores. Hope this helps, Cameron Kern Sibbald wrote: On Thursday 15 December 2005 02:57, Joe Dollard wrote: Hi, I'm in the process of setting up bacula for the first time for our network but am getting errors when I run btape fill. I'm running bacula version 1.38.1 (installed from ports) on FreeBSD 5.4 with a Quantum SDLT 110/220 tape drive (which is inside a Overland LoaderXPress). If I run the btape test command the output indicates everything worked successfully, however when running btape fill using single tape mode btape gives me the following error: btape: btape.c:2329 End of tape 108:0. VolumeCapacity=102,275,630,752. Write rate = 9689.8 KB/s Done writing ... Done filling tape at 108:0. Now beginning re-read of tape ... ERROR! device at 1:1 count=1 ERROR! device at 1:1 count=1 Reposition from 1:1 to 106:10374 I waited about 30 minutes after receiving this last message but btape didn't display anything else. Assuming it had hung I killed it with control+c. Output from btape fill, btape test and my bacula-sd.conf file are included below. Does anybody have any ideas about what might be wrong here? I'm trying to get bacula into production in the next few days, so any help would be greatly appreciated. I suspect that you killed it too quicly. It takes some time to reposition 102 GBytes on a tape, and probably 5-10 times longer on FreeBSD, which doesn't have fast forward space file. This requires Bacula to read every record -- if you think it is slow, a complaint to the SCSI tape driver writers might help ... Thanks, Joe Here's the device definition from my bacula-sd.conf file: Device { Name = Overland Description = Overland on FreeBSD Media Type = SDLT-1 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes Offline On Unmount = no Hardware End of Medium = no #FreeBSD secific BSF at EOM = yes #FreeBSD secific Backward Space Record = no#FreeBSD secific Fast Forward Space File = no #FreeBSD secific TWO EOF = yes #FreeBSD secific # Autochanger = yes # Changer Device = /dev/pass0 # Changer Command = /usr/local/sbin/mtx-changer %c %o %S %a %d } The device has an autochanger but I want to get it working without an autochanger first. Here's some of the output from btape fill: [EMAIL PROTECTED] btape /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:266 Using device: /dev/nsa0 for writing. btape: btape.c:338 open device Overland (/dev/nsa0): OK *fill This command simulates Bacula writing to a tape. It requires either one or two blank tapes, which it will label and write. If you have an autochanger configured, it will use the tapes that are in slots 1 and 2, otherwise, you will be prompted to insert the tapes when necessary. It will print a status approximately every 322 MB, and write an EOF every 3.2 GB. If you have selected the simple test option, after writing the first tape it will rewind it and re-read the last block written. If you have selected the multiple tape test, when the first tape fills, it will ask for a second, and after writing a few more blocks, it will stop. Then it will begin re-reading the two tapes. This may take a long time -- hours! ... Do you want to run the simplified test (s) with one tape or the complete multiple tape (m) test: (s/m) s Simple test (single tape) selected. Wrote Volume label for volume TestVolume1. Wrote Start of Session label. Begin writing Bacula records to tape ... Wrote blk_block=5000,
Re: [Bacula-users] btape test works, btape fill doesn't
On Thursday 15 December 2005 20:45, Cameron Murphy wrote: I'm not positive, but I think this might be a bug in the btape.c unfillcmd(). I ran into the same problems when I was setting up my adic Scalar 218 DLT7000 library under FreeBSD 5.4. The problem comes when the unfill command tries to read back the first 1000 blocks. It has a check in a function called quickie_count() (or something like that) that requires the current file on the tape to be 0, but it looks like the label command writes an EOF to end the label, so the unfill command gets and EOF somewhere around block 40??? (it's been a week or two), which bumps the file counter to 1, resulting in the ERROR! device at 1:1 count=1. I'm not really familiar enough with the inner workings of bacula to say if the error is in the EOF after the label, or if the file check should be for file = 1. I just changed the check to require that file is less than or equal to 1, and everything worked fine after that. Without digging around some more, I can't say if it's correct or not, but everything is working fine for me now, and I haven't had any problems with my test restores. Yes, there was a bug in btape, but the bug just caused several bogus messages to be printed. It didn't really create any problems with the rereading other than cut short reading the first 1 records. The important part is to ensure that the first few records on the tape are good, then to make sure the last block on the tape is correct. I noticed this problem and have already corrected it by simply removing the test -- in fact, the file number where the records are found is not really important ... The only difference is that I've been using mt seteotmodel 1, then using fast forward space file=yes, and TWO EOF=no in the storage daemon config. It the same setup as what's listed as the second option in the docs under FreeBSD tape support. It's working fine, and it really speeds up restores. Yes, if you have switched to this mode, you are using your tape drive much more like it was intended to be used. Please be sure to do a few *real* restores of some data you have backed up. That is the only way to be 100% sure ... Hope this helps, Cameron Kern Sibbald wrote: On Thursday 15 December 2005 02:57, Joe Dollard wrote: Hi, I'm in the process of setting up bacula for the first time for our network but am getting errors when I run btape fill. I'm running bacula version 1.38.1 (installed from ports) on FreeBSD 5.4 with a Quantum SDLT 110/220 tape drive (which is inside a Overland LoaderXPress). If I run the btape test command the output indicates everything worked successfully, however when running btape fill using single tape mode btape gives me the following error: btape: btape.c:2329 End of tape 108:0. VolumeCapacity=102,275,630,752. Write rate = 9689.8 KB/s Done writing ... Done filling tape at 108:0. Now beginning re-read of tape ... ERROR! device at 1:1 count=1 ERROR! device at 1:1 count=1 Reposition from 1:1 to 106:10374 I waited about 30 minutes after receiving this last message but btape didn't display anything else. Assuming it had hung I killed it with control+c. Output from btape fill, btape test and my bacula-sd.conf file are included below. Does anybody have any ideas about what might be wrong here? I'm trying to get bacula into production in the next few days, so any help would be greatly appreciated. I suspect that you killed it too quicly. It takes some time to reposition 102 GBytes on a tape, and probably 5-10 times longer on FreeBSD, which doesn't have fast forward space file. This requires Bacula to read every record -- if you think it is slow, a complaint to the SCSI tape driver writers might help ... Thanks, Joe Here's the device definition from my bacula-sd.conf file: Device { Name = Overland Description = Overland on FreeBSD Media Type = SDLT-1 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes Offline On Unmount = no Hardware End of Medium = no #FreeBSD secific BSF at EOM = yes #FreeBSD secific Backward Space Record = no#FreeBSD secific Fast Forward Space File = no #FreeBSD secific TWO EOF = yes #FreeBSD secific # Autochanger = yes # Changer Device = /dev/pass0 # Changer Command = /usr/local/sbin/mtx-changer %c %o %S %a %d } The device has an autochanger but I want to get it working without an autochanger first. Here's some of the output from btape fill: [EMAIL PROTECTED] btape /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:266 Using device: /dev/nsa0 for writing. btape: btape.c:338 open device Overland (/dev/nsa0): OK *fill This command simulates Bacula writing to a tape. It requires either one or two blank tapes, which it will label and write. If you have
Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.
Hello, On 12/15/2005 5:01 PM, Beren Gamble wrote: I'm going crosseyed, it's probably something simple, but i've been looking at it for too long. This shows the media i'm going to use for tonight's backup. The problem is, it's still set to append, shouldn't it have a VolStatus or Purged? +-++---+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+--+--+-+--+---+---+-+ | 6 | THURSDAY2 | Append| 99,017,877,864 | 102 |1,036,800 | 1 |0 | 1 | SDLT | 2005-12-02 00:22:38 | Considering your retention period of 12 days, I guess that's what you're aiming at. And no, it should not yet be purged. Bacula only prunes jobs and volumes when it actually needs a new volume. In this case, I suppose that, if this evening there's no more space available or usable, Bacula will prune this volume and then recycle it. Arno PS: *** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. If anybody at your institution thinks that this disclaimer would be helpful it would be nice to wrap the text as usual. Otherwise, please simply drop it. If I really honored this disclaimer, I wouldn't reply to you - I'm not the addressee of your mail, and we've got no contract, so how would I know I'm really the one this mail intended for? And, if you worry about confidentiality, you should cryptographically sign or encript your mail. Or, even better, not use E-Mail at all. Perhaps whoever is responsible for this stuff in your organisation can explain if there's any real reason you need to send this out probably thousands of times a day. Thanks, Arno Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important. *** --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] User defined maximum volume capacity
what is this new message?!My LTO Library always worked fine.RecentlyI always get this message after some nightly jobs..and the stated capacity is different every day.. Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com
Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.
sohow does one force it to do it?!Think: if the tape goes full after 3 jobs, and I have 4 each night, my last job will not be done.And this is not acceptable.If I tell bacula that the retention period is 12 days, I assume that 12 days later the tape will be recycled.After all...how does bacula knows the true capacity of a tape, until it goes EOT?Wouldn't it be easier to have some kind of flag to tell Bacula : "Ok, this tape is in the correct pool, look if it's recyclable, and if it is, don't even try to append. Just scratch and reuse".I see many users asking for this. And I still haven't found a way to do it.Always appending. But sometimes (some kind of randomly) it recycleswierdisn't it? Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com --Da: Arno Lehmann [EMAIL PROTECTED]A: bacula-users@lists.sourceforge.net Data: 15 dicembre 2005 21.12.01 CETOggetto: Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.Hello, On 12/15/2005 5:01 PM, Beren Gamble wrote: I'm going crosseyed, it's probably something simple, but i've been looking at it for too long. This shows the media i'm going to use for tonight's backup. The problem is, it's still set to append, shouldn't it have a VolStatus or Purged? +-++---+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+--+--+-+--+---+---+-+ | 6 | THURSDAY2 | Append| 99,017,877,864 | 102 |1,036,800 | 1 |0 | 1 | SDLT | 2005-12-02 00:22:38 | Considering your retention period of 12 days, I guess that's what you're aiming at. And no, it should not yet be purged. Bacula only prunes jobs and volumes when it actually needs a new volume. In this case, I suppose that, if this evening there's no more space available or usable, Bacula will prune this volume and then recycle it. Arno PS: *** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. If anybody at your institution thinks that this disclaimer would be helpful it would be nice to wrap the text as usual. Otherwise, please simply drop it. If I really honored this disclaimer, I wouldn't reply to you - I'm not the addressee of your mail, and we've got no contract, so how would I know I'm really the one this mail intended for? And, if you worry about confidentiality, you should cryptographically sign or encript your mail. Or, even better, not use E-Mail at all. Perhaps whoever is responsible for this stuff in your organisation can explain if there's any real reason you need to send this out probably thousands of times a day. Thanks, Arno Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important. *** --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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
Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.
Hello, On 12/16/2005 12:56 AM, Gabriele Bulfon wrote: sohow does one force it to do it?! Apart from the configuration directives like prune oldest volume (or something) my advice is usually you don't. When I find I have to force Bacula to anything, it's usually my fault or (more often these days, running a beta version :-) Bacula shows a bug. Think: if the tape goes full after 3 jobs, and I have 4 each night, my last job will not be done. Or, in other words, you need enough space available. And this is not acceptable. No, this is,in my opinion, the best way to handle backups: Avoid overwriting valid data whenever possible. If I tell bacula that the retention period is 12 days, I assume that 12 days later the tape will be recycled. Well, your assumption is not coherent with Bacula, then. Bacula treats a retention like keep the data for at least this time. Only after this time has passed consider recycling that volume. Thus, you should assume that your data will not be overwriten until 12 days have passed after the last job on a given volume is finished. After all...how does bacula knows the true capacity of a tape, until it goes EOT? Why would Bacula need that information? Wouldn't it be easier to have some kind of flag to tell Bacula : Ok, this tape is in the correct pool, look if it's recyclable, and if it is, don't even try to append. Just scratch and reuse. Hmm. Isn't that how Bacula works? If a volume is in the right pool, and it is flagged as recyclable, and automatic pruning for the jobs and volumes is on, AND the retention period has passed, the volume will be considered when Bacula looks for a recyclable volume. If you want to limit the time Bacula uses a volume, you can do so by setting the proper volume use time or number of jobs. And, while jobs can be pruned automatically after a job, the step of recycling a volume only happens when Bacula actually needs another volume. I see many users asking for this. And I still haven't found a way to do it. Always appending. No, appending as long as it's allowed. Either until the volumes is full, it's filled with as much data as you configured, with as many jobs as you set, or used for the time you told it to use the volume. But sometimes (some kind of randomly) it recycleswierdisn't it? Erm. No. I understand Bacula works in a way to ensure that backups are available as long as possible. When determining how to set it up, it's my duty to set the retention times and the recycling strategy. Knowing the amount of data I want to store, I have to make sure I've got enough space. If I set up a pool to have backups available for a certain time, and I've not got enough volumes, Bacula tells me so. Either I re-think my backup strategy and modify the setup, or I buy more tapes. I never had a situation where Bacula didn't recycle correctly, and even my 1-year-retention pools are cycling as I set them up. Of course, for short-term storage I need the space for a worst-case scenario. Arno http://www.sonicle.com Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com -- Da: Arno Lehmann [EMAIL PROTECTED] A: bacula-users@lists.sourceforge.net Data: 15 dicembre 2005 21.12.01 CET Oggetto: Re: [Bacula-users] Puring/Pruning doesn't seem to be happening. Hello, On 12/15/2005 5:01 PM, Beren Gamble wrote: I'm going crosseyed, it's probably something simple, but i've been looking at it for too long. This shows the media i'm going to use for tonight's backup. The problem is, it's still set to append, shouldn't it have a VolStatus or Purged? +-++---+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+--+--+-+--+---+---+-+ | 6 | THURSDAY2 | Append | 99,017,877,864 | 102 | 1,036,800 | 1 | 0 | 1 | SDLT | 2005-12-02 00:22:38 | Considering your retention period of 12 days, I guess that's what you're aiming at. And no, it should not yet be purged. Bacula only prunes jobs and volumes when it actually needs a new volume. In this case, I suppose that, if this evening there's no more space available or usable, Bacula will prune this volume and then recycle it. Arno PS: *** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not
[Bacula-users] Bacula web site All Files link broken
Hi There, FYI bacula.org webmaster. The bacula home page link for All Files which is links to: http://download.sourceforge.net/bacula appears to be broken: Not Found The requested URL /bacula was not found on this server. Apache/2.0.55 (Unix) PHP/5.0.5 Server at download.sourceforge.net Port 80 In the meantime can anyone suggest where I might be able to get tarballs of older versions of bacula - in particular 1.34.5 ? On the All Files section of the bacula download page on sourceforge, the only 1.34 version I can see is 1.34.6 Jason -- Why work smarter when you can work harder? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users