Hi, I wanted to delete a client and turns it off in the client resource (Enabled = “no”). After the expiration of retention period I deleted the client:
*prune jobs client=myclient jobtype=Backup The current Job retention period is: 14 days Continue? (yes/mod/no): yes Pruned 45 Jobs for client myclient from catalog. But it does not all entries have been deleted from the catalog: mysql> select distinct Job.JobId, Job.PriorJobId, Job, Name, Type, Level, JobStatus, Media.VolumeName, datediff(curdate(),Media.LastWritten) as Age, Media.VolStatus from Job, JobMedia, Media where Job.JobId = JobMedia.JobId and Media.MediaId = JobMedia.MediaId and Name = 'myclient' order by JobId; +-------+------------+-------------------------------------+--------------+------+-------+-----------+------------+------+-----------+ | JobId | PriorJobId | Job | Name | Type | Level | JobStatus | VolumeName | Age | VolStatus | +-------+------------+-------------------------------------+--------------+------+-------+-----------+------------+------+-----------+ | 49309 | 0 | myclient.2016-04-23_23.00.00_09 | myclient | B | F | T | vol2-015 | 105 | Full | | 49381 | 0 | myclient.2016-04-24_23.00.00_21 | myclient | B | I | T | vol2-002 | 99 | Full | | 49453 | 0 | myclient.2016-04-25_23.00.00_33 | myclient | B | I | T | vol2-002 | 99 | Full | +-------+------------+-------------------------------------+--------------+------+-------+-----------+------------+------+-----------+ 3 rows in set (0.01 sec) I have a job to copy all backups to 2. storage daemon. (Selection Type = PoolUncopiedJobs), it get failure because these jobs have no more copies. Is there a way to delete these orphaned jobs (except delete volumes)? bareos 14 thx alex -- 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 [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
