[Bacula-users] bacula has only backed up part of a directory?
Hi, I considered that but volume retention is set to 65 days and the last full backup was on the 1st probably you have a problem with retention periods. When you select 5 option on restore command you should able to see the entire chain of backup (FDIII...)? Maybe you full backup has already expired and the media has been recycled. Kleber +-- |This was sent by tibus.supp...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula bandwith usage
Le Tuesday 15 March 2011 13:40:10 John Drescher, vous avez écrit : Fine, i understand it now. Is there a way to just spool attributes and not backuped files themselwes ? SpoolAttributes=yes in the Job resource. http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html# SECTION00183 Thank you. I let bacula a few days with attribute spooling. Things are not really different but it is a nice feature anyway. I am still not beyond 100Mb/s on my 1Gb/s network. Did someone tried to tweak some network parameters (On linux Debian) ? I think about Jumbo frames, but because it is a vlan-wide parameter and bacula is not the same on this network, it is a little complicated to deploy. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What happen if I change the client of a job ? Multi node virtualization cluster
Hi, I found no solution to do that. What I think is to have a script on my virtualization cluster that returns the value of the Bacula client that the job should use. My first question is : How can I tell bacula to choose dynamically the client according to the result of a script ? My second question is : Can I safely/often change the client of a job without having bacula going bad ? Does a client change will create a rupture in my backups ? ( eg: Upgrading an incremental to full ) If someone have some idea, that would be very cool ! Thanks Hugo 2011/3/10 Hugo Letemplier hugo.let...@gmail.com: Hi, I am using a KVM and open vz virtualization cluster and I am going to do my backup directly from the host instead of from each virtual machine. So I increase my backup performance by reducing the virtual layers and also it will give me an advantage in managing LVM snapshots during my pre and post backup scripts. The difficulty is that VMs are supposed to be migrated on many nodes of the cluster. For the moment I have one File Daemon per node. I thought I could change the client of a job after a migration ? Nevertheless, I have some doubts: - It will be complicated to rewrite dir configuration after each migration, with obligation to reload the conf - Is there a mean to do that via bconsole ? - I think that changing the client will break the continuity of a job so it will create a new full like if the system detect a fileset change. - Have you another approach of the problem ? Thanks Hugo -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula bandwith usage
On Wed, Mar 30, 2011 at 5:00 AM, Laurent HENRY laurent.he...@ehess.fr wrote: Le Tuesday 15 March 2011 13:40:10 John Drescher, vous avez écrit : Fine, i understand it now. Is there a way to just spool attributes and not backuped files themselwes ? SpoolAttributes=yes in the Job resource. http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html# SECTION00183 Thank you. I let bacula a few days with attribute spooling. Things are not really different but it is a nice feature anyway. I am still not beyond 100Mb/s on my 1Gb/s network. Did someone tried to tweak some network parameters (On linux Debian) ? I think about Jumbo frames, but because it is a vlan-wide parameter and bacula is not the same on this network, it is a little complicated to deploy. I am not using Jumbo frames on my gigabit network and I get 20 to 50 MB (mega bytes) /s per LTO2 tape drive. This is on 64 bit gentoo to a 2 processor 2GHz Opteron system with 4 GB of ram that was purchased in 2004. However my director is on a second 2 processor 2GHz Opteron system and my 30 GB database is on yet another machine. John -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Volume Retention / Use Duration
Hi folks, I'm trying to wrap my head around the following setup: - For a couple of clients / jobs, we'd like to store two full backups on disk (weekly full, daily incremental) - We'd also like to keep 14 incrementals around just in case we need to do a point in time recovery. The incremental part seems rather easy, I've defined a separate pool like so (Bacula 5.0.2 on centos compiled from source): Pool { Name = Online_Incremental Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Recycle Oldest Volume = yes Maximum Volumes = 14 Volume Use Duration = 1 day Label Format =Incr- } So we'd end up with a maximum of 14 volumes, using a new volume for incrementals each day, recycling the old ones as they expire. Now I was wondering how to go about the Full Pool definition. I'd like to do full backups on the same day for all clients / jobs, so I've come up with something like this: Pool { Name = Online_Full Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Volume Use Duration = 6 days Recycle Oldest Volume = yes Maximum Volumes = 3 Label Format =Full- } But I'm unsure about the use duration. Is there a better way to implement the above requirements? Thanks in advance for your help comments, Uwe -- NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula SD dont accept the correct director password :\
Hi. Im starting with bacula using the debian squeeze version (5.0.2). Im experimienting a problem when try to connect with the storage. The console says: 30-mar 08:12 FBKSRV-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at 192.168.0.3:9103. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). But when start the SD with the debug option (-d100) show that: FBKSRV:/opt# FierrosBKSRV-sd: bnet.c:669-0 who=client host=192.168.10.30 port=36643 FBKSRV-sd: jcr.c:611-0 setting my_thread_stuffs 0x0 = 0x7f7b4146c700 FBKSRV-sd: authenticate.c:92-0 Connection from unknown Director FBKSRV-dir at client rejected. FBKSRV-sd: authenticate.c:191-0 Unable to authenticate Director at client. FBKSRV:/opt# FBKSRV-sd: pythonlib.c:227-0 No startup module. The director can connect correctly to the FD's all with the same password, but the SD dont accept it. Im 100% sure to im giving the correct password. Why say Unknown Director if the same is declared in the bacula-sd.conf? === bacula-dir.conf Director {# define myself Name = FBKSRV-dir DIRport = 9101 QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 10 Password = 123456789 # Console password Messages = Daemon DirAddress = 192.168.10.30 } bacula-sd.conf Storage { # definition of myself Name = FBKSRV-sd SDport = 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 10 SDAddress = 192.168.10.30 } # # List Directors who are permitted to contact Storage daemon # Director { Name = FBKSRV-dir Password = 123456789 } === Any sugestion? Thanks and regards. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula has only backed up part of a directory?
I finally figured out bcscan and shunted the volumes onto another bacula server, hoping it was just a database issue. I rebuilt the catalog from what's in the volumes and the files are still not there. So it looks like bacula just decided not to backup these files. could it be something to do with it having multiple copies of this directory with the same attributes? +-- |This was sent by tibus.supp...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What happen if I change the client of a job ? Multi node virtualization cluster
My first question is : How can I tell bacula to choose dynamically the client according to the result of a script ? You can script that by echoing commands to bconsole. Then execute your script as a cron job. My second question is : Can I safely/often change the client of a job without having bacula going bad ? Does a client change will create a rupture in my backups ? ( eg: Upgrading an incremental to full ) I believe you will be fine to do this. Although it is not something I have done often. John -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume Retention / Use Duration
Op 30/03/2011 14:30, Uwe Schuerkamp schreef: Hi folks, I'm trying to wrap my head around the following setup: - For a couple of clients / jobs, we'd like to store two full backups on disk (weekly full, daily incremental) - We'd also like to keep 14 incrementals around just in case we need to do a point in time recovery. The incremental part seems rather easy, I've defined a separate pool like so (Bacula 5.0.2 on centos compiled from source): Pool { Name = Online_Incremental Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Recycle Oldest Volume = yes Maximum Volumes = 14 Volume Use Duration = 1 day Label Format =Incr- } So we'd end up with a maximum of 14 volumes, using a new volume for incrementals each day, recycling the old ones as they expire. You might run into issues with a 14d volume retention. The retention is counted from the end of the last job written to the volume, and will thus be at a point in time áfter the first job's scheduled time. In the third week you might then not have any expired volumes that are available for recycling. You also have to keep in mind that incrementals form a chain. So if you recycle the monday volume, you'll effectively lose your backup of all files changed that day, that didn't change again later during the week. Now I was wondering how to go about the Full Pool definition. I'd like to do full backups on the same day for all clients / jobs, so I've come up with something like this: Pool { Name = Online_Full Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Volume Use Duration = 6 days Recycle Oldest Volume = yes Maximum Volumes = 3 Label Format =Full- } Here you specify 3 volumes max, probably to make sure your incrementals are still useful? (something you forgot to do for the incrementals themselves I think) Why the 6 day use duration though? You say you want to do all full backups on the same day. Do the backups take multiple days to complete? But I'm unsure about the use duration. Is there a better way to implement the above requirements? Thanks in advance for your help comments, Uwe Kind regards, Jeremy DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Moving a catalog due to performance issues
Hello, I am using Bacula 5.0.3 on ubuntu 9.04 I am have serious performance problems with migration speeds to tape. I have used the btape speed command to test the throughput of the disk to tape and it is achieving speeds of up to 6 times what my migration speed is getting, so I don't think it's the hardware. Someone asked if my catalog is on the same disks as the data being migrated, and it is. I am not sure if this would be making such a huge difference, but I'm looking into moving it off the Bacula server to a remote server. I have some questions on doing this: 1. Does it make sense. Could it be having such a serious impact on the migration speeds, or should I look elsewhere first. In case it's relevant, my Bacula server has a single Raid 5 array configured with LVM into two logical volumes. The catalog is on one, and the data on the other. 2. Does Bacula need to be on the box hosting the catalog, or is just having MySQL installed enough. 3. Can I dump and reload the catalog db from the Bacula server to the new remote server, change the catalog resource record, and continue using that. 4. I am currently using mysql version: Server version: 5.0.75-0ubuntu10.5 (Ubuntu) I understand that unless I install this exact version on the remote server, I'll have to recompile Bacula. Is this correct? Thank you. Dermot. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem with stores,
I filed it yesterday: http://bugs.bacula.org/view.php?id=1716 And it was closed immediately as not fixable. I'm okay with what was explained, I think my only comment from here on out is if it was explicitly called out in the documentation not to mix volume sizes. Mike C On 03/30/2011 06:30 AM, Alan Brown wrote: John Drescher wrote: I have had that as well. I believe any change in the block size causes all previous tapes to be unreadable. Could this be a fixed blocks versus variable blocks problem? I suspect so, but unless it's filed it won't get looked at by Kern. AB -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore (knock on wood) from Copy Jobs
Hello again everyone. Currently, I have 2 Tape Storages configured on my Bacula Server, but I only using one (which is enough to hold all my Full/Diff backups). I want to use the second Tape Storage to store Backups and take it's tapes somewhere else safe. I was thinking about using Copy Jobs, to copy every Full/Diff Backup ran on the first Tape Storage to the second. My doubts are: 1. Is this the right solution for my problem? Or, at least, will it work? 2. In case of a (knock on wood) catastrophe and loose every tape on my storages (except the ones that are on a safe place), how do I restore from those tapes storing those Copy Jobs? For now, that's all. Thanks! -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Moving a catalog due to performance issues
On 3/30/2011 12:27 PM, Dermot Beirne wrote: Hello, I am using Bacula 5.0.3 on ubuntu 9.04 I am have serious performance problems with migration speeds to tape. I have used the btape speed command to test the throughput of the disk to tape and it is achieving speeds of up to 6 times what my migration speed is getting, so I don't think it's the hardware. Someone asked if my catalog is on the same disks as the data being migrated, and it is. I am not sure if this would be making such a huge difference, but I'm looking into moving it off the Bacula server to a remote server. I have some questions on doing this: 1. Does it make sense. Could it be having such a serious impact on the migration speeds, or should I look elsewhere first. In case it's relevant, my Bacula server has a single Raid 5 array configured with LVM into two logical volumes. The catalog is on one, and the data on the other. It could possibly impact performance. If spooling, or at least spooling of attributes, is not being used, then this will cause disk thrashing, where the r/w heads of drives are constantly having to be moved back and forth to write to the catalog, then the data, then the catalog, then the data, etc. The simple solution is to turn on spooling and see if that makes a big improvement. Otherwise, to move the catalog to another server is possibly a solution, but it would then be limited by, and taking up, network bandwidth. It would be better to have another disk in the same server that was dedicated to the catalog. 2. Does Bacula need to be on the box hosting the catalog, or is just having MySQL installed enough. Just MySQL. 3. Can I dump and reload the catalog db from the Bacula server to the new remote server, change the catalog resource record, and continue using that. Yes, it is just a normal database. 4. I am currently using mysql version: Server version: 5.0.75-0ubuntu10.5 (Ubuntu) I understand that unless I install this exact version on the remote server, I'll have to recompile Bacula. Is this correct? No, that is not correct. Otherwise, a simple update of MySQL would render Bacula unusable. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SQL Query to get size of all Full/Diff Backups
Hello list. Can someone send me the SQL Query to get the size that all my Full, Diff and Inc backups are currently consuming? In my config, I have 5 Pools that store Full Backup tapes, the same happens for Diff and Inc Backups. But if you send me a SQL Query. I'm going to use this to know when should I get more tapes for my Storage... Thanks! -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore (knock on wood) from Copy Jobs
1. Yes. It's ok. 2. the bacula will do this for you. When you try to do restore, if the media has already recycled the bacula will get files from copy. What type of disaster you want to protect? If the boths tape drives was located in the same site you will not able do use it in fire or water incident. But, if the tapes are stored off-site you will able to recreate catalog with bscan with success. Some informations cannot be recreated with bscan, but probably all you need will be available on catalog. Kleber 2011/3/30 Rodrigo Renie Braga rodrigore...@gmail.com Hello again everyone. Currently, I have 2 Tape Storages configured on my Bacula Server, but I only using one (which is enough to hold all my Full/Diff backups). I want to use the second Tape Storage to store Backups and take it's tapes somewhere else safe. I was thinking about using Copy Jobs, to copy every Full/Diff Backup ran on the first Tape Storage to the second. My doubts are: 1. Is this the right solution for my problem? Or, at least, will it work? 2. In case of a (knock on wood) catastrophe and loose every tape on my storages (except the ones that are on a safe place), how do I restore from those tapes storing those Copy Jobs? For now, that's all. Thanks! -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] My Documents
On 3/30/11 2:05 PM, Paul Fontenot wrote: I am attempting to backup only the My Documents directory on my Windows machines and I'm not having any luck. Here is my FileSet directive FileSet { Name = My Documents Enable VSS = yes Include { File = C:/Documents and Settings/*/My Documents } } I'd use WildDir instead of File with that starry thing *. Mehma -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] My Documents
Am 30.03.2011 23:05, schrieb Paul Fontenot: I am attempting to backup only the My Documents directory on my Windows machines and I'm not having any luck. Here is my FileSet directive FileSet { Name = My Documents Enable VSS = yes Include { File = C:/Documents and Settings/*/My Documents } } I get this error message Could not stat C:\Documents and Settings\*\My Documents: ERR=The filename, directory name, or volume label syntax is incorrect I imagine this is fairly simple to do and I am only over looking the obvious. Hi, look for wilddir in the FileSet docs. Regards, Christian Manal -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Questions regarding the copy job 'selection type'
Hello list, I have setup a copy job that will copy with a 'selection type = oldest volume' to a hot swapable disk so that I can move it offsite. The job worked just fine up until it got to the end of the from volume, then it failed. My question is: If it hits the end of the volume will it automatically go to the next volume if the last jobid spans between two volumes? If it does not follow to the next volume does the error below make sense? (jobid 1661 spans to the next volume) thanks, jerry -- 30-Mar 13:10 distress-dir JobId 1964: The following 11 JobIds were chosen to be copied: 1566,1573,1579,1585,1597,1610,1620,1628,1634,1641,1661 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1965 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1965 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1967 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1967 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1969 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1969 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1971 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1971 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1973 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1973 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1975 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1975 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1977 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1977 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1979 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1979 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1981 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1981 started. 30-Mar 13:10 distress-dir JobId 1964: Job queued. JobId=1983 30-Mar 13:10 distress-dir JobId 1964: Copying JobId 1983 started. 30-Mar 13:10 distress-dir JobId 1964: Copying using*JobId=1661* Job=BackupHardware.2011-02-21_23.05.00_11 30-Mar 13:10 distress-dir JobId 1964: Bootstrap records written to /var/run/bacula/working/distress-dir.restore.11.bsr 30-Mar 13:14 distress-dir JobId 1964: Start Copying JobId 1964, Job=CopyHWDiskToDisk.2011-03-30_13.10.58_05 30-Mar 13:14 distress-dir JobId 1964: Using Device TopSwap 30-Mar 13:14 distress-sd-sd JobId 1964: Ready to read from volume hardware-0001 on device Hardware (/Hardware). 30-Mar 13:14 distress-sd-sd JobId 1964: Volume OffHwDisk-1 previously written, moving to end of data. 30-Mar 13:14 distress-sd-sd JobId 1964: Ready to append to end of Volume OffHwDisk-1 size=5348997922 30-Mar 13:14 distress-sd-sd JobId 1964: Forward spacing Volume hardware-0001 tofile:block 1:1054031476. 30-Mar 13:14 distress-sd-sd JobId 1964: Error: block.c:318 Volume data error at 1:1850819116! Block checksum mismatch in block=12351 len=64512: calc=3385a118 blk=fbddd6bb 30-Mar 13:14 distress-dir JobId 1964: Error: Bacula distress-dir 5.0.1 (24Feb10): 30-Mar-2011 13:14:50 -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore (knock on wood) from Copy Jobs
Thanks Kleber (Brazillian?) We will keep these copy tapes on another building (~5km away). There they have a reinforced safe that the company Itaipu Binacional already use for the same purpose. Also, daily I have a specific Job with a RunAfter directive that saves the Catalog Database and Bacula config files on Dropbox (in the future, Amazon). Back to my doubts, I read in the documentation that Bacula will upgrade my Copy Jobs to normal Backup Jobs if the original Backups were purged or recycled (just like you said). But still, If disaster happens and I restore all my Database from my daily backup, the normal Backup Jobs won't be actually recycled, just their tapes that won't be available.. In this case, all I need is to manually purge the original backups after I restore the Database? Thanks again! 2011/3/30 Kleber Leal kleber.l...@gmail.com 1. Yes. It's ok. 2. the bacula will do this for you. When you try to do restore, if the media has already recycled the bacula will get files from copy. What type of disaster you want to protect? If the boths tape drives was located in the same site you will not able do use it in fire or water incident. But, if the tapes are stored off-site you will able to recreate catalog with bscan with success. Some informations cannot be recreated with bscan, but probably all you need will be available on catalog. Kleber 2011/3/30 Rodrigo Renie Braga rodrigore...@gmail.com Hello again everyone. Currently, I have 2 Tape Storages configured on my Bacula Server, but I only using one (which is enough to hold all my Full/Diff backups). I want to use the second Tape Storage to store Backups and take it's tapes somewhere else safe. I was thinking about using Copy Jobs, to copy every Full/Diff Backup ran on the first Tape Storage to the second. My doubts are: 1. Is this the right solution for my problem? Or, at least, will it work? 2. In case of a (knock on wood) catastrophe and loose every tape on my storages (except the ones that are on a safe place), how do I restore from those tapes storing those Copy Jobs? For now, that's all. Thanks! -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] slot is repeatedly set to zero
I've been able to reproduce this situation reliably. I'm using an autochanger on FreeBSD 8.x within Bacula 5.0.3. * Let a job start and ask for a new tape (in my case, part of the job writes to an existing tape) * Don't give Bacula the tape it is asking for * label a new tape * Bacula grabs it and starts writing to it immediately * while the job continues, run the update slots command Verify that the slot number has been updated in the database: bacula=# select volumename, slot from media where slot 0 order by slot; volumename | slot +-- ETU022 |1 ETU044 |2 ETU047 |9 ETU026 | 10 (4 rows) Wait a while. Then verify again: bacula=# select volumename, slot from media where slot 0 order by slot; volumename | slot +-- ETU022 |1 ETU047 |9 ETU026 | 10 (3 rows) Run update slots again. Verify. Wait... this can be repeated several times throughout the job. My suspicion, yet to be verified: the UPDATE command being run as the job progresses is setting the slot column when it should not be. -- Dan Langille http://langille.org -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Scheduling Question
Hi, Now that I have used Bacula a full cycle (60 days) I have a question: If backups are done Full (which expires after 60 days). Then Diff each week and Incre each day where there is no Diff Then restoring from any given date going back 60 days is not a problem UNTIL the initial Full is replaced/overwritten. At that point all the Diffs and Incre up to the next Full cannot be restored (as far as I can see anyways) and that makes logical sense as there is no base to base the selection on. So how would I retain the initial Full until the next Full (let's say first Sunday 2 months later) cycles back so not to obviate all the Diff/Incre between? If I am asking the question upside down please correct me. And please bear with if the answer is glaringly obvious! I reread this a few times and what I really want is: 1st of month 1 Full Diff each Sunday after Incre each day other then Sunday 1st of month 3 Full Expire the Initial Full when the 2nd one has no more increments (Diff/Incre) before it. Not sure how to translate to the schedule/expire times though. Thanks in advance, Randy -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SQL Query to get size of all Full/Diff Backups
On Mar 30, 2011, at 4:46 PM, Rodrigo Renie Braga wrote: Hello list. Can someone send me the SQL Query to get the size that all my Full, Diff and Inc backups are currently consuming? In my config, I have 5 Pools that store Full Backup tapes, the same happens for Diff and Inc Backups. But if you send me a SQL Query. I'm going to use this to know when should I get more tapes for my Storage... The OP contacted me on IRC and I suggested they post here. They were asking me about this page: https://services.unixathome.org/bacula/ SELECT P.Name as name, pg_size_pretty( sum( coalesce( m.volbytes, 0 ) )::bigint) as size, count(M.mediaid) as tape_count FROM pool P, media M WHERE P.PoolId = m.poolid AND P.name IN ('Incrementals', 'Differentials', 'Fulls') GROUP BY 1 ORDER BY P.name -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users