Re: [Bacula-users] Modifying tape location
On Fri, 03 Sep 2010 10:56:29 +1200 Richard Scobie wrote: > I have a tape I am trying to restore from on a local LTO drive. > > It was created at a remote location, in a library which is no longer > attached to the SD there and the "update slots" command was not done > after this tape was removed, so the Director still sees Richard, you can always do an update volume=blah inchanger=no slot=0 This will set the needed volume options to what the overlooked update slots would have. I also noticed a few times this 'stuck' situation... b _ {Beto|Norberto|Numard} Meijome "Why do you sit there looking like an envelope without any address on it?" Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups on Nas
On Thu, 13 May 2010 22:35:14 +0200 mario parreño wrote: > > First Thanks. > But I prefer not mounting a unit, I prefer acceding to the nas directly, > because I have many folders of different accounts in the nas > and then I will have that to mount in Debian so many folders since has in the > nas. autofs ? :) or mount a higher mount point than all your folders you want to access ... but again, i never played with one of these netgear NAS. b _ {Beto|Norberto|Numard} Meijome "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." [RFC1925 - section 2, subsection 3] I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] I need to buy a Tape Library
On Mon, 17 May 2010 10:30:20 +0200 Simone Martina wrote: [...] > Someone, from this ML, has bought a new tape library working with Linux > and mtx-changer? We have several systems running various versions of bacula and libraries, all without issues: - Old one #1 :from memory, a quantum 2 drive , 20 slot LTO3 library , SCSI interface - old one #2 : ibm/quantum 1 drive, 7 slot LTO3 library, SCSI interface - new one (2 month old ) , quantum scalar i500, 3 drives (HP) , 129 slots + 6 exchangers, LTO4, fibre interface. make sure you spec up the host that is connected to your drive to be able to push data fast enough. And yes, definitely go with LTO4 unless you have a real good reason not to. B _ {Beto|Norberto|Numard} Meijome Mind over matter: if you don't mind, it doesn't matter I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Quantum Superloader 3
2010/6/10 bwellsnc > Here is what I have setup for my conf's. I have my conf files in a conf.d > directory. I added this to my bacula-dir.conf file: > > Did you run all the suggested tests for mtx changer script , and did they all pass? _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] In-changer info wrong for 1 tape.
Hi there, I'm using bacula 5.0.1 under Centos 5.4 64 bit with a tape library( 3 drives, 133 slots) It's been working great , non stop. I just noticed 1 small item: We sent a bunch of tapes offsite. After taking them out of the robot,I issued an update slots command, selected the robot device, it did its thing, it reported the right info...except for 1 of the 5 tapes sent offsite, which , in "show volumes pool=xyz" the slot number and 'inchanger = 1". * all the other tapes sent offsite show as slot=0, inchanger 0 * the info from update slots did NOT include this confused tape * the tape is DEFINITELY not in the robot, confirmed via mtx , and confirmed it is checked into offsite facility... Is there some other test I should run to debug this ? Cheers, B _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Autochanger, checking valid volumes in all drives ?
Hi guys, we have a 127 slot / 3 drive library, which is working great . Drives 0 and 1 are set for automatic use. We have 2 jobs, offsite and local, and a separate pool for each job, with tapes being picked up from Scratch. This works fine too. Both jobs are configured to use the autochanger storage device (not a drive specifically). The somewhat annoying thing is this. if we have: Drive0 has a tape already in "offsite" pool. Drive1 has a tape already in "local" pool. If neither drive0 nor drive1 are currently in use, and job-local starts, instead of saying, hey, i have a tape for me in Drive1, it actually unloads Drive0, moves the tape from Drive1 to Drive0 and starts using it. It would be great if the job could check what volumes/tapes are available already in the drives, and then just start using the correct one. Is this a new feature/improvement, or am have I missed a magic something somewhere? TIA! B _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multiple directors, one catalog...
Hi there, there are references in the documentation to running multiple catalogs per director (data about different jobs go to different DBs). I wonder, Is it safe to have several directors using the same catalog? cheers, B _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Maybe OT] 5.0.2 & PostgreSQL 8.4.3: Disk space requirements
On 13 May 2010 11:09, Lampzy wrote: > Holger, > > One thing to try is to put Bacula's working directory on a bigger file > system. If you have spooling enabled (which you probably have) the > working directory is where Bacula spools attributes i.e. the data it > needs to save in the database and if you backup a lot of files this > directory can grow pretty fast. The attributes spooling directory is > always the working directory regardless where your data spool directory is. > FWIW, you can configure the spooling directory to go to a different location than the default. a fast, large local disk works best. _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] copy jobs and scratch pools
2010/5/6 > Hi, > I'm having a problem copying jobs. I labeled a new volume in the pool > "DailyScratch" with the label command. Then I ran a job using the pool > "ThursdayOD". As expected, bacula took the volume from the Scratch Pool and > moved it to the other pool. Backup ran without errors, "list volumes" shows > that the volume is in the "ThursdayOD" pool. > > But now when I start the copyjob I just get an error: > 06-Mai 13:05 bacula-dir JobId 0: Fatal error: No Next Pool specification > found in Pool "DailyScratch". > > Chris, which copy job did you run? none is defined below > It wouldn't make much sense to define the Next Pool in the Scratch Pool as > that will be used by several pools. I would have expected bacula to use the > Next Pool directive from the "ThursdayOD" configuration as that is where the > volume is in. Is this a bug or am I missing something? > > Relevant configuration: > > JobDefs { > Name = "CopyDefault" > Type = Copy > Messages = Standard > Storage = "usbchanger2" > Client = None > FileSet = None > Selection Type = PoolUncopiedJobs > Maximum Concurrent Jobs = 10 > SpoolData = No > Allow Duplicate Jobs = Yes > Cancel Queued Duplicates = No > Cancel Running Duplicates = No > Priority = 11 > } > > Pool { > Name = DailyScratch > Pool Type = Backup > } > > Pool { > Name = Thursday > Pool Type = Backup > Storage = usbchanger1 > Recycle = yes > AutoPrune = yes > Volume Retention = 5 days > Maximum Volume Bytes = 4608M > } > > Pool { > Name = ThursdayOD > Pool Type = Backup > Storage = File > Recycle = yes > AutoPrune = yes > Volume Retention = 12 hours > Maximum Volume Bytes = 4608M > ScratchPool = DailyScratch > Recycle Pool = DailyScratch > NextPool = Thursday > } > > Chris > > > _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"
> > > => > => Bconsole already performs SQL queries for all commands that would issue > a > => long listing, right? > => > => SQL was meant for filtering & relating data ... Why not add some filter > => param that is added to the SQL being sent to the backend? something like > th= > => e > > That's great...if you already know SQL. > > Makes sense, though I hardly think most people would think it's voodoo to use a limited subset of SQL bits in include / exclude. But i could be wrong. > I'm guessing that most system administrators who are managing bacula are > much > more familiar with shell tools & paradigms than with SQL. I wish I knew > SQL, > but even more, I'd prefer to send the output of bconsole to tools that I > already know (grep, perl, awk, etc.). > > > How would this integrate with a tool like bat ? ie, it wouldn't allow you to integrate it easily with bat (for on-the-server processing of the filtering), would it? Regards, {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"
(and to the list.. Apologies Gavin for private reply...) On 7 May 2010 19:19, Gavin McCullagh wrote: > On Thu, 06 May 2010, Steve Polyack wrote: > > > These are certainly good points. My thought is just that instead of > > breaking out of bconsole to perform these tasks can be cumbersome. > > Personally, I feel that it's something that I'd use a lot, simply to > > prevent me from constantly breaking in and out of the interactive > > bconsole session. However, perhaps a solution would be to have bconsole > > parse the pipe character and feed output into the command that follows > > which could be any arbitrary *nix command (as opposed to > > writing/including our own version of grep). > > For comparison, the Postgresql and MySQL command line interfaces include > something similar to this. > > MySQL offers the "pager" command which can be set to "less" or "grep ", > etc. as well as the tee command to also send output to a file. Postgresql > offers a single: > > \o [FILE] send all query results to file or |pipe > > Neither allow anything as simple as > >SELECT ... ; | grep blah > > my $0.02, Bconsole already performs SQL queries for all commands that would issue a long listing, right? SQL was meant for filtering & relating data ... Why not add some filter param that is added to the SQL being sent to the backend? something like the original suggestion,but simply as an extra parameter to the existing command. for example: *list files jobid=999 incFile="%budget%2009%" excFile="%.doc" to include all *budget*2009* files, except *.doc . Similar extensions: - case sensitive , or not. - paths instead of file - client names - etc The tricky bit may be avoiding SQL injection attacks, but there should be some libraries / standard practices for dealing with this. I think this may be a cleaner approach for then end user. This may not apply if you have 1,000 clients, 'list clients' may not benefit from this as it doesnt query SQL... B _ {Beto|Norberto|Numard} Meijome "I detest people who take shortcuts rather than do things right, because they leave shit for the rest of us to clean up." PHK -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.0.1, CentOS5.4 and BAT...not working
On 24 April 2010 07:10, MoreDakka wrote: > > Hi all, > > So I've been able to get bacula working on CentOS5.4 quite easily and > accessing the tapes..etc.. However I cannot, for the life of me, get BAT > working at all. This is what i used for the ./configure: > > ./configure --enable-smartalloc --enable-bat --enable-bwx-console > --enable-tray-monitor --with-mysql --enable-conio > --with-qwt=/usr/include/qwt/ > > Under /etc/bacula there is no bat script at all. Can someone please help > me > find out what I'm doing wrong here? > > Hello, i strongly suggest you use the bacula-bat src.rpm and build from it a new RPM. I have it working nicely on 5.3 / 4 ,64bit. I am not sure if the bundled .spec builds with the specific options you need, but you can always add them to the config line inside the spec... _ {Beto|Norberto|Numard} Meijome "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." [RFC1925 - section 2, subsection 3] -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 'status storage=XYZ' - misreporting ?
On 22 April 2010 01:10, John Drescher wrote: > > I am using Bacula 5.0.0 on Centos 5.4 64bit. > > > > When I issue 'status storage=XYZ', where XYZ is a storage device managed > by > > StorageDaemonA , what I get is information about all storage devices > defined > > for StorageDaemonA. Is this how it's supposed to be ? > > > This is how it is supposed to be. I mean the file storage is closed at > the moment because no jobs are running on any of the file devices. So > with all file storage closed you will have no mounted file volumes > which means nothing to report.. > > Thanks John. _ {Beto|Norberto|Numard} Meijome "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." [RFC1925 - section 2, subsection 3] -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] End of Tape errors with HP LTO-4 drive on Linux
On 14 April 2010 16:32, Robert Oschwald wrote: > Bacula works perfectly so far. > The only serious problem I have is End of Tape detection. > E.g. if I need to reboot the backup server, the current tape will be > rewinded. > The next backup job then seems not to find the end of the last backup and > the tape will be set to Error state: > > 14-Apr 04:00 bacula-sd JobId 925: Volume "Weekly1" previously written, > moving to end of data. > 14-Apr 04:23 bacula-sd JobId 925: Error: Unable to position to end of data > on device "LTO-4" (/dev/nst0): ERR=dev.c:954 ioctl MTEOM error on "LTO-4" > (/dev/nst0). ERR=Input/output error. > 14-Apr 04:23 bacula-sd JobId 925: Marking Volume "Weekly1" in Error in > Catalog. > > > I already tried playing with TWO EOF = yes/no with no luck. > > Any ideas? > Robert, did you solve this? What tape / library are you using? We are just about to start using a number of LTO4 drives,so this will be something we'd want to test. btw, what happens if you rewind the tape manually? (ie, unmount @ bacula, mt -f /dev/nst0 rewind && mtx -f /dev/xxx unload x, then load in bacula again. Is bacula writing while the reboot happens? cheers, B _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] retention times...
Hi, I just wanted to confirm, for my own benefit :), that when a volume is recycled ( as per the 'volume Retention' settings), all Job and File records contained in that volume are gone. With the caveat that if the volume is not overwritten by a subsequent job, one can use bscan to restore this information into the database. Effectively, this means that, if I want to keep my Job and File records in the DB, I should either set 'Auto Prune' to false (which does *not* affect *Volume* retention/recycling policies), or set Job/File retention to long enough periods so that the are not relevant (ie, Volume recycling kicks in first). TIA, b _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 'status storage=XYZ' - misreporting ?
Hi everyone, I am using Bacula 5.0.0 on Centos 5.4 64bit. When I issue 'status storage=XYZ', where XYZ is a storage device managed by StorageDaemonA , what I get is information about all storage devices defined for StorageDaemonA. Is this how it's supposed to be ? For example, below is the output of 'status storage=berthaFileHomeDirs' . It reports on pretty much anything on the bertha.-sd ,but not specifics on the berthaFileHomeDirs storage device. Such things like Pools / jobs using this device, etc I'm happy to log this in Mantis, i just want to make sure whether it's a bug or a feature not implemented yet... Cheers, Beto --- status storage=berthaFileHomeDirs bertha.MyDomain-sd Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat Daemon started 14-Apr-10 15:53, 123 Jobs run since started. Heap: heap=544,768 smbytes=252,629 max_bytes=455,767 bufs=163 max_bufs=185 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 Running Jobs: Writing: Full Backup job assetBackups JobId=947 Volume="E01055" pool="productionPool" device="Drive-0" (/dev/nst0) spooling=0 despooling=0 despool_wait=0 Files=976 Bytes=5,995,151,218 Bytes/sec=29,975,756 FDReadSeqNo=99,381 in_msg=96575 out_msg=5 fd=7 Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 936 Incr 1,202712.4 M OK 21-Apr-10 01:15 Server007BackupHex 938 Full54987.82 M OK 21-Apr-10 08:06 assetBackups 939 Full128218.3 M OK 21-Apr-10 09:06 assetBackups 940 Full 9,11228.91 G OK 21-Apr-10 10:27 assetBackups 941 Full 12,45766.96 G OK 21-Apr-10 12:00 assetBackups 942 Full 11,04857.97 G OK 21-Apr-10 12:42 assetBackups 943 Full 1,1275.181 G OK 21-Apr-10 13:09 assetBackups 944 Full 1,6956.809 G OK 21-Apr-10 14:10 assetBackups 945 Full 5,53711.00 G OK 21-Apr-10 15:16 assetBackups 946 Full 2,80322.27 G OK 21-Apr-10 16:19 assetBackups Device status: Autochanger "Autochanger" with devices: "Drive-0" (/dev/nst0) Device "berthaFileSpoolSystems" (/raid/FileSpoolSystems) is not open. Device "berthaFileSpoolHomes" (/raid/FileSpoolHomes) is not open. Device "berthaFileSpool01" (/raid/FileSpool01) is not open. Device "apbVirtualTape" (/raid/apbVirtualTape) is not open. Device "Drive-0" (/dev/nst0) is mounted with: Volume: E01055 Pool:productionPool Media type: LTO3 Slot 4 is loaded in drive 0. Total Bytes=323,346,465,792 Blocks=5,012,190 Bytes/block=64,512 Positioned at File=335 Block=15,500 Used Volume status: E01055 on device "Drive-0" (/dev/nst0) Reader=0 writers=1 devres=0 volinuse=1 Data spooling: 0 active jobs, 0 bytes; 7 total jobs, 9,257,486,300 max bytes/job. Attr spooling: 0 active jobs, 391,373,007 bytes; 7 total jobs, 391,373,007 max bytes. --- _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] s3 amazon
2010/4/21 Jesus arteche > hi, > > Someone knows where can i find a howto to build bacula system with the > storage in S3 amazon??? or someone knows how can i do it?? > > Hi! Have you seen : http://www.google.com.au/search?q=bacula+s3&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a ? _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup to disk, then duplicate
Hi there, I wanted to run this pass more knowledgeable minds before trying on a test environment. I need to write duplicate tapes for onsite and offsite storage. The data will not expire - they are basically archives. I plan to the backup the data from the network source to a local disk, diskPool, which will expire after 2 weeks. From this disk copy, I'll write 2 tapes, one on offsitePool and one on onSitePool. The copy on disk would act, in a way, as both a source for quick restores while the data is valid, as well as source of the to-tape jobs , reducing the network transfers. the "2 jobs to tape" part, i was thinking of tackling it as 2 copy jobs of the original disk job. In this way, the relation between all the jobs is clear, and I should be able to restore from any of the 3 jobs. Questions : * Can one use RunBeforeJob scripts on Copy / Migrate jobs? * How could I run the copy jobs right after the backup to disk job has finished ? ( the Run directive of the Job resource looks great, but it seems it starts the 'clone' job before the main job... i could imagine the main job being one of the tape jobs and then start the clone-to-disk before it, but it just gets too un-KISS. ) * Ideally, a RunAfterJob that starts the 2nd + 3rd jobs would be great...but they call external scripts, not internal bacula commands (Python interface is always an option...) * Maybe I'm looking at this the wrong way around, and a scheduled Copy job should deal with this situation? The important thing is that i need to be able to pass to an external script information about which "to-disk" job I just copied to tape. (hence my first question about RunBeforeJob for copy/migrate jobs) Any and all input much appreciated!! B _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4
On 30 March 2010 10:19, Hugh Brown wrote: > Mark Nienberg wrote: > [...] > > > * http://marc.info/?l=bacula-users&m=126910218517057&w=2 > > - May be a problem with a patch applied for OpenSSL v1; small patch > included to get around the problem for CentOS and OpenSSL 0.9.8 > hmm the way i read the patch and some history behind it appearing in the rpm.spec, it was added to support openssl v1.1 on FC11 and FC12 platforms. A very cursory glance over the changes when I sent the original email about this seemed to point to new/renamed methods / members in openssl1.1 FWIW, http://bugs.bacula.org/view.php?id=1539 {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with opensslv1.patch when openssl-0.9.8 installed (bacula 5.0.1-2, Centos 5.4 64 bit )
Thanks Mark, http://bugs.bacula.org/view.php?id=1539 _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Maximum Concurrent Jobs in job definition
On Fri, 12 Mar 2010 10:13:49 +0100 Matija Nalis wrote: > On Fri, Mar 12, 2010 at 11:21:13AM +1100, Norberto Meijome wrote: > > On 11 March 2010 13:40, Norberto Meijome wrote: > > > > > Hi everyone, > > > I have a job that runs very frequently, and successive runs take different > > > sets of data (as determined by a pre-job script). To avoid problems, my > > > pre-job script sets a lock file and the post-clears it. > > > > > > When I configure my director for concurrent jobs = 2, i sometimes get 2 of > > > these jobs trying to run in parallel (which is understandable, many times > > > a run has more data than the average and is still running while the next > > > one is due). My pre-script will then cancel the execution of the 2nd > > > script (because it finds the lock file). Great. > > > Why the pre/post locking script ? Because I prefer explicitly checking for the errors I know i need to handle :) > Would it not be easier to just use "Allow Duplicate Jobs = no" ? I reckon it would be. I didn't change this value, and http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_3_0_0.html#SECTION007101000 says it defaults to NO. Which is why I make sure via my own code things work properly ;) I will review the whole thing soon and see whether i've missed anything, thanks! B > > See > http://www.bacula.org/en/dev-manual/New_Features.html#SECTION003101000 _ {Beto|Norberto|Numard} Meijome "Egotism is the anesthetic that dulls the pain of stupidity." Frank Leahy I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Maximum Concurrent Jobs in job definition
On Fri, 12 Mar 2010 09:00:10 +0200 Silver Salonen wrote: > Hi. > > Did it work like it should in Bacula 3.0? > Hi Silver, only started using Bacula 5.0. B _ {Beto|Norberto|Numard} Meijome "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." Eric Allman I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with opensslv1.patch when openssl-0.9.8 installed (bacula 5.0.1-2, Centos 5.4 64 bit )
Hi everyone, I am getting build errors when building 5.0.1-2 from src rpm on Centos 5.4, 64 bit . rpmbuild line: rpmbuild --target=$(uname -m) --define build_centos5=1--define build_client_only=1 --define build_python=1 --define build_tcpwrappers=1 -bb /bacula.spec The error I get is , @ configure stage : checking for OpenSSL... checking for EVP_PKEY_encrypt_old in -lssl... no yes checking for library containing dlopen... -ldl (notice the 'no', then 'yes'... ??) then, @ build stage : Compiling smartall.c Compiling rblist.c Compiling tls.c tls.c: In function 'bool tls_postconnect_verify_host(JCR*, TLS_CONNECTION*, const char*)': tls.c:354: error: invalid conversion from 'const X509V3_EXT_METHOD*' to 'v3_ext_method*' make[1]: *** [tls.lo] Error 1 I then found http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/fedora-12-and-opensslv1-bacula-5-0-1-2-rpm-release-104496/ Question - is 5.0.1-2 ONLY meant for FC-11 / 12 ?? I am not sure how to check, in an RPM Spec for version of openssl-devel installed , but blatingly forcing a OS / library specifc patch on any OS seems a bit much, IMHO. The patch below ( [1] ) for bacula.spec "Worked-For-Me (tm)". Please let me know if you want me to log this in Mantis. cheers, Beto [r...@xander redhat]# rpm -qa | grep openssl openssl-devel-0.9.8e-12.el5_4.1 openssl-0.9.8e-12.el5_4.1 [1] --- bacula.spec (revision 132) +++ bacula.spec (working copy) @@ -225,7 +225,9 @@ Vendor: The Bacula Team Packager: %{_packager} Prefix: %{_prefix} +%if 0%{?fedora_version} >= 11 Patch: opensslv1.patch +%endif Source0: http://www.prdownloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz # opensuse build service changes the release itself @@ -705,7 +707,9 @@ %setup %setup -T -D -b 1 %setup -T -D -b 3 +%if 0%{?fedora_version} >= 11 %patch -p2 +%endif %build _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatic labelling from barcodes ?
On 12 March 2010 13:04, John Drescher wrote: > > yeah, maybe it is a timing issue , (the changer isn't the newest) the > msgs > > didnt seem to be related to the job that was waiting, but i could be > wrong. > > The issue is that , say, slot 1 is labelled correctly, 2 and 3 not, 4 > > through 7 Ok. Sometimes it's one failed, sometimes 2, not the same all > the > > time. Not earth shattering, but non-automatic. > > > > If it is a timing issue then you need to fix your mtx-changer script > (to work with your changer) because your backups will have the same > problem as label barcodes. > > Did you run the autochanger tests that are described in the manual? > > John > thanks for the pointer, I'll look into that. I haven't seen any errors from the backups, so it may all be in my imagination. thanks again, _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatic labelling from barcodes ?
On 12 March 2010 12:44, John Drescher wrote: > > We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes > are > > barcoded. > > > > I've been using 'label barcodes' with some success [1]. > > This should work 100% of the time. It has for me for the 80 tapes I > have had it label. When I add new tapes, I wait 5 minutes for my 24 > slot changer to stop doing inventory then after that I issue update > slots since I changed tapes. After that I run label barcodes and put > all new tapes in the Scratch pool. > > yeah, maybe it is a timing issue , (the changer isn't the newest) the msgs didnt seem to be related to the job that was waiting, but i could be wrong. The issue is that , say, slot 1 is labelled correctly, 2 and 3 not, 4 through 7 Ok. Sometimes it's one failed, sometimes 2, not the same all the time. Not earth shattering, but non-automatic. > > I would like to be > > able to just insert new tapes and let bacula automatically label them > using > > the barcode read from the tape. > > > > Is this possible, and if so, how ? > > > > I am not sure of that. Some users have done this but I do not know the > details. > do you have any pointers? > > > Running > > Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat > > > > thanks!! > > > > [1] sometimes it throws some errors, tape i/o,etc, not sure it is related > to > > bacula, even though it crashed bacula-sd once or twice > > > The I/O read error on unused tapes is not an error. This is actually > normal behavior. > As for crashing bacula-sd, I have never had that > happen on a label barcodes. > > +1 . hasn't happened that much, just once or twice (once definitely related to this, the other i dont recall) thx!! _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Automatic labelling from barcodes ?
Hi everyone, We have a tape library, 7 slots, 1 drive, barcode reader. All our tapes are barcoded. I've been using 'label barcodes' with some success [1]. I would like to be able to just insert new tapes and let bacula automatically label them using the barcode read from the tape. Is this possible, and if so, how ? Running Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat thanks!! [1] sometimes it throws some errors, tape i/o,etc, not sure it is related to bacula, even though it crashed bacula-sd once or twice _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Maximum Concurrent Jobs in job definition
Anyone? btw, it is 5.0 , on Centos 5.4 64bit _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. On 11 March 2010 13:40, Norberto Meijome wrote: > Hi everyone, > I have a job that runs very frequently, and successive runs take different > sets of data (as determined by a pre-job script). To avoid problems, my > pre-job script sets a lock file and the post-clears it. > > When I configure my director for concurrent jobs = 2, i sometimes get 2 of > these jobs trying to run in parallel (which is understandable, many times a > run has more data than the average and is still running while the next one > is due). My pre-script will then cancel the execution of the 2nd script > (because it finds the lock file). Great. > > Of course, this is generating a bunch of (expected) errored jobs . I read > in the documentaiton [1] that I can use "Maximum Concurrent Jobs" in the > Job def, to determine how many of this jobs can start in parallel. So I set > this to 1 [2] > > But it has no effect . I get 2 jobs running in parallel (for a short while, > until the pre-script kills it). If I change the director's Max Concurrent > Jobs to 1, then it's forced to 1 (but i need more than one, as I as have > spooling enabled and other jobs writing to the tape too..) > > What is going on ? > > TIA! > B > _ > {Beto|Norberto|Numard} Meijome > > "The only people that never change are the stupid and the dead" > Jorge Luis Borges. > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. > Reading disclaimers makes you go blind. Writing them is worse. You have > been > Warned. > > [1] > http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00173, > way down... > > [2] > [...] > Job { > Name = "assetBackups" > JobDefs = "DefaultJob" > Level = Full > FileSet="publishedAssetsSet" > Messages = Standard > Pool = "productionPool" > Storage = "berthaTape" > Schedule = "PublishedAssetsSchedule" > Write Bootstrap = "/var/lib/bacula/%n.bsr" > Priority = 10 > Accurate = yes > Spool Data = yes > # We only want one instance of this job running @ the same time. > # enforced (errors out) in the apb_run.sh > Maximum Concurrent Jobs = 1 > # This the list of asset versions to be backed up. The parameter passed > is the number of versions to include in this run > RunBeforeJob = "/etc/bacula/backupFilelist/apb_run.sh 400" > # This moves the current list out of the way and updates the offset > # parameters passed are the jobId and the jobStatus > RunAfterJob = "/etc/bacula/backupFilelist/apb_post.sh %i %e" > } > [...] > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Maximum Concurrent Jobs in job definition
Hi everyone, I have a job that runs very frequently, and successive runs take different sets of data (as determined by a pre-job script). To avoid problems, my pre-job script sets a lock file and the post-clears it. When I configure my director for concurrent jobs = 2, i sometimes get 2 of these jobs trying to run in parallel (which is understandable, many times a run has more data than the average and is still running while the next one is due). My pre-script will then cancel the execution of the 2nd script (because it finds the lock file). Great. Of course, this is generating a bunch of (expected) errored jobs . I read in the documentaiton [1] that I can use "Maximum Concurrent Jobs" in the Job def, to determine how many of this jobs can start in parallel. So I set this to 1 [2] But it has no effect . I get 2 jobs running in parallel (for a short while, until the pre-script kills it). If I change the director's Max Concurrent Jobs to 1, then it's forced to 1 (but i need more than one, as I as have spooling enabled and other jobs writing to the tape too..) What is going on ? TIA! B _ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. [1] http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00173, way down... [2] [...] Job { Name = "assetBackups" JobDefs = "DefaultJob" Level = Full FileSet="publishedAssetsSet" Messages = Standard Pool = "productionPool" Storage = "berthaTape" Schedule = "PublishedAssetsSchedule" Write Bootstrap = "/var/lib/bacula/%n.bsr" Priority = 10 Accurate = yes Spool Data = yes # We only want one instance of this job running @ the same time. # enforced (errors out) in the apb_run.sh Maximum Concurrent Jobs = 1 # This the list of asset versions to be backed up. The parameter passed is the number of versions to include in this run RunBeforeJob = "/etc/bacula/backupFilelist/apb_run.sh 400" # This moves the current list out of the way and updates the offset # parameters passed are the jobId and the jobStatus RunAfterJob = "/etc/bacula/backupFilelist/apb_post.sh %i %e" } [...] -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up > 100 servers
On Sat, 27 Feb 2010 14:46:40 +0100 Stan Meier wrote: > Hello world, [...] > Furthermore, most of those servers will need a default job performed > (/etc, /root, /opt and so on). While it's easy to reuse a "JobDefs" > stanza to actually define all those jobs, isn't there any way to > "group" those servers? Do we really have to define more than 120 jobs, > one for each server? there's been plenty of very good advice given on bacula... thanks everyone! so, on a slightly different slant... I don't know how your servers are used/managed... fwiw, I've been trying to move towards segregating configuration (/etc , crontabs,etc) from software (rpm -qa as someone suggested), from data (ie, user generated files, DBs,etc). If you think of it this way, configuration is managed via Puppet (and you only need to backup Puppet), software is managed via, say, Kickstart (and you only backup your kickstart data), and then you worry about your 'non-manageable data'. just my $0.02 :) B _ {Beto|Norberto|Numard} Meijome There are no stupid questions, but there are a LOT of inquisitive idiots. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Lock Manager, is this for production use?
Hi guys, First of all, thanks for a top notch product. We are using bacula 5.0.0.1 @ $work, and about to really start using it to back up loads of data (over 60TB of filesystems, with some very specific needs), and bacula has covered all the bases. Kudos to you all!! So, to the point :) I can't seem to find a lot of information on the Lock Manager. I saw a few posts dating back to 3.x series where it was mentioned that lockmgr is meant to be used when debugging issues - ie, not for production. Is this still the case? Also, maybe related or not, but bat will crash when running when using client package built with lock-manager enabled. Would this be solved if bat has --enable-lockmgr ? thanks in advance, B _ {Beto|Norberto|Numard} Meijome "We must openly accept all ideologies and systems as means of solving humanity's problems. One country, one nation, one ideology, one system is not sufficient." Dalai Lama. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users