The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Bacula - terminated jobs
Author: Dan 
Date:   20-02-07 23:18

An FAQ is how to get rid of the terminated jobs within Bacula:

$ bconsole
Connecting to Director bacula.unixathome.org:9101
s1000 OK: bacula-dir Version: 2.0.2 (28 January 2007)
Enter a period to cancel a command.
*st dir
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
bacula-dir Version: 2.0.2 (28 January 2007) i386-portbld-freebsd6.2 freebsd 6.2-STABLE
Daemon started 20-Feb-07 15:38, 5 Jobs run since started.
Heap: bytes=111,738 max_bytes=7,531,492 bufs=1,145 max_bufs=1,181

Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 21-Feb-07 00:55 undef DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 ngaio DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 polo DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 dfc DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 bast DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 wocker DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 xeon DLT7000-JYN246
Incremental Backup 20 21-Feb-07 00:55 nyi DLT7000-JYN246
Incremental Backup 20 21-Feb-07 00:55 m21 DLT7000-JYN246
Incremental Backup 20 21-Feb-07 03:15 supernews DLT7000-JYN246
Incremental Backup 10 21-Feb-07 15:15 pepper DLT7000-JYN246
Full Backup 100 21-Feb-07 15:15 BackupCatalog DLT7000-JYN246
====

Running Jobs:
No Jobs running.
====

Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
12797 Incr 1,270 283.2 M OK 27-Jan-07 01:12 polo
12798 Incr 42 2.489 M OK 27-Jan-07 01:12 ngaio
12799 Incr 294 135.2 M OK 27-Jan-07 01:16 nyi
12800 Incr 283 110.7 M OK 27-Jan-07 01:19 m21
12801 Incr 35 20.25 M OK 27-Jan-07 03:16 supernews
12802 Incr 0 0 Cancel 27-Jan-07 15:41 pepper
13055 Incr 0 0 Error 16-Feb-07 08:01 xeon
13056 Incr 0 0 Error 16-Feb-07 08:30 xeon
13057 Incr 163 29.72 M OK 16-Feb-07 08:33 xeon
13129 388 8.957 M OK 20-Feb-07 15:58 RestoreFiles

====
[dan@ngaio:/home/bacula/working] $

[dan@ngaio:/home/bacula/working] $ sudo mv bacula-dir.9101.state bacula-dir.9101.state.old
[dan@ngaio:/home/bacula/working] $ sudo /usr/local/etc/rc.d/bacula-dir start
Starting bacula_dir.
[dan@ngaio:/home/bacula/working] $ bconsole
Connecting to Director bacula.unixathome.org:9101
1000 OK: bacula-dir Version: 2.0.2 (28 January 2007)
Enter a period to cancel a command.
*st dir
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
bacula-dir Version: 2.0.2 (28 January 2007) i386-portbld-freebsd6.2 freebsd 6.2-STABLE
Daemon started 20-Feb-07 18:17, 0 Jobs run since started.
Heap: bytes=98,183 max_bytes=98,212 bufs=1,101 max_bufs=1,102

Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 21-Feb-07 00:55 undef DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 ngaio DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 polo DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 dfc DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 bast DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 wocker DLT7000-JYN246
Incremental Backup 10 21-Feb-07 00:55 xeon DLT7000-JYN246
Incremental Backup 20 21-Feb-07 00:55 nyi DLT7000-JYN246
Incremental Backup 20 21-Feb-07 00:55 m21 DLT7000-JYN246
Incremental Backup 20 21-Feb-07 03:15 supernews DLT7000-JYN246
Incremental Backup 10 21-Feb-07 15:15 pepper DLT7000-JYN246
Full Backup 100 21-Feb-07 15:15 BackupCatalog DLT7000-JYN246
====

Running Jobs:
No Jobs running.
====
No Terminated Jobs.
====
*

There. Done.

--
Webmaster

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Bacula - terminated jobs   new
Dan 20-02-07 23:18 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org