Bacula-users

Re: [Bacula-users] Purge or prune jobs using their "jobid"

2014-10-10 06:07:46
Subject: Re: [Bacula-users] Purge or prune jobs using their "jobid"
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 10 Oct 2014 11:01:40 +0100
You can also delete a single job from the catalog using

delete jobid=xxxx

As with the purge command, this does not delete the volume on disk.

__Martin


>>>>> On Thu, 9 Oct 2014 13:38:12 -0300, Ana Emília M. Arruda said:
> 
> Hello!
> 
> If you want to delete all the information about a job/volume, you can use
> the "purge volume=xxxx". This command will delete all job, files, etc.,
> information from catalog, but it will not delete your volume. It will set
> the volume status to "purged" and this way the volume will be available for
> other jobs.
> 
> Regards,
> Ana
> 
> On Thu, Oct 9, 2014 at 1:07 PM, ALI LARAB <larab_ali AT yahoo DOT fr> wrote:
> 
> > I have used this command
> > *purge files 154
> >
> > but the job with the id 154 still appears when I execute the command "list
> > jobs."
> >
> >
> >   Le Jeudi 9 octobre 2014 17h56, ALI LARAB <larab_ali AT yahoo DOT fr> a 
> > écrit :
> >
> >
> > Hello.
> > I run this command:
> >
> > list jobs
> >
> > +-----------+-------------------------+-----------------------------------+------------+-----------+-----------+------------+------------+
> > | JobId     |           Name        |          StartTime                |
> >  Type     |  Level   | JobFiles | JobBytes | JobStatus |
> >
> > +-----------+-------------------------+-----------------------------------+------------+-----------+-----------+-------------+-----------+
> > | 793       |           cannelle    |          0000-00-00 00:00:00     |
> > B        | D        | 0        | 0        |          C |
> > | 13,118    |           piment2     |          0000-00-00 00:00:00     |
> > B        | I        | 0        | 0        |          C |
> > | 13,121    |           piment      |          0000-00-00 00:00:00     |
> > B        | I        | 0        | 0        |          C |
> > | 5        |           BackupCatalog |         2008-04-30 23:10:02     |
> > B        | F        | 0        | 0        |          E |
> > | 6        |           basilic      |          2008-05-01 02:05:03     |
> > B        | I        | 40       | 54,514,222 |         T |
> > | 8        |           BackupCatalog |         2008-05-01 23:10:02     |
> > B        | F        | 0        | 0         |         E |
> > | 9        |           basilic      |          2008-05-02 02:05:04     |
> > B        | I        | 3,863    | 55,320,734 |         T |
> >
> > From the result of this order, there is still old jobs that takes up space
> > on the disk (if I'm not mistaken).
> > I want to delete or purge them.
> > Do you know how to use the "purge" or "prune" command with the "jobid".
> > For example, I want to purge the job with the id : 6. When I use purge, it
> > give not me the name basilic because it does'nt exist now. So, I want to
> > use its jobid.
> >
> > Thanks for your answers.
> > Aly.
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users AT lists.sourceforge DOT net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >
> 

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>