Re: [Bacula-users] Files pruned from catalog or never inserted - For one or more of the JobIds selected, no files were found, so file selection is not possible.
I have found the solution to my problem, so I am posting in case it helps someone else out in the future. The problem was indeed related to the lack of defaults in the Ubuntu 16.04 package. The solution was to make sure "Catalog Files = yes" was set in the Pool resource. After adding that to the director's config, I ran a new job, and I was indeed able to select files to restore afterward. -Jeremy On 10/7/16 3:26 PM, Jeremy Parrish wrote: > Thanks for the info. Unfortunately, this is not the problem in my case. > I upgraded to the Postgres 9.5 db and dumped the old one right away. It > appears that no new records are getting inserted into the File table. > The latest JobId in that table is very old (I have not verified, but I > assume this would be the last job that ran before the upgrade). I wonder > what could be causing the new File records to not get inserted properly... > > -Jeremy > > On 10/7/16 2:21 PM, Marcio Vogel Merlone dos Santos wrote: >> Hi, >> >> Yes, I found the culprit. After the upgrade process I ended up with >> *two* PostgreSQL server instances (trying to) running over the same >> dataset: the old and the upgraded one. Removed the old and got it >> working fine. >> >> Hope this helps. >> >> Regards. >> >> >> Em 07/10/2016 12:50, Jeremy Parrish escreveu: >>> I am in the same boat... apparently never tried doing a restore since >>> upgrading to Ubuntu 16.04. I am guessing there is another config option that >>> is not getting its default value set properly. Did you ever find a solution >>> for this? >>> >>> -Jeremy >>> >>> >>> >>> -- >>> View this message in context: >>> http://bacula.10910.n7.nabble.com/Files-pruned-from-catalog-or-never-inserted-For-one-or-more-of-the-JobIds-selected-no-files-were-fou-tp84088p84656.html >>> Sent from the Bacula - Users mailing list archive at Nabble.com. >>> >>> -- >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> ___ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> -- >> *Marcio Merlone* >> TI - Administrador de redes >> >> *A1 Engenharia - Unidade Corporativa* >> Fone:+55 41 3616-3797 >> Cel: +55 41 9689-0036 >> >> http://www.a1.ind.br/ <http://www.a1.ind.br> >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> >> >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Files pruned from catalog or never inserted - For one or more of the JobIds selected, no files were found, so file selection is not possible.
Thanks for the info. Unfortunately, this is not the problem in my case. I upgraded to the Postgres 9.5 db and dumped the old one right away. It appears that no new records are getting inserted into the File table. The latest JobId in that table is very old (I have not verified, but I assume this would be the last job that ran before the upgrade). I wonder what could be causing the new File records to not get inserted properly... -Jeremy On 10/7/16 2:21 PM, Marcio Vogel Merlone dos Santos wrote: > Hi, > > Yes, I found the culprit. After the upgrade process I ended up with > *two* PostgreSQL server instances (trying to) running over the same > dataset: the old and the upgraded one. Removed the old and got it > working fine. > > Hope this helps. > > Regards. > > > Em 07/10/2016 12:50, Jeremy Parrish escreveu: >> I am in the same boat... apparently never tried doing a restore since >> upgrading to Ubuntu 16.04. I am guessing there is another config option that >> is not getting its default value set properly. Did you ever find a solution >> for this? >> >> -Jeremy >> >> >> >> -- >> View this message in context: >> http://bacula.10910.n7.nabble.com/Files-pruned-from-catalog-or-never-inserted-For-one-or-more-of-the-JobIds-selected-no-files-were-fou-tp84088p84656.html >> Sent from the Bacula - Users mailing list archive at Nabble.com. >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > *Marcio Merlone* > TI - Administrador de redes > > *A1 Engenharia - Unidade Corporativa* > Fone: +55 41 3616-3797 > Cel: +55 41 9689-0036 > > http://www.a1.ind.br/ <http://www.a1.ind.br> > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Files pruned from catalog or never inserted - For one or more of the JobIds selected, no files were found, so file selection is not possible.
I am in the same boat... apparently never tried doing a restore since upgrading to Ubuntu 16.04. I am guessing there is another config option that is not getting its default value set properly. Did you ever find a solution for this? -Jeremy -- View this message in context: http://bacula.10910.n7.nabble.com/Files-pruned-from-catalog-or-never-inserted-For-one-or-more-of-the-JobIds-selected-no-files-were-fou-tp84088p84656.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Files pruned from catalog or never inserted - For one or more of the JobIds selected, no files were found, so file selection is not possible.
I am in the same boat... apparently never tried doing a restore since upgrading to Ubuntu 16.04. I am guessing there is another config option that is not getting its default value set properly. Did you ever find a solution for this? -Jeremy -- View this message in context: http://bacula.10910.n7.nabble.com/Files-pruned-from-catalog-or-never-inserted-For-one-or-more-of-the-JobIds-selected-no-files-were-fou-tp84088p84655.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Set Pool For Job Using Python?
On Apr 21, 2009, at 5:32 PM, Mordechai T. Abzug wrote: On Tue, Apr 21, 2009 at 12:46:29PM -0500, Jeremy Parrish wrote: Here is my situation: We currently have 8 2TB USB HDDs. We want to do an 8-week rotation with these drives. Each drive will be on site for backup for 1 week and then in offsite storage for 7 weeks. From my brief experience, it seems that having all backups go to one Pool will not work properly since the Volume bacula chooses to use/ recycle may not be present on the drive that is currently in on site. Works fine for me without doing a pool per USB HDD. If bacula can't find the old volume, it makes a new one with the same name, which seems a little odd, but works OK. This is what I am concerned about. When it creates a new volume with the same name as a volume that exists on another drive, things get confusing because 1) The old volume becomes wasted space on another drive, 2) Tracking down which drive you need based on volume name becomes nearly impossible, and 3) Bacula can become confused if it thinks it is looking at the the re-created volume but is actually looking at the orphaned volume on another drive. Do you have a solution for these issues, or have they not arisen for you? -Jeremy -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Set Pool For Job Using Python?
Here is my situation: We currently have 8 2TB USB HDDs. We want to do an 8-week rotation with these drives. Each drive will be on site for backup for 1 week and then in offsite storage for 7 weeks. From my brief experience, it seems that having all backups go to one Pool will not work properly since the Volume bacula chooses to use/ recycle may not be present on the drive that is currently in on site. The best solution I think of is to have 8 different Pools, and each drive is associated with one of those Pools. The problem, however, is that I do not see a way to dynamically select which Pool a Job will go to based on what week it is. I know I can fire off 8 jobs (one for each pool) and use a Run Before Job script to cancel all but the proper Job, but there must be a Better Way to accomplish this. The job.Pool attribute is read-only in the Python scripting API, so that does not seem to be the answer. Any thoughts? -Jeremy -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users