Re: [Bacula-users] after building bat, location of binary varies
On Sun, 15 Nov 2009 23:45:43 -0500, Dan Langille said: Folks, I am finding that the location of the executable binary varies from one system to another. I am trying to find out why. The answer will help to improve the build and install process. Sometimes the binary is at: src/qt-console/bat If not there, it is at: src/qt-console/.libs/bat Within a given system, the location is always consistent. It is one of the above. Why the location varies, I do not know. The .libs directory is the default location when building with libtool (for Bacula shared libraries). __Martin -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
I have tried several things now to correct this error without success. - Checked and repaired MySQL db with MySQL tools (mysqlcheck). - Cleaned MySQL db with bacula tools (dbcheck). - The offending pool has been removed and a new pool created and volumes added. The backup ran without error over two weeks and then the error returned. - The temp directory has been changed to a directory with more than enough space to contain the entire backup set. - The backup job has been moved in the schedule to a period that was not concurrent with any other job. Still, the one job that has 200GB+ of files succeeds, and the job with only 60GB fails, same error. 16-Nov 08:25 director-dir: Allied-ex3.2009-11-16_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 16-Nov 08:25 director-dir: Allied-ex3.2009-11-16_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20947 I am at a loss to understand why. The volumes can be pruned almost immediately as the backup is only for DR purposes and each volume will be recycled each night. The only problem I see is that the client is paying for 60GB and the backups have begun using more than that amount, so volumes are being reused within the current backup. I will next try increasing the number of volumes to see if that helps. Still open to suggestions, more than happy to repost all files. 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Full / Incremental / Virtual backup jobs
Hi all I'm cracking my head on this: I have an NTFS workstation with about 4 millions files that need backup. I want to set an automated backup job that does the following: - 1st time Full backup of all files - everyday an incremental backup - once a week consolidate all the incremental + Full with Virtual Backup and replace the previous Full backup. Can I do this automatically? what is the best way? Thanks Eitan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] question about multiple file pools
Hello, On Mon, Nov 16, 2009 at 02:35:12PM +1100, Jerome Alet wrote: We have an old bacula setup with a single tape drive as part of an autochanger, which holds three different pools for incremental, differential and full backups. On restore, the correct tape is correctly extracted from the database then mounted from the correct pool on our single tape drive. I'd like to replicate such functionnality on hard disks and a newer release of bacula (2.4.4-1 under Debian Lenny, AMD64 architecture, PostgreSQL backend). During backups, all my pools and volumes are used as needed. But during restore, what happens is that only volumes configured as being part of the pool defined for the RestoreFiles job are automatically mounted, and bacula waits for us to manually mount the other volumes, which don't seem to be possible since they are file volumes (i.e. always 'mounted') OK, I've fixed this particular problem by creating multiple Media Types. This was written in the documentation, but not about this particular subject, about multiple concurrent accesses instead. Now what about my other question (probably an easy one, I suppose I'll have the answer anyway in a month or two...) Another small question : As you can see above, I want to have very small volumes, but LOTS of them. When labelling them automatically, bacula only uses 4 digits, what will happen when it will reach ? Could someone tell me what happens then ? Does it automatically label the next volume as, for example, full-1, or does it start over at full-0001 and overwrite an existing volume, or does it fail miserably because full-0001 should not be overwritten (if it's still full, as it will probably be) ? Thanks. -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] question about multiple file pools
Hello, 17.11.2009 00:49, Jerome Alet wrote: Hello, On Mon, Nov 16, 2009 at 02:35:12PM +1100, Jerome Alet wrote: We have an old bacula setup with a single tape drive as part of an autochanger, which holds three different pools for incremental, differential and full backups. On restore, the correct tape is correctly extracted from the database then mounted from the correct pool on our single tape drive. I'd like to replicate such functionnality on hard disks and a newer release of bacula (2.4.4-1 under Debian Lenny, AMD64 architecture, PostgreSQL backend). During backups, all my pools and volumes are used as needed. But during restore, what happens is that only volumes configured as being part of the pool defined for the RestoreFiles job are automatically mounted, and bacula waits for us to manually mount the other volumes, which don't seem to be possible since they are file volumes (i.e. always 'mounted') OK, I've fixed this particular problem by creating multiple Media Types. Great... I was about to suggest that :-) This was written in the documentation, but not about this particular subject, about multiple concurrent accesses instead. At least you found it - but where did you initially look? (Just so we can, perhaps, improve the manual) Now what about my other question (probably an easy one, I suppose I'll have the answer anyway in a month or two...) Another small question : As you can see above, I want to have very small volumes, but LOTS of them. When labelling them automatically, bacula only uses 4 digits, what will happen when it will reach ? Could someone tell me what happens then ? Does it automatically label the next volume as, for example, full-1, That's what should happen, if I read the code correctly. Things will break if you end up with more than 19 digits. or does it start over at full-0001 and overwrite an existing volume, or does it fail miserably because full-0001 should not be overwritten (if it's still full, as it will probably be) ? But - why do you want so many volumes that you expect to have 10,000 in a few months? Sounds a bit hard to manage... Cheers, Arno Thanks. -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] question about multiple file pools
Hi again, On Tue, Nov 17, 2009 at 02:09:03AM +0100, Arno Lehmann wrote: 17.11.2009 00:49, Jerome Alet wrote: On Mon, Nov 16, 2009 at 02:35:12PM +1100, Jerome Alet wrote: We have an old bacula setup with a single tape drive as part of an autochanger, which holds three different pools for incremental, differential and full backups. On restore, the correct tape is correctly extracted from the database then mounted from the correct pool on our single tape drive. I'd like to replicate such functionnality on hard disks and a newer release of bacula (2.4.4-1 under Debian Lenny, AMD64 architecture, PostgreSQL backend). During backups, all my pools and volumes are used as needed. But during restore, what happens is that only volumes configured as being part of the pool defined for the RestoreFiles job are automatically mounted, and bacula waits for us to manually mount the other volumes, which don't seem to be possible since they are file volumes (i.e. always 'mounted') OK, I've fixed this particular problem by creating multiple Media Types. Great... I was about to suggest that :-) This was written in the documentation, but not about this particular subject, about multiple concurrent accesses instead. At least you found it - but where did you initially look? (Just so we can, perhaps, improve the manual) I think I've searched this a lot in resources definitions, especially pools, but the answer is (somewhat hidden) there : http://www.bacula.org/en/rel-manual/Basic_Volume_Management.html#ConcurrentDiskJobs Maybe this could be clarified but I don't really know where nor how, since I'm a bacula newbie (our existing setup was put in place before I landed here) As you can see above, I want to have very small volumes, but LOTS of them. When labelling them automatically, bacula only uses 4 digits, what will happen when it will reach ? Could someone tell me what happens then ? Does it automatically label the next volume as, for example, full-1, That's what should happen, if I read the code correctly. Things will break if you end up with more than 19 digits. or does it start over at full-0001 and overwrite an existing volume, or does it fail miserably because full-0001 should not be overwritten (if it's still full, as it will probably be) ? But - why do you want so many volumes that you expect to have 10,000 in a few months? Sounds a bit hard to manage... I knew the question would come ! :-) I'm currently doing some testing and I like to play with things to see if the solution is robust. When in production my volumes will certainely be bigger than 32 MB as they are now. Thanks a lot for your answers which clarify my thoughts. bye -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] after building bat, location of binary varies
Martin Simmons wrote: On Sun, 15 Nov 2009 23:45:43 -0500, Dan Langille said: Folks, I am finding that the location of the executable binary varies from one system to another. I am trying to find out why. The answer will help to improve the build and install process. Sometimes the binary is at: src/qt-console/bat If not there, it is at: src/qt-console/.libs/bat Within a given system, the location is always consistent. It is one of the above. Why the location varies, I do not know. The .libs directory is the default location when building with libtool (for Bacula shared libraries). This is interesting. Please, can you elaborate? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users