[bareos-users] Consolidate Virtual Full No Job found for JobId 0

2020-06-15 Thread Brock Palen
I have a job (one of two for a client)  that cannot run it’s consolidate job 
for a week now.  

 2020-06-15 22:23:09 myth-dir JobId 29911: Job 
mills-feldman-Photos.2020-06-15_21.53.03_08 waiting 1800 seconds for scheduled 
start time.
 2020-06-15 22:53:11 myth-dir JobId 29911: Start Virtual Backup JobId 29911, 
Job=mills-feldman-Photos.2020-06-15_21.53.03_08
 2020-06-15 22:53:11 myth-dir JobId 29911: Consolidating JobIds 
28993,29026,29027
 2020-06-15 22:53:11 myth-dir JobId 29911: Unable to get Job record. 
ERR=cats/sql_get.cc:273 No Job found for JobId 0

I manually deleted a few non-full jobs, and behavior remains.  Incremental 
backups still work as planned daily.

Not sure why it’s grabbing a jobId 0 though.

Any ideas what would cause this?


Brock Palen
1 (989) 277-6075
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/14531D71-8D72-4614-BE36-AC3A268B7BA0%40mlds-networks.com.


Re: [bareos-users] autodelete pool

2020-06-15 Thread Spadajspadaj

Hi Birgit.

To be honest, I fail to see what would be the point of deleting a pool 
from a script. If you need to delete a pool, you do it once, 
interactively and everything's good.


Of course you can do a delete pool from bconsole but if you don't delete 
it from the configuration it'll get recreated as soon as you reload the 
configuration or restart the director. And ID of the pool will change. 
(even if you're able to delete a pool having media assigned to it, which 
I'm not sure you can do, those media would not get re-associated to a 
new pool named the same as the old one).


But the bottom line is - why would you even want to do such a thing. 
Especially considering that if you want to be able to batch-delete pools 
you'd have to have a way to batch-create pools as well (otherwise what 
would you be deleting?).


Can you please elaborate a bit more what you're trying to achieve?

On 14.06.2020 22:35, 'DUCARROZ Birgit' via bareos-users wrote:

Hi all,

How can I autodelete a pool (i.ex in a script)?

echo delete pool=Scratch yes | bconsole

--> does unfortunately not work

I can rm /etc/bareos/bareos-dir.d/pool/Scratch.conf, but doing so will 
keep listing the pool in my storages list (see print-screen).


Thank you for any help.
Kind regards,
Birgit



--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/1e2165db-9584-933c-941f-6f96f3418286%40gmail.com.


Re: [bareos-users] Insert of attributes batch table

2020-06-15 Thread David Lawley

  
  
PostgreSQL, will investigate.  Thanks  

On 6/12/2020 11:23 PM, Brock Palen
  wrote:


  
  Not that I know of. But I had a similar issue. Are you using
  MySQL?  If so switch to Postgres it fixes most issues like this. 
  
  
  The new dbcopy command in the manual will help you migrate. 

Sent from my iPhone
  Brock Palen
  989-277-6075


  On Jun 12, 2020, at 10:30 AM, David
Lawley  wrote:

  


  

I have a small backup job, but lots of files
once done, it does the " Insert of attributes batch table
  with 81 entries start"
Is there a way to limit this batch size, with this volume
  of insertions it takes about 4 hours to complete the task,
  and if there are more there is more wait
My current job is on its 3 round of inserts, currently at
  about 9 hours, just doing insert of attributes 

ideas? Thanks




-- 
You received this message because you are subscribed to the
Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/bd843a94-bf01-3a32-a7e4-594cefb86865%40upilab.com.
  

  

  




-- 
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e1fe4322-9ad7-4cf4-9e4d-0b48c917a269%40upilab.com.