Bacula-users

Re: [Bacula-users] Help prunning oldest jobs

2009-11-20 09:00:04
Subject: Re: [Bacula-users] Help prunning oldest jobs
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 20 Nov 2009 13:55:43 GMT
>>>>> On Thu, 19 Nov 2009 17:05:19 -0500, ReynierPM  said:
> 
> Hi every:
> I need to free some space in the HDD where I make backups. So I want to 
> delete some oldest volumes. I run this:
> 
> *status
> Status available for:
>       1: Director
>       2: Storage
>       3: Client
>       4: All
> Select daemon type for status (1-4): 3
> Automatically selected Client: FD.10.128.50.4
> Connecting to Client FD.10.128.50.4 at 10.128.50.4:9102
> 
> salvasprod_dc_hosting1-fd Version: 2.4.4 (28 December 2008) 
> i486-pc-linux-gnu debian 5.0
> Daemon started 03-Nov-09 09:10, 0 Jobs run since started.
>   Heap: heap=135,168 smbytes=9,502 max_bytes=9,624 bufs=52 max_bufs=53
>   Sizeof: boffset_t=8 size_t=4 debug=0 trace=0
> 
> Running Jobs:
> Director connected at: 19-Nov-09 17:03
> No Jobs running.
> ====
> 
> Terminated Jobs:
>   JobId  Level    Files      Bytes   Status   Finished        Name
> ======================================================================
>    1755  Full     26,545    37.86 M  OK       06-Sep-09 02:10 
> SP_DC_Hosting1-FD
>    1857  Incr     11,320    37.60 M  OK       16-Sep-09 02:05 
> SP_DC_Hosting1-FD
>    1908  Incr        781    2.055 M  OK       17-Sep-09 02:05 
> SP_DC_Hosting1-FD
>    2217  Incr      8,328    21.84 M  OK       23-Sep-09 03:23 
> SP_DC_Hosting1-FD
>    2321  Incr        392    3.323 M  OK       25-Sep-09 02:04 
> SP_DC_Hosting1-FD
>    2630  Incr        900    2.499 M  OK       01-Oct-09 03:23 
> SP_DC_Hosting1-FD
>    2685  Incr        311    2.885 M  OK       02-Oct-09 03:30 
> SP_DC_Hosting1-FD
>    3201  Incr        708    27.98 M  OK       12-Oct-09 03:40 
> SP_DC_Hosting1-FD
>    3254  Incr      1,793    5.485 M  OK       13-Oct-09 03:49 
> SP_DC_Hosting1-FD
>    3307  Incr        587    2.094 M  OK       14-Oct-09 03:45 
> SP_DC_Hosting1-FD
> ====
> 
> Now how I prune some of this jobs? Wich is the right command?

The "Terminated Jobs" listing above is not useful for this.

Use the "list jobs" command to see what is still in the catalog and the
"prune" or "purge" commands to remove jobs.

After doing that, if you want to delete the volumes from disk, then use the
"delete" command to remove the volume from the catalog before deleting it from
disk (e.g. with rm).

__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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>