Bacula 7.4 Job Stop & Resume New Feature
  • Post category:Uncategorized
  • Post comments:0 Comments

Bacula now has the ability to pause a job (new stop command) or resume failed jobs from the point they where they left off. Jobs marked as “incomplete” can be reset with the command resume bconsole command.

To stop a Job:

The stop bconsole command usage is similar to cancel, but canceled jobs can’t be resumed.

*stop
Select Job(s):
1: JobId=333 Job=BackupLibreOffice.2016-02-29_15.51.46_12
2: JobId=334 Job=BackupLibreOffice.2016-02-29_15.51.53_13
Choose Job list to stop (1-2): 1
JobId=333 Job=BackupLibreOffice.2016-02-29_15.51.46_12
Confirm stop of 1 Job (yes/no): yes
2001 Job "BackupLibreOffice.2016-02-29_15.51.46_12" marked to be stopped.

To resume a Job:

*resume
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
You have the following choices:
1: Incomplete
2: Canceled
3: Failed
4: All
Select termination code: (1-4): 1
+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+
| JobId | Name | StartTime | Type | Level | JobFiles | JobBytes | JobStatus |
+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+
| 20 | BkpArquivosBacula | 2016-02-26 18:04:37 | B | F | 0 | 0 | I |
| 22 | BkpArquivosBacula | 2016-02-26 18:10:20 | B | F | 2,501 | 32,722,228 | I |
| 25 | BkpArquivosBacula | 2016-02-26 18:12:44 | B | F | 628 | 376,861 | I |
| 27 | BkpArquivosBacula | 2016-02-26 18:13:25 | B | F | 2,685 | 106,706,580 | I |
| 28 | BkpArquivosBacula | 2016-02-26 18:16:11 | B | F | 4,043 | 138,253,969 | I |
| 29 | BkpArquivosBacula | 2016-02-26 18:17:34 | B | F | 2,504 | 35,515,855 | I |
+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+
Enter the JobId list to select: 29
Job queued. JobId=29

Or in a single line:

*resume incomplete jobid=20

 

 

Disponível em: pt-brPortuguês (Portuguese (Brazil))enEnglish

Leave a Reply