[Bacula-users] Bacula features
Hello All, I am looking for a backup solution which has the following features: 1. Back up to removable hard drives 2. Span multiple target drives 3. Maintain a virtual fileysystem so all snapshots look like a single backup volume to the user. 4. Maintain an easily monitored index so the user can see which drive will be needed for a particular backup or restore operation. 5. Be able to easily rebuild the index and virtual file system from the target drives (preferably just one drive - probably the last one) if the database is lost on the source system. Features #1 and #2 are especially important. Many pieces of backup software talk about being able to back up to tape, CD/DVD-R, or even floppy disks. Backing up to a group of removable hard drives is a little different kettle of fish, though, because hard drives are not really expected to be used in this fashion. Teh application has to be able to understand that even though it is a hard drive, it can be removed and will prompt theuser to do so. It also must be able to either write to the raw drive target, or else umount the drive and mount the new drive when it is inserted into the drive enclosure. I cannot afford a large tape drive, and I do have a backup server with an array slightly larger than the main array, but there are a number of hazards that this strategy does not cover. Doing incremental backups to a series of 2TB (3TB when they come out) hard drives is a perfect alternative - if I can find the software to handle it. Is Bacula that software? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Hi, and welcome here! I hope we can give you all the information you need - and rely on you to support others, later! 30.10.2009 07:24, Leslie Rhorer wrote: Hello All, I am looking for a backup solution which has the following features: 1. Back up to removable hard drives Bacula can do that. 2. Span multiple target drives Sure. 3. Maintain a virtual fileysystem so all snapshots look like a single backup volume to the user. Well - here it would probably help if you knew more about Bacula already :-) When doing a restore Bacula can present you with an overview of all the files backed up from a certain machine, so this is kind of like a virtual file system. This is presented to the user in the Bacula console program or the BAT gui. At the selecting stage of a restore, you don't have to know anything about volumes and what is stored where, so I guess your requirement is covered. 4. Maintain an easily monitored index so the user can see which drive will be needed for a particular backup or restore operation. For restores, you get a list of needed volumes, and Bacula asks for a volume change or load if it's required. For backup jobs, Bacula handles that automatically - only if no usable volume is available, the operator gets a message asking for a usable volume. There's no 100% reliable way of knowing which volumes will be needed before a job is run, though, as other jobs can have an effect on volume availability. In general, I'd say that Bacula does the right thing - if a usable volume is available, it uses it, if it isn't, it asks. As you can do rather complex things with pools and volumes, you can set up Bacula in ways that require lots of manual intervention - avoiding that sometimes needs good planning. 5. Be able to easily rebuild the index and virtual file system from the target drives (preferably just one drive - probably the last one) if the database is lost on the source system. You can rebuild the catalog from the existing volumes, but usually you only do that in a real desaster situation. What you can and should do is backing up the catalog itself after each backup cycle usually daily after all jobs are run). Restoring the catalog, if you lost your database, is rather simple provided you follow the documented procedures. Features #1 and #2 are especially important. Many pieces of backup software talk about being able to back up to tape, CD/DVD-R, or even floppy disks. Backing up to a group of removable hard drives is a little different kettle of fish, though, because hard drives are not really expected to be used in this fashion. Teh application has to be able to understand that even though it is a hard drive, it can be removed and will prompt theuser to do so. Bacula can do that - essentially, it doesn't care if a volume is a tape or a disk file, and you can set up Bacula to know that diesk files are removable media. It also must be able to either write to the raw drive target, or else umount the drive and mount the new drive when it is inserted into the drive enclosure. There are several tools and procedures to achieve that. Note that Bacula does not write to raw disks, but creates regular files as volumes it uses, so you can use the OS tools like udev or automounter to get disks mounted when attached, which is what the above mentioned tools rely on. I cannot afford a large tape drive, and I do have a backup server with an array slightly larger than the main array, but there are a number of hazards that this strategy does not cover. Doing incremental backups to a series of 2TB (3TB when they come out) hard drives is a perfect alternative - if I can find the software to handle it. Is Bacula that software? I guess it can be with a bit of planning... with the vchanger add-on it should do what you need quite neatly (but be aware that I never used vchanger...) Cheers, Arno -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
Re: [Bacula-users] weekly backup on 2 external hard disks
Hello, I'm doing a similar backup but with 3 disks : - 2 disks (A and B) connected as RAID. - a third disk. When I want to change a disk, I replace B with C and I rebuild the RAID. :) I'm using mdadm on Linux Like this, I limit a lot risks of destructions of backup. Hope this helps. Sebastien Le 29 oct. 09 à 10:30, Mgr. Martin Fabuš a écrit : Hi All, I would like to configure the Bacula in following way use 2 external hard disks connected over the USB change these 2 HDDs once per week (let's say on friday afternoon) every day doing a backup - incremental (of several servers) once per year do a full backup if one external HDD dies - I want to loose the backup only for one week i.e. on every HDD, there should be one full backup the incremental backup after the disk change (friday) should follow the last increment on that HDD (not on the other one) one can restore correctly the data only from 1 HDD Is such a configuration possible? If yes give me a rough idea, please. I hope I can find out the details. Martin -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Sébastien VINOT sebastien.vi...@logisphere.fr Tel: +33 (1) 48 54 03 42 Mobile : + 33 (6) 86 71 77 35 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. Ralf -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Hello, Personnaly I also wanted multiple copies of my backups. At the moment I'm using RAID USB disks (2 disks) and like this I can have 2 copies. Of course that means disks need to be connected on the same machine. I'm working on a little tool that will be able (through named pipes) to make copies on external locations. Sebastien I solved this Le 30 oct. 09 à 10:46, Ralf Gross a écrit : Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. Ralf -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Sébastien VINOT sebastien.vi...@logisphere.fr Tel: +33 (1) 48 54 03 42 Mobile : + 33 (6) 86 71 77 35 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] test communication between dir, fd and sd
Hello, How I can test the communication between bacula-director and fd and sd ? This without doing a backup or a restore, just connect and disconnect. I've searched on internet for test communication site:bacula.org without success. K. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. James -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] test communication between dir, fd and sd
You can use the status command in bconsole -Ursprüngliche Nachricht- Von: le dahut [mailto:le.da...@laposte.net] Gesendet: Freitag, 30. Oktober 2009 11:31 An: 'bacula-users@lists.sourceforge.net' Betreff: [Bacula-users] test communication between dir, fd and sd Hello, How I can test the communication between bacula-director and fd and sd ? This without doing a backup or a restore, just connect and disconnect. I've searched on internet for test communication site:bacula.org without success. K. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Ha: test communication between dir, fd and sd
status client le dahut le.da...@laposte.net 30.10.2009 15:39 Кому 'bacula-users@lists.sourceforge.net' bacula-users@lists.sourceforge.net Копия Тема [Bacula-users] test communication between dir, fd and sd Hello, How I can test the communication between bacula-director and fd and sd ? This without doing a backup or a restore, just connect and disconnect. I've searched on internet for test communication site:bacula.org without success. K. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
James Harper schrieb: Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. Multile tapes is no problem, but I don't think bacula can switch drives during a backup job or write to multiple drives in parallel. I haven't seen an option for that. Ralf -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
-Original Message- From: Ralf Gross [mailto:r...@stz-softwaretechnik.de] On Behalf Of Ralf Gross Sent: Friday, 30 October 2009 21:47 To: James Harper Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula features James Harper schrieb: Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. Multile tapes is no problem, but I don't think bacula can switch drives during a backup job or write to multiple drives in parallel. I haven't seen an option for that. Hmmm... to be honest I have never had cause to find out, but I have seen bacula fill up a disk and ask for another volume. The autochanger script should just take care of the rest. James -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem restoring files with non-english characters (webmin)
ladolf wrote: I have a question about the »Bacula Backup System« module for Webmin. I use bacula 3.0.2 and Webmin 1.490. I have problem restoring files using this module (restoring files using bconsole works great). The problem is that java applet (»threechooser.class«) doesn't correctly display slovenian characters (#269;#268;). If I use any browser on linux (all environments are set to UTF-8), I can normally see slovenian characters and do a restore. But, if I use any browser on windows XP system (UFT-16, I think), the java applet shows slovenian characters incorrectly (wrong character encoding). I am really surpised that this applet is not displaying UTF-8 characters correctly, since bacula is saving all filenames in UTF-8. In effort to find a solution to this problem after unsuccessful googling I first changed »Character set for HTML pages« in language options of Webmin to UTF-8. Then I have added »-Dfile.encoding=UTF-8« to »Java Runtime Parameters«. Nothing helped. Then I made a correction to treechooser.cgi and added: nbsp; nbsp; meta http-equiv=Content-Type content=text/html; charset=UTF-8 / /head body because they were obviously missing. That didn't help either. I thoght it would because this code in threechooser.java made me think it would: nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; URL u = new URL#40;getDocumentBase#40;#41;, url#41;; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; URLConnection uc = u.openConnection#40;#41;; nbsp; nbsp;nbsp; nbsp;set_cookie#40;uc#41;; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; String charset = get_charset#40;uc.getContentType#40;#41;#41;; Then I tried to change String charset = get_charset#40;uc.getContentType#40;#41;#41;; to String charset = get_charset#40;'UTF-8'#41;; but I didn't have enough knowledge to compile it (required java classes). I really do not understand why this characters are correctly displayed under linux and incorrectly under windows. As it would use OS environment variables. Maybe there is some other java parameter to set? Maybe some perl CGI uses wrong character set? Or maybe there is some javascript (Ajax?) posting filenames tho this applet? Does anyone have the same problem? Does anyone have a solution for this? Can anyone at least explain how java applet »threechooser.class« is obtaining filenames? Thanks in advance. Lado :))) I finaly managed to find the solution. I had to change file list.cgi which treechooser is using to get file names. I had to replace print Content-type#58; text/plain\n\n with print Content-type#58; text/plain; charset=UTF-8\n\n +-- |This was sent by lado.lan...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
DAve wrote: Ran dbcheck, found several paths to correct and also orphaned files. dbcheck results, second run, everything looks good. Select function number: 16 Checking for Filenames with a trailing slash Found 0 bad Filename records. Checking for Paths without a trailing slash Found 0 bad Path records. Checking for duplicate Filename entries. Found 0 duplicate Filename records. Checking for duplicate Path entries. Found 0 duplicate Path records. Checking for orphaned JobMedia entries. Checking for orphaned File entries. This may take some time! Checking for orphaned Path entries. This may take some time! Terminated Reran mysqlcheck as #mysqlcheck -q -r -uroot -p bacula Enter password: bacula.BaseFiles OK bacula.CDImagesOK bacula.Client OK bacula.CountersOK bacula.Device OK bacula.FileOK bacula.FileSet OK bacula.FilenameOK bacula.Job OK bacula.JobMediaOK bacula.LocationOK bacula.LocationLog OK bacula.Log OK bacula.Media OK bacula.MediaType OK bacula.PathOK bacula.PoolOK bacula.Status OK bacula.Storage OK bacula.UnsavedFilesOK bacula.Version OK I will see what happens tonight. DAve No change, same error. 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20604 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Error: Bacula 2.0.3 (06Mar07): Baffling. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Hi, 30.10.2009 11:56, James Harper wrote: -Original Message- From: Ralf Gross [mailto:r...@stz-softwaretechnik.de] On Behalf Of Ralf Gross Sent: Friday, 30 October 2009 21:47 To: James Harper Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula features James Harper schrieb: Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. Multile tapes is no problem, but I don't think bacula can switch drives during a backup job or write to multiple drives in parallel. I haven't seen an option for that. Hmmm... to be honest I have never had cause to find out, but I have seen bacula fill up a disk and ask for another volume. The autochanger script should just take care of the rest. I agree with James... from Baculas point of view, the volume files don't matter, just the place where it finds them is important. And that doesn't change. At least that's how I understand vchanger works. Quite similar to tapes - you access the tape with a constant name, but which tape is in the tape drive is independent from the tape drive's name. I guess I'll have to try vchanger some day :-) Arno James -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. I believe vchanger with each drive being a magazine would do this but it would also require user intervention unless both drives were connected at the same time. http://sourceforge.net/projects/vchanger/ John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backing up databases - mysql mssql
On Thu, Oct 29, 2009 at 6:27 PM, James Harper james.har...@bendigoit.com.au wrote: Hello, I'm trying to backup the mysql and mssql databases to a file and then let bacula backup the actual folder where my files are stored. ... Now I need to backup mssql, I tried using its tool but the backup file is too big and I can't fit two backups into a harddrive. (uncompressed 200gb) (gz 2GB). I would like to setup a script that will start backing up the mssql database and pipe that through a gz program (7zip in windows 2000 for example) so that there is no intermediate step. somecommand backup all 7z.exe outputfile.gz ?? Is that possible. Would anybody have a script ready that they use? Can full, and differential backup be done with it? At this time the two options you have are: 1. Let VSS do its thing. This is _only_ reliable for a full backup. Incremental and differential backups will not do what you expect - if the .mdb file has changed since last backup it will be backed up, otherwise it will not, and database updates do not always result in a filesystem-visible change of the .mdb file. You also can't do point in time restores etc using this method, only snapshot backups. 2. As you are already doing, back up the database and logs to files. If you back up to a file and then back the file up using bacula then you really don't need more than one backup on disk. If you want more, plug in a USB disk and do the mssql backups to that. My biggest issues is the space usage. Right now I would have to backup 200GB to a file, then compress it to 2gb, delete the 200gb file. If you do that every day that is extremely heavy on hdd. Is there a better way for mssql? Thanks, Lucas -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
On Fri, Oct 30, 2009 at 9:22 AM, John Drescher dresche...@gmail.com wrote: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. I believe vchanger with each drive being a magazine would do this but it would also require user intervention unless both drives were connected at the same time. http://sourceforge.net/projects/vchanger/ BTW, what I mean by user intervention is that after plugging in the second drive the user would have to update slots so that the virtual slots on the second drive become known to bacula. Autofs can take care of the automatic mounting, however I am having some problems with this and the vchanger using the new UUID method. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Arno Lehmann schrieb: Hi, 30.10.2009 11:56, James Harper wrote: -Original Message- From: Ralf Gross [mailto:r...@stz-softwaretechnik.de] On Behalf Of Ralf Gross Sent: Friday, 30 October 2009 21:47 To: James Harper Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula features James Harper schrieb: Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. Multile tapes is no problem, but I don't think bacula can switch drives during a backup job or write to multiple drives in parallel. I haven't seen an option for that. Hmmm... to be honest I have never had cause to find out, but I have seen bacula fill up a disk and ask for another volume. The autochanger script should just take care of the rest. I agree with James... from Baculas point of view, the volume files don't matter, just the place where it finds them is important. And that doesn't change. At least that's how I understand vchanger works. Quite similar to tapes - you access the tape with a constant name, but which tape is in the tape drive is independent from the tape drive's name. I guess I'll have to try vchanger some day :-) Maybe I wasn't clear what I meant. I meant that it's not possible for one job to write to multiple (tape) drives simultaneously at the same time. Ralf -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SD connect to FD?
Hello, It is possible to get the SD to connect out to the FD for a single FD? I have a single FD outside of the network that bacula runs on and this FD is behind NAT for the rest of the network. I could start natting connections into the network that are from this host but it would be better if I could get the SD to connect out of the NAT and to the FD service. Both my SD and DIR are on the same network behind this NAT. Cheers, Matt. signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula FD 2.0.x and Bacula DIR/SD 3.0.x
Can they work together, I've got a FD that is 2.0.x and is giving me authentication errors when I connect to it using bconsole. I don't want to start troubleshooting, if there is no fix other than compiling a v3 FD. --- Kind Regards, Mr Gabriel -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Hmmm... to be honest I have never had cause to find out, but I have seen bacula fill up a disk and ask for another volume. The autochanger script should just take care of the rest. I agree with James... from Baculas point of view, the volume files don't matter, just the place where it finds them is important. And that doesn't change. At least that's how I understand vchanger works. Quite similar to tapes - you access the tape with a constant name, but which tape is in the tape drive is independent from the tape drive's name. I guess I'll have to try vchanger some day :-) Maybe I wasn't clear what I meant. I meant that it's not possible for one job to write to multiple (tape) drives simultaneously at the same time. That's not what I am asking to do. I just need to be able to swap hard drives when one gets full during the backup. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula FD 2.0.x and Bacula DIR/SD 3.0.x
I think I am correct in saying that I read somewhere on the Bacula site or documentation that you need a 3.x client for 3.x DIR/SD. Thomas On Friday 30 October 2009 10:15:01 Gabriel - IP Guys wrote: Can they work together, I've got a FD that is 2.0.x and is giving me authentication errors when I connect to it using bconsole. I don't want to start troubleshooting, if there is no fix other than compiling a v3 FD. --- Kind Regards, Mr Gabriel -- == Thomas McMillan Grant Bennett Appalachian State University Operations Systems AnalystP O Box 32026 University LibraryBoone, North Carolina 28608 (828) 262 6587 Library Systems Help Desk: https://www.library.appstate.edu/help/ == -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunBeforeJob - spaces in pathnames on Windows. ARGH...Help (again/more)?
Gary R. Schmidt wrote: On Fri, October 30, 2009 01:43, Sean M Clark wrote: [...] The problem is, I could never manage to get ClientRunBeforeJob to correctly pass the full pathname with spaces in it [...] able to get Client Run Before Job = \D:\\Documents and Settings\\me\\My Documents\\ntbackup.exe\ backup systemstate /F D:\\systemstate.bkf Works for me. I just tested it, to be sure Works fine in 3.0.2, Solaris 10 x64, built with Sun Studio as a server, Windows XP SP2 as the client. Just re-read - don't mix / and \ as delimiters on Windows, it confuses the puir wee beastie. Well - using exactly your format gets me one step closer, but still the same problem: The entry in the .conf file: ClientRunBeforeJob = \C:\\Program Files\\Symantec\\Symantec Endpoint Protection\\Smc.exe\ -stop -p InsertSecretPasswordHere The error: 30-Oct 09:32 client-fd JobId 20921: shell command: run ClientRunBeforeJob C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -stop -p InsertSecretPasswordHere 30-Oct 09:32 client-fd JobId 20921: ClientRunBeforeJob: 'C:\PROGRA~1\Symantec\Symantec' is not recognized as an internal or external command, 30-Oct 09:32 client-fd JobId 20921: ClientRunBeforeJob: operable program or batch file. 30-Oct 09:32 client-fd JobId 20921: Error: Runscript: ClientRunBeforeJob returned non-zero status=1. ERR=Unknown error 30-Oct 09:30 bacula-dir JobId 20921: Fatal error: Bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore , got 2905 Bad RunBeforeJob command. The fact that it gets past 'C:\Program' is not a valid (blah blah blah' is an improvement, but now it's throwing a tantrum over the spaces deeper in the path. Oddly, ANY change I try making to the line (so far) - including even just enclosing the whole thing including the parameters in \ rather than just the path to the executable, as well as trying to explicitly escape the spaces in Symantec\\ Endpoint\\ Protection goes back to the original error: ClientRunBeforeJob: 'C:\Program' is not recognized as an internal or external command Is this just plain a bug in bacula-fd.exe or bacula=dir parsing the RunBeforeJob entry? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
3. Maintain a virtual fileysystem so all snapshots look like a single backup volume to the user. Well - here it would probably help if you knew more about Bacula already :-) When doing a restore Bacula can present you with an overview of all the files backed up from a certain machine, so this is kind of like a virtual file system. This is presented to the user in the Bacula console program or the BAT gui. At the selecting stage of a restore, you don't have to know anything about volumes and what is stored where, so I guess your requirement is covered. So, IOW, one selects a snapshot from, say, June 30, and Bacula automatically restores the selected files which were on the machine that day, is that correct? 4. Maintain an easily monitored index so the user can see which drive will be needed for a particular backup or restore operation. For restores, you get a list of needed volumes, and Bacula asks for a volume change or load if it's required. How does Bacula identify each required disk to the user? There are several tools and procedures to achieve that. Note that Bacula does not write to raw disks, but creates regular files as volumes it uses, so you can use the OS tools like udev or automounter to get disks mounted when attached, which is what the above mentioned tools rely on. So I take it the user must umount the drive before yanking it? Bacula won't do it automatically? If so, this presents an interesting failure mode. Say one intends to mount the drive to /Backup, but for some reason the backup fails and the user is not aware of it. It sounds to me, then, like Bacula might blissfully fill up the root drive, orphaning a chunk of the backup stream in the process, and possibly even crashing the system. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] weekly backup on 2 external hard disks
Hi John, After that I would adjust my scheduling to run the full backups on Friday night so that after a change Full backups will be made. That's exactly what I want to avoid. I would like to: Do a full backup twice (once per HDD) per year and daily increment otherwise. In the same time I want to be able to do a full restore from 1 HDD. I dont' understand fully how would vchanger be helpfull in this. Isn't it enough to create 2 pools - one per HDD and schedule the backups on different pools? Martin -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] weekly backup on 2 external hard disks
You could probably do this with 4 pools. Each drive would contain volumes in two pools, one for full backups and one for incremental backups. For each client there would be two jobs, one backing up to drive 1 using pools "full1" and "incremental1" and another backing up to drive 2 using pools "full2" and "incremental2". The two jobs for each client would use two different schedules so that the jobs run on opposite weeks. A schedule for odd weeks of the month might use something like Run = Level=Incremental 1st,3rd,5th sun-sat at 21:00. Only schedule the daily incrementals, and then run the yearly full backups manually. Good idea, that's exactly what I was looking for. I have implemented it as You have suggested. I will see if it will work. I have created only 2 pools - full and increments are going to a one pool. EvenPool OddPool A year sounds like a long time between full backups. With 180 odd incrementals for each client you'll likely run out of disk space on a USB drive and defeat the purpose. With differential backups run every now and then, you could delete the no longer needed incrementals and consolidate space. The disks are real 3,5" 0,5 TB, so it won't get full so easy. The USB is used only for connecting the HDDs to a SD server. As long as I have 2 equal HDDs, I think the increments are at safe place - Data are on 3 places (original, even backup and odd backup). M -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
It sounds to me, then, like Bacula might blissfully fill up the root drive, orphaning a chunk of the backup stream in the process, and possibly even crashing the system. This would be easily preventable. Just put a folder on the removable drive so if the drive is not mounted at it's mountpount that folder will not exist on the root filesystem. Johjn -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula v3 on older systems
I've just completed the installation and setup of a Bacula based backup system, and I'm happy with everything so far. I have two legacy machines, one running FC6, and one running FC3. I wish to build RPM's for these systems, but is there anyway I can do this without having to upgrade any other aspects of those systems? --- Kind Regards, Mr Gabriel -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula FD 2.0.x and Bacula DIR/SD 3.0.x
Thomas Bennett schrieb: I think I am correct in saying that I read somewhere on the Bacula site or documentation that you need a 3.x client for 3.x DIR/SD. Thomas On Friday 30 October 2009 10:15:01 Gabriel - IP Guys wrote: Can they work together, I've got a FD that is 2.0.x and is giving me authentication errors when I connect to it using bconsole. I don't want to start troubleshooting, if there is no fix other than compiling a v3 FD. --- Kind Regards, Mr Gabriel AFAIK no. Old Clients are compatible to new SD/DIR versions (so you do not have to upgrade 500+ clients at the same time), but new clients are not necessarily compatible to old SD/DIR versions. Using a 2.4x FD should usually work with a 3.x SD/DIR as long as you do not use new functions -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem restoring with bat
Hi, I'm having problem restoring files with bat I select a file, then, click restore select where I want to restore (I don't specify a bootstrap file name) then I click ok. On console I can see a bootstrap file is created in /var/lib/bacula/127.0.0.1-dir.restore.xx.bsr (xx increments on each restore) but restore job ends with fatal error can't open bootstrap file (ERR= no such file) When restoring files with bconsole there is no problem. How may I force bat to use automagically the bootstrap file it created ? thanks -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Arno Lehmann wrote: Hi, 30.10.2009 11:56, James Harper wrote: -Original Message- From: Ralf Gross [mailto:r...@stz-softwaretechnik.de] On Behalf Of Ralf Gross Sent: Friday, 30 October 2009 21:47 To: James Harper Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula features James Harper schrieb: Arno Lehmann schrieb: 30.10.2009 07:24, Leslie Rhorer wrote: 2. Span multiple target drives Sure. I'm not sure if he might has thought of a single backup job spanning multiple drives. This wouldn't be possible AFAIK. It should work afaict. It certainly works with multiple tapes. Multile tapes is no problem, but I don't think bacula can switch drives during a backup job or write to multiple drives in parallel. I haven't seen an option for that. Hmmm... to be honest I have never had cause to find out, but I have seen bacula fill up a disk and ask for another volume. The autochanger script should just take care of the rest. I agree with James... from Baculas point of view, the volume files don't matter, just the place where it finds them is important. And that doesn't change. At least that's how I understand vchanger works. Well, that's how Bacula itself works. In bacula-sd.conf you set the ArchiveDevice to a particular device node for a real tape drive, or a particular directory path for File type storage, or to a particular device node for a Device resource that is part of an Autochanger resource. Once a Device resource is assigned to a job, the job will use only that Device resource, and therefore whatever device node or path that is given by the ArchiveDevice directive. When the volume in that Device becomes full, Bacula will ask the operator to insert a new volume. Or, if the Device is part of an Autochanger, then it will invoke the autochanger script (or program) to ask the robot to insert a new volume. So Bacula will ask for new volumes to be inserted into the particular Device assigned to the job, but it will never ask for a volume on another Device resource. This is by design, I think to prevent deadlock situations when concurrent jobs are running. A disk autochanger differs from a tape autochanger in two major ways. The first is that the ArchiveDevice for the associated Device resource(s) is set to the path to a symlink, as opposed to a device node. The second is that the DeviceType is set to File rather than to Tape. The second difference is only so the Storage Daemon knows to open the ArchiveDevice as a regular file, rather than as a tape drive, since they of course use different device drivers for i/o. The actual reading/writing of data to the volume is the same as far as Bacula is concerned. It is only the selection of the device driver during the open() that is different. This is the beauty of Unix. Everything is a file. It is the device driver's problem to get the bytes to/from the physical media. Since the ArchiveDevice for a disk autochanger is a symlink, the autochanger script can load a volume into the Device by setting the symlink to point to the requested volume, which is just a regular file. The regular file can be located anywhere. Bacula only needs to know where the symlink is. Quite similar to tapes - you access the tape with a constant name, but which tape is in the tape drive is independent from the tape drive's name. I guess I'll have to try vchanger some day :-) It performs the same function as the disk-changer shell script that ships with Bacula, but with some enhancements. Removable drives are treated as magazines containing some number of volume files. An autochanger has some number of magazine bays into which magazine drives can be inserted. Each magazine has the same number of slots. The total number of autochanger slots is the number of bays times the number of slots per magazine. There can be any number of virtual drives (= the number of virtual slots). The virtual drive (ie. ArchiveDevice) can be loaded from any of the magazines currently inserted into one of the bays. Removable drives acting as magazines can be assigned to the autochanger by filesystem UUID. This allows for a simple autofs map that makes swapping drives pretty much plug-n-play, at least on systems with udev (or Windows). You still have to issue an update slots in bconsole to tell Bacula which volumes are in which slots, but it makes the operation at least as simple as changing a tape magazine. Currently, it works with Linux, and works on Windows invoking it manually, though I've never tried it with a Windows version of Bacula SD. As is, it doesn't yet compile cleanly on FreeBSD, though one user has gotten it to work with some tweaks. I don't have a FreeBSD development environment, nor much knowledge of FreeBSD for that matter. Arno James
Re: [Bacula-users] weekly backup on 2 external hard disks
Mgr. Martin Fabuš wrote: You could probably do this with 4 pools. Each drive would contain volumes in two pools, one for full backups and one for incremental backups. For each client there would be two jobs, one backing up to drive 1 using pools full1 and incremental1 and another backing up to drive 2 using pools full2 and incremental2. The two jobs for each client would use two different schedules so that the jobs run on opposite weeks. A schedule for odd weeks of the month might use something like Run = Level=Incremental 1st,3rd,5th sun-sat at 21:00. Only schedule the daily incrementals, and then run the yearly full backups manually. Good idea, that's exactly what I was looking for. I have implemented it as You have suggested. I will see if it will work. I have created only 2 pools - full and increments are going to a one pool. EvenPool OddPool I don't think that will do what you want. The reason for 4 pools is to keep the incrementals on drive 1 relative to the fulls on drive 1, and the incrementals on drive 2 relative to the fulls on drive 2. If you have only 2 pools, then the incrementals will be relative to the last full backup, regardless of which drive the last full backup was written to. Similarly, the reason for 2 jobs for each client is because one job writes only to disk 1 and the other only to disk 2. That way a restore will only require 1 drive. A year sounds like a long time between full backups. With 180 odd incrementals for each client you'll likely run out of disk space on a USB drive and defeat the purpose. With differential backups run every now and then, you could delete the no longer needed incrementals and consolidate space. The disks are real 3,5 0,5 TB, so it won't get full so easy. The USB is used only for connecting the HDDs to a SD server. As long as I have 2 equal HDDs, I think the increments are at safe place - Data are on 3 places (original, even backup and odd backup). M -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Allow SpoolData=no on the job level to override a schedule's setting
I've recently enabled spooling on a storage director by turning it on in the Director and Storage sections of the dir's config. I've also enabled it in the schedules where it should be. However, for a particular schedule there is one job which I do not want to spool because it's coming locally from the storage daemon to tape. I've set SpoolData = no in the job, but this doesn't help. It appears that this is overwritten by the schedule's SpoolData=yes setting. Is the only solution to NOT set the spooling flag in the schedule, and instead set it in every Job? This seems counter-intuitive, but it may make sense in other circumstances. If there's no other way, would anyone else find a patch to allow job spooling settings to override those of a schedule? Perhaps an OverrideScheduleSpooling directive could be used... Thanks, Steve -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
-Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, October 30, 2009 10:19 AM To: Leslie Rhorer Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula features It sounds to me, then, like Bacula might blissfully fill up the root drive, orphaning a chunk of the backup stream in the process, and possibly even crashing the system. This would be easily preventable. Just put a folder on the removable drive so if the drive is not mounted at it's mountpount that folder will not exist on the root filesystem. Johjn Hey! I never thought of that. You're right, of course. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
It performs the same function as the disk-changer shell script that ships with Bacula, but with some enhancements. Removable drives are treated as magazines containing some number of volume files. An autochanger has some number of magazine bays into which magazine drives can be inserted. I don't think an auto-changer script would be useful for me. I'm only going to have one external hot-swap slot. Back to one of my original questions, though: how does Bacula identify a particular backup drive to the user? Suppose, for example, a requested restore requires drive #7 of a 10 drive backup set. How does Bacula identify the drive to the user? How does it know and what does it do if the user inserts the wrong drive? (Obviously, part of the answer to the latter is the necessary information won't be on the drive, but surely it doesn't have to scan the entire drive to find that out?) Each magazine has the same number of slots. The total number of autochanger slots is the number of bays times the number of slots per magazine. There can be any number of virtual drives (= the number of virtual slots). The virtual drive (ie. ArchiveDevice) can be loaded from any of the magazines currently inserted into one of the bays. Removable drives acting as magazines can be assigned to the autochanger by filesystem UUID. This allows for a simple autofs map that makes swapping drives pretty much plug-n-play, at least on systems with udev (or Windows). You still have to issue an update slots in bconsole to tell Bacula which volumes are in which slots, but it makes the operation at least as simple as changing a tape magazine. You lost me a little, here. This portion makes it sound as if the autochanger might be useful for a hot-swappable drive, but I'm not quite seeing the whole picture - or its advantages. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
On Fri, Oct 30, 2009 at 1:59 PM, Leslie Rhorer lrho...@satx.rr.com wrote: It performs the same function as the disk-changer shell script that ships with Bacula, but with some enhancements. Removable drives are treated as magazines containing some number of volume files. An autochanger has some number of magazine bays into which magazine drives can be inserted. I don't think an auto-changer script would be useful for me. I'm only going to have one external hot-swap slot. Back to one of my original questions, though: how does Bacula identify a particular backup drive to the user? Suppose, for example, a requested restore requires drive #7 of a 10 drive backup set. How does Bacula identify the drive to the user? How does it know and what does it do if the user inserts the wrong drive? (Obviously, part of the answer to the latter is the necessary information won't be on the drive, but surely it doesn't have to scan the entire drive to find that out?) To get recycling to work most likely your hard drive will need to be divided into multiple volumes or you can do this with 3 or more hard drives each containing 1 volume. The vdisk changer will help in the case where you have few hard drives with multiple volumes on them. In this case each drive can be considered an autochanger magazine containing a fixed number of volumes. When you swap out drives, you tell bacula by the update slots command. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore job don't know in which storage is the volume
Hello Masters.. I have a small problem with bacula (2.4.2) and a restore job.. My structure is very simples, one director and 2 storages. Some servers backup your files on storage1 and other servers on the storage2. the problem is that when I run the restore job (command restore in console), all work fine until I select the files and go to next step, look: (any irrelevant part are deleted) == *restore Automatically selected Catalog: MyCatalog Using Catalog MyCatalog To select the JobIds, you have the following choices: 1: List last 20 Jobs run [...] 11: Enter a list of directories to restore for found JobIds 12: Cancel Select item: (1-12): 5 Defined Clients: 1: proxy-fd 2: pink-fd 3: fds2-fd 4: blue-fd [...] 125: bacula-st1-fd 126: red-fd 127: gridapps-fd Select the Client (1-27): 4 The defined FileSet resources are: 1: Linux-Oracle-ARCs 2: Linux-Oracle-HOTBACKUP 3: Linux-Servers Select FileSet resource (1-3): 2 ++---+--++-+--+ | jobid | level | jobfiles | jobbytes | starttime | volumename | ++---+--++-+--+ | 16,777 | F | 38,540 | 15,077,758,132 | 2009-10-30 04:30:02 | oracle-completo-0901 | ++---+--++-+--+ You have selected the following JobId: 16777 Building directory tree for JobId 16777 ... +++ 1 Job, 36,519 files inserted into the tree. [...] cwd is: / $ ls opt/ usr/ var/ $ mark usr 4 files marked. $ done Storage not found, using Storage Storage0 from MediaType File. Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === oracle-completo-0901 4 files selected to be restored. Run Restore job JobName: Restaurar Bootstrap: /var/lib/bacula/bacula-dir.restore.2.bsr Where: /tmp/bacula-restores Replace: always FileSet: Completo Backup Client: blue-fd Restore Client: blue-fd Storage: Storage0 When:2009-10-30 15:51:23 Catalog: MyCatalog Priority:10 OK to run? (yes/mod/no): == If I select yes... bacula show this message: == 30-Oct 15:13 bacula-sd JobId 16787: Please mount Volume oracle-completo-0901 for: Job: Restaurar.2009-10-30_15.13.09 Storage: FileStorage (/var/bacula) Pool: Default Media type: File == because the volumen isn't on storage0, but yes on storage1. well.. IMHO, the problem is in this line: -- Storage not found, using Storage Storage0 from MediaType File. Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr -- why bacula, don't know in which local/storage it saved the volume and try to use the storage0 for default ?? I my case, I have only two storage, but if I have more storages ??? will be need select one for one to locate which storage have the volumen ??? My restore job on director is: == Job { Name = Restaurar Type = Restore Client = bacula-fd FileSet=Completo Storage = Storage0 Pool = Default Messages = Standard Where = /tmp/bacula-restores } == understand my problem??? there a workaround? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Auto-labeling of media
Hi, We are using Bacula for local backup, to local hard disks. I am looking into some sort of remote system, where I can copy files there for backup. I'd like to be able to have Bacula open a new disk file, and automatically label it with a sequential number for every backup. This way I can use rsync to sync the directories between the local system and the remote system. Is there any way to do this? JBB -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
Leslie Rhorer wrote: It performs the same function as the disk-changer shell script that ships with Bacula, but with some enhancements. Removable drives are treated as magazines containing some number of volume files. An autochanger has some number of magazine bays into which magazine drives can be inserted. I don't think an auto-changer script would be useful for me. I'm only going to have one external hot-swap slot. Back to one of my original questions, though: how does Bacula identify a particular backup drive to the user? Suppose, for example, a requested restore requires drive #7 of a 10 drive backup set. How does Bacula identify the drive to the user? How does it know and what does it do if the user inserts the wrong drive? (Obviously, part of the answer to the latter is the necessary information won't be on the drive, but surely it doesn't have to scan the entire drive to find that out?) It doesn't identify drives. It identifies volumes that are needed. Backups are made to volumes, which on disk are regular files on a filesystem partition, not the raw drive. So, for example, if you had 3 volumes on each drive then you might name them drive01vol1, drive01vol2, and drive01vol3 for drive 1, drive02vol1, drive02vol2, and drive02vol3 for drive 2, and etc. When Bacula asked to mount a volume labeled 'drive07vol2' you would then know that it was on drive 7. If you put the wrong drive in, then it would not contain volume 'drive07vol2' and Bacula would complain. Each magazine has the same number of slots. The total number of autochanger slots is the number of bays times the number of slots per magazine. There can be any number of virtual drives (= the number of virtual slots). The virtual drive (ie. ArchiveDevice) can be loaded from any of the magazines currently inserted into one of the bays. Removable drives acting as magazines can be assigned to the autochanger by filesystem UUID. This allows for a simple autofs map that makes swapping drives pretty much plug-n-play, at least on systems with udev (or Windows). You still have to issue an update slots in bconsole to tell Bacula which volumes are in which slots, but it makes the operation at least as simple as changing a tape magazine. You lost me a little, here. This portion makes it sound as if the autochanger might be useful for a hot-swappable drive, but I'm not quite seeing the whole picture - or its advantages. Indeed, it is primarily for hot-swappable drives such as USB, 4-drive hot-swap SATA enclosures, etc. It also allows multiple virtual drives, which is useful when multiple pools are used to run multiple concurrent jobs. Rather than having to specify which jobs use which devices, all jobs use the same autochanger device. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Auto-labeling of media
-- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Fri, Oct 30, 2009 at 4:07 PM Subject: Re: [Bacula-users] Auto-labeling of media To: Jonathan Bayer jba...@regiscope.com On Fri, Oct 30, 2009 at 3:21 PM, Jonathan Bayer jba...@regiscope.com wrote: Hi, We are using Bacula for local backup, to local hard disks. I am looking into some sort of remote system, where I can copy files there for backup. I'd like to be able to have Bacula open a new disk file, and automatically label it with a sequential number for every backup. This way I can use rsync to sync the directories between the local system and the remote system. Is there any way to do this? Yes. This sounds pretty basic. Use Volume Once = yes http://www.bacula.org/en/rel-manual/Automatic_Volume_Recycling.html Along with automatic volume labeling http://www.bacula.org/en/dev-manual/Basic_Volume_Management.html#SECTION001212000 John -- John M. Drescher -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
DAve wrote: No change, same error. 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20604 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Error: Bacula 2.0.3 (06Mar07): Baffling. You might be running out of disk space on /tmp or /var or wherever the DB engine writes its temp tables. The important thing is that you will probably only see this condition WHILE bacula is actually trying to update the database. If you check it now, you will probably find you have plenty of space -- don't let that fool you. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
Cedric Tefft wrote: DAve wrote: No change, same error. 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20604 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Error: Bacula 2.0.3 (06Mar07): Baffling. You might be running out of disk space on /tmp or /var or wherever the DB engine writes its temp tables. The important thing is that you will probably only see this condition WHILE bacula is actually trying to update the database. If you check it now, you will probably find you have plenty of space -- don't let that fool you. Interesting idea. When that client is running I have a another very large job that starts before, and ends after. I will check that out, though I have never seen this with MySQL. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule question.
Ronan Eckelberry wrote: Hi guys, Quick scheduling question. I want to run Fulls 1st of every 3rd month and Incrementals on 2nd-31st. I think the incremental part is easy, but does anyone know of a good way to specify the Fulls? Looking for something to do the following: FULL Jan1, Apr1, July1, Oct1, etc incrementals every 2-31sth day Can I do comma separated? Something like: Run = Level=Full on 1, 4, 7, etc at 2:05 I'm sure someone has a schedule like this somewhere. ;) Any help would be appreciated. Run = Level=Full jan,apr,jul,oct 1 at 2:05 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SD connect to FD?
Matt Richards wrote: Hello, It is possible to get the SD to connect out to the FD for a single FD? I have a single FD outside of the network that bacula runs on and this FD is behind NAT for the rest of the network. I could start natting connections into the network that are from this host but it would be better if I could get the SD to connect out of the NAT and to the FD service. Both my SD and DIR are on the same network behind this NAT. Cheers, Matt. No. The FD connects to the SD. That's just how Bacula is designed. There is no way to change it without altering the code (as far as I know). -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backing up databases - mysql mssql
My biggest issues is the space usage. Right now I would have to backup 200GB to a file, then compress it to 2gb, delete the 200gb file. If you do that every day that is extremely heavy on hdd. Is there a better way for mssql? Thanks, Lucas In your original post, you proposed the idea of piping the generated dump file directly through the compressor: somecommand backup all 7z.exe outputfile.gz ?? I assume you used 'somecommand' because you don't know what/if there is a tool to dump a MSSQL database to STDOUT. But isn't that question more appropriate for a MSSQL forum than a Bacula forum? - Cedric P.S. If you get that far, the pipe symbol is |, not . -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula v3 on older systems
Gabriel - IP Guys wrote: I’ve just completed the installation and setup of a Bacula based backup system, and I'm happy with everything so far. I have two legacy machines, one running FC6, and one running FC3. I wish to build RPM’s for these systems, but is there anyway I can do this without having to upgrade any other aspects of those systems? Sure. Build the RPMs on boxes running FC3 and FC6. But really, if it's just these two boxes, I'm not sure if it's worth your while to build RPMS. Why not just compile Bacula from source directly on those clients? They'll need gcc, make, and some other build tools, of course, all of which are included in Fedora. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Allow SpoolData=no on the job level to override a schedule's setting
Steve Polyack wrote: I've recently enabled spooling on a storage director by turning it on in the Director and Storage sections of the dir's config. I've also enabled it in the schedules where it should be. However, for a particular schedule there is one job which I do not want to spool because it's coming locally from the storage daemon to tape. I've set SpoolData = no in the job, but this doesn't help. It appears that this is overwritten by the schedule's SpoolData=yes setting. Is the only solution to NOT set the spooling flag in the schedule, and instead set it in every Job? This seems counter-intuitive, but it may make sense in other circumstances. As far as I know, options given in the schedule always override options given in the job defs. You could, as you suggest, set it in every job and make no mention of it in the schedule. Another possibility is to create a different schedule for the job(s) where you want spooling turned off. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
DAve wrote: Cedric Tefft wrote: DAve wrote: No change, same error. 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20604 30-Oct 07:09 director-dir: Allied-ex3.2009-10-30_01.00.02 Error: Bacula 2.0.3 (06Mar07): Baffling. You might be running out of disk space on /tmp or /var or wherever the DB engine writes its temp tables. The important thing is that you will probably only see this condition WHILE bacula is actually trying to update the database. If you check it now, you will probably find you have plenty of space -- don't let that fool you. Interesting idea. When that client is running I have a another very large job that starts before, and ends after. I will check that out, though I have never seen this with MySQL. DAve My /tmp dir had but 300mb left. The client that is backing up, when the failing backup starts, has 192GB of data and tens of thousands of files. I changed the mysql tmp dir to another spindle which has 90gb left. It is also a different spindle than the logs and the database. We will see at 1am. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
To get recycling to work most likely your hard drive will need to be divided into multiple volumes That doesn't sound very efficient. or you can do this with 3 or more hard drives each containing 1 volume. The vdisk changer will help in the For testing purposes only, I will be using maybe two or three different sized hard drives, all 1T or less. Once it goes into production, the backup set will be at least 10 - 20 drives, perhaps more. The array will soon exceed 10T, and I expect it to be beyond 20T by Q1 or Q2 2011. While the main array will hopefully soon be composed of all 3T drives, the backup set does not need to be (and probably won't be) composed all of drives of a uniform size, and when I purchase a drive to augment the set, it will be the drive with the best cost / byte. Sometimes this will be a 1T, or often a 1.5T. Assuming 2 T drive prices continue to fall, there may even be some 2T drives in the mix, and maybe even eventually some 3T drives. Forcing uniform configurations (such as partitions) on the drives will not be effective case where you have few hard drives with multiple volumes on them. In this case each drive can be considered an autochanger magazine containing a fixed number of volumes. When you swap out drives, you tell bacula by the update slots command. What, exactly, do you mean by swap out drives? There will never be more than one backup hard drive online at any given time. When you say swap out a drive, do you mean, take one offline and bring another online, or do you mean, erase the contents of a drive to free it up for use by newer backup sets? This system is primarily a video server, so the latter will rarely, if ever, happen except when starting fresh with a brand new full backup. Out of 8T (eventually probably over 30T), only a few megabytes worth of files will ever undergo modification, so the incremental data will take a very, very long time to overflow even a 1T drive. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] simple (?) mount/unmount of USB storage device
Hi, I'm a long-term Bacula user, having used it for file and DVD volume backups in the past. I'm scratching my head over what seems like a really simple requirement, but I can't for the life of me figure it out right now. I have a large external USB drive on which I want to write file volumes, by mounting it as /var/lib/bacula/media I have everything working to create and rotate files in the /var/lib/bacula/media directory, but I want to leave the drive unmounted (and thereby less liable to corruption) as often as possible, so that bacula-sd mounts it as /var/lib/bacula/media to do the backup, and umounts it when the backup is finished. I've been messing around with the autochanger scripts, but just don't understand them enough to put something this simple together. Anybody out there have a suggestion for what to do? Thanks, -- Michael FIG mich...@fig.org //\ http://michael.fig.org/\// -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
I will try to comment on the first part at a later time. What, exactly, do you mean by swap out drives? There will never be more than one backup hard drive online at any given time. When you say swap out a drive, do you mean, take one offline and bring another online, or do you mean, erase the contents of a drive to free it up for use by newer backup sets? This system is primarily a video server, so the latter will rarely, if ever, happen except when starting fresh with a brand new full backup. Out of 8T (eventually probably over 30T), only a few megabytes worth of files will ever undergo modification, so the incremental data will take a very, very long time to overflow even a 1T drive. I mean when a hard drive (which contains 1 or more bacula volumes) fills up with backup data you will need to install a different hard drive to continue your backup. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] simple (?) mount/unmount of USB storage device
On Thu, Oct 29, 2009 at 12:55 AM, Michael FIG mich...@fig.org wrote: Hi, I'm a long-term Bacula user, having used it for file and DVD volume backups in the past. I'm scratching my head over what seems like a really simple requirement, but I can't for the life of me figure it out right now. I have a large external USB drive on which I want to write file volumes, by mounting it as /var/lib/bacula/media I have everything working to create and rotate files in the /var/lib/bacula/media directory, but I want to leave the drive unmounted (and thereby less liable to corruption) as often as possible, so that bacula-sd mounts it as /var/lib/bacula/media to do the backup, and umounts it when the backup is finished. I've been messing around with the autochanger scripts, but just don't understand them enough to put something this simple together. Anybody out there have a suggestion for what to do? Check out autofs. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
It doesn't identify drives. It identifies volumes that are needed. Backups are made to volumes, which on disk are regular files on a filesystem partition, not the raw drive. So, for example, if you had 3 volumes on each drive then you might name them drive01vol1, drive01vol2, and drive01vol3 for drive 1, drive02vol1, drive02vol2, and drive02vol3 for drive 2, and etc. When Bacula asked to mount a volume labeled 'drive07vol2' you would then know that it was on drive 7. If you put the wrong drive in, then it would not contain volume 'drive07vol2' and Bacula would complain. OK, I think I've got it. Your use of the term volume is throwing me a little. I am used to the term meaning one or more storage media accessed as one logical device. In short, a volume is something which shows up as /dev/hdx, /dev/sdx, /dev/mdx, /dev/dmx, etc. Is the file name Bacula uses easily identifiable? IOW, if I name the volume drive01v01, will I see a file named something similar to drive01vol01 in the file system? I'm not sure I see any advantage to having multiple partitions on a drive for my application. Can multiple volumes reside in a single partition? Indeed, I am still not sure what the advantage for my situation would be for multiple backup volumes, unless each volume comprises a particular backup set done on a particular date? You lost me a little, here. This portion makes it sound as if the autochanger might be useful for a hot-swappable drive, but I'm not quite seeing the whole picture - or its advantages. Indeed, it is primarily for hot-swappable drives such as USB, 4-drive hot-swap SATA enclosures, etc. I see where it would be an advantage for a multiple drive enclosure, but I'm still not seeing it for a single drive enclosure. It also allows multiple virtual drives, which is useful when multiple pools are used to run multiple concurrent jobs. Rather than having to specify which jobs use which devices, all jobs use the same autochanger device. That's not going to be the case, here. I only have one array to back up, from one machine. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cluebies please, restore a disk to a win2K system
I've had a complete hardisk trashed in my win2k system and need to restore it from the last full and differential backups. Seems the console only works on defined filesets, so headscratch. Basically, what is the easiest way to restore D: drive? T.I.A. -- Terry Collins {:-)} Bicycles, Appropriate Technology, Natural Environment, Welding -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] simple (?) mount/unmount of USB storage device
Michael FIG wrote: Hi, I'm a long-term Bacula user, having used it for file and DVD volume backups in the past. I'm scratching my head over what seems like a really simple requirement, but I can't for the life of me figure it out right now. I have a large external USB drive on which I want to write file volumes, by mounting it as /var/lib/bacula/media I have everything working to create and rotate files in the /var/lib/bacula/media directory, but I want to leave the drive unmounted (and thereby less liable to corruption) as often as possible, so that bacula-sd mounts it as /var/lib/bacula/media to do the backup, and umounts it when the backup is finished. I've been messing around with the autochanger scripts, but just don't understand them enough to put something this simple together. Anybody out there have a suggestion for what to do? Thanks, An autochanger config is probably overkill. You can implement autofs as John already suggested, or you can use the Mount Command, Unmount Command (et. al.) directives in your Device resource: http://www.bacula.org/3.0.x-manuals/en/install/install/Storage_Daemon_Configuratio.html#SECTION0083 Mine looks like this: Device { Name = BackupDrive Media Type = File Archive Device = /media/backup/volumes Mount Point = /media/backup Mount Command = /bin/mount %m Unmount Command = /bin/umount %m Requires Mount = yes LabelMedia = yes Random Access = Yes AutomaticMount = yes RemovableMedia = yes AlwaysOpen = no Offline On Unmount = Yes } Note that there is a bug in 3.0.2 that prevents Bacula from calling the unmount command for file resources. It's fixed in the git repository, but I don't know if the fix made it into 3.0.3. - Cedric -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Installing Bacula
OK, I installed Bacula, but I am having problems installing the GUI. I am running Debian Lenny on an AMD Athlon 64 x 2. I installed Bacula using the KDE package Manager, but I don't see a .deb source for the gui. I downloaded the .tar source from bacula.org and used the instructions from the howto on bacula.org, but when I try to configure BAT, I get the following: Backup:/Backup/Server-Main/Downloads/Linux/Bacula/bacula-gui-3.0.3# ./configure --enable-bat --enable-client-only --with-qwt=/usr/lib/ configure: error: The Bacula source directory must be specified. Use --with-bacula=path -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
OK, I think I've got it. Your use of the term volume is throwing me a little. I am used to the term meaning one or more storage media accessed as one logical device. In short, a volume is something which shows up as /dev/hdx, /dev/sdx, /dev/mdx, /dev/dmx, etc. A volume, although is a tape or dvd it is not the same as a hard drive or mount. Bacula stores disk volumes as files. So on a hard drive you can have 1 or more bacula volumes. Is the file name Bacula uses easily identifiable? IOW, if I name the volume drive01v01, will I see a file named something similar to drive01vol01 in the file system? The file name of the volume is the same as the label. And the user can label their volumes either manually or automatically using a pattern. See: http://www.bacula.org/en/dev-manual/Basic_Volume_Management.html#SECTION001212000 I'm not sure I see any advantage to having multiple partitions on a drive for my application. You do not want multiple partitions. Can multiple volumes reside in a single partition? Yes. Indeed, I am still not sure what the advantage for my situation would be for multiple backup volumes, unless each volume comprises a particular backup set done on a particular date? You can do this if you want. You do not need multiple volumes per disk if the disk gets removed and a new one gets installed when the harddisk fills. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
31.10.2009 0:55, Leslie Rhorer kirjoitti: Is the file name Bacula uses easily identifiable? IOW, if I name the volume drive01v01, will I see a file named something similar to drive01vol01 in the file system? I'm not sure I see any advantage to having multiple partitions on a drive for my application. Can multiple volumes reside in a single partition? Indeed, I am still not sure what the advantage for my situation would be for multiple backup volumes, unless each volume comprises a particular backup set done on a particular date? The file in the disk will be named exactly what you specify: drive01vol01 if you so wish. Amount of Volumes is mostly about recycling. When Bacula recycles (frees old media to a new backup) it does so on volume basis. If it needs to wrote a volume again, it empties the whole volume, and starts writing again. If it's ok to flush a whopping 1TB-3TB at once, one volume per media might be OK. But smaller files (volumes) keep old data longer on the disk, at Bacula automatically manages the files (volumes), no matter how many of them are there. -- http://www.iki.fi/jarif/ You will be awarded some great honor. signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing Bacula
31.10.2009 1:44, Leslie Rhorer kirjoitti: OK, I installed Bacula, but I am having problems installing the GUI. I am running Debian Lenny on an AMD Athlon 64 x 2. I installed Bacula using the KDE package Manager, but I don't see a .deb source for the gui. I downloaded the .tar source from bacula.org and used the instructions from the howto on bacula.org, but when I try to configure BAT, I get the following: Backup:/Backup/Server-Main/Downloads/Linux/Bacula/bacula-gui-3.0.3# ./configure --enable-bat --enable-client-only --with-qwt=/usr/lib/ configure: error: The Bacula source directory must be specified. Use --with-bacula=path Looks like you need to download the Bacula main tarball too, extract it, and give its path to configure. -- http://www.iki.fi/jarif/ You will be awarded some great honor. signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Solved Re: Cluebies please, restore a disk to a win2K system
terryc wrote: I've had a complete hardisk trashed in my win2k system and need to restore it from the last full and differential backups. Seems the console only works on defined filesets, so headscratch. Basically, what is the easiest way to restore D: drive? Being confused with the resuts I was obtaining from searching, I sent the question to the list and in the wonderful ask the ether fashion, soon stumbled onto the solution. Bconsole, Restore, Option 7 (select files), set client, enter files and umm none available. Oh. Check client fileset and aaah, that is right. Stuff on d drive is reguarded as non-essential (only my docs and two specific sub-dirs are), so it isn't backed up. No problem as as it was mostly various free and trial games that problably would have been purged sometime in the future. Just hoping there wasn't some hard to find utility. -- Terry Collins {:-)} Bicycles, Appropriate Technology, Natural Environment, Welding -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
On Fri, Oct 30, 2009 at 8:11 PM, Leslie Rhorer lrho...@satx.rr.com wrote: You do not want multiple partitions. That's what I thought. Can multiple volumes reside in a single partition? Yes. 'Also what I thought. Indeed, I am still not sure what the advantage for my situation would be for multiple backup volumes, unless each volume comprises a particular backup set done on a particular date? You can do this if you want. I'll find out as I get more familiar with the app, I'm sure. Use volume once = yes http://www.bacula.org/en/rel-manual/Automatic_Volume_Recycling.html and label format http://www.bacula.org/en/dev-manual/Basic_Volume_Management.html#SECTION001212000 You do not need multiple volumes per disk if the disk gets removed and a new one gets installed when the harddisk fills. OK, excellent. 'Tons of great information. Thanks! You may also want to read this: http://www.bacula.org/en/rel-manual/Getting_Started_with_Bacula.html#SECTION0092 -- John M. Drescher -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
31.10.2009 2:19, Leslie Rhorer kirjoitti: Amount of Volumes is mostly about recycling. When Bacula recycles (frees old media to a new backup) it does so on volume basis. If it needs to wrote a volume again, it empties the whole volume, and starts writing again. If it's ok to flush a whopping 1TB-3TB at once, one volume per media might be OK. But smaller files (volumes) keep old data longer on the disk, at Bacula automatically manages the files (volumes), no matter how many of them are there. I think I am starting to see the potential strategies emerging. Since the vast bulk of the files are videos, perhaps one volume per drive until the entire full backup is complete, and then some number of smaller volumes on the last drive. As I said, the data on this array is highly static. The only files which change regularly are Quicken finance files and the e-mails in my IMAP server. We're talking less than 20M of data, here. Other than that, for the most part the only changes on the array are when I download a new application. There is more. Bacula has a concept of Pool. A Pool contains one or more volumes, and a Job is using a Pool. You might want to dedicate separate Pools to those two kinds of files, and maybe create separate Jobs for those files. Make small Volumes for those small, often changing files, and large Volumes for rarely changing video material. There will be head scratching, Bacula certainly is more complex than rsync ;) (Please, keep the discussion on list) -- http://www.iki.fi/jarif/ signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing Bacula
31.10.2009 1:44, Leslie Rhorer kirjoitti: OK, I installed Bacula, but I am having problems installing the GUI. I am running Debian Lenny on an AMD Athlon 64 x 2. I installed Bacula using the KDE package Manager, but I don't see a .deb source for the gui. I downloaded the .tar source from bacula.org and used the instructions from the howto on bacula.org, but when I try to configure BAT, I get the following: Backup:/Backup/Server-Main/Downloads/Linux/Bacula/bacula-gui-3.0.3# ./configure --enable-bat --enable-client-only --with-qwt=/usr/lib/ configure: error: The Bacula source directory must be specified. Use --with-bacula=path Looks like you need to download the Bacula main tarball too, extract it, and give its path to configure. OK, I'm sorry, but I am a little lost, here. I though that BAT was either an x-term application or a web based application, and I have bacula-console, bacula-console-qt, and bacula-console-wx all installed, but I don't see how to bring up a graphically based program. It did create a Debian app called Bacula bwx-console, but it isn't really what I would call graphical. It certainly looks nothing like the screenshot for BAT on Bacula.org. I was able to compile the bacula-gui tarball, but I don't really know where to go from there, either. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing Bacula
31.10.2009 4:02, Leslie Rhorer kirjoitti: 31.10.2009 1:44, Leslie Rhorer kirjoitti: OK, I installed Bacula, but I am having problems installing the GUI. I am running Debian Lenny on an AMD Athlon 64 x 2. I installed Bacula using the KDE package Manager, but I don't see a .deb source for the gui. I downloaded the .tar source from bacula.org and used the instructions from the howto on bacula.org, but when I try to configure BAT, I get the following: Backup:/Backup/Server-Main/Downloads/Linux/Bacula/bacula-gui-3.0.3# ./configure --enable-bat --enable-client-only --with-qwt=/usr/lib/ configure: error: The Bacula source directory must be specified. Use --with-bacula=path Looks like you need to download the Bacula main tarball too, extract it, and give its path to configure. OK, I'm sorry, but I am a little lost, here. I though that BAT was either an x-term application or a web based application, and I have bacula-console, bacula-console-qt, and bacula-console-wx all installed, but I don't see how to bring up a graphically based program. It did create a Debian app called Bacula bwx-console, but it isn't really what I would call graphical. It certainly looks nothing like the screenshot for BAT on Bacula.org. I was able to compile the bacula-gui tarball, but I don't really know where to go from there, either. I have never compiled or used BAT so I can't help further. We need a hand here! -- http://www.iki.fi/jarif/ Your boss is a few sandwiches short of a picnic. signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula features
There are several tools and procedures to achieve that. Note that Bacula does not write to raw disks, but creates regular files as volumes it uses, so you can use the OS tools like udev or automounter to get disks mounted when attached, which is what the above mentioned tools rely on. What do I do about the fact udev tends to give the inserted drive a new device name every time it is inserted? I would rather not have to go around chasing down the target every time I swap the drive. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users