Bacula-users

Re: [Bacula-users] Full backup not detected on running an incr. backup job?

2008-07-09 03:41:58
Subject: Re: [Bacula-users] Full backup not detected on running an incr. backup job?
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 09 Jul 2008 09:41:39 +0200
Hi,

09.07.2008 06:56, Oliver Lehmann wrote:
> Hi,
> 
> on restore I can see the following backups being considered:
> 
> Automatically selected FileSet: kartoffel-files
> +-------+-------+----------+-------------+---------------------+------------+
> | JobId | Level | JobFiles | JobBytes    | StartTime           | VolumeName |
> +-------+-------+----------+-------------+---------------------+------------+
> | 3,389 | F     |   30,410 | 844,646,078 | 2008-07-06 13:02:01 | Full-0001  |
> | 3,396 | I     |      319 | 124,405,596 | 2008-07-07 06:01:40 | Inc-0005   |
> | 3,398 | I     |      899 | 157,308,753 | 2008-07-07 22:10:34 | Inc-0006   |
> +-------+-------+----------+-------------+---------------------+------------+
> You have selected the following JobIds: 3389,3396,3398
> 
> Building directory tree for JobId 3389 ...  
> +++++++++++++++++++++++++++++++++++++++++++++++++
> Building directory tree for JobId 3396 ...  +
> Building directory tree for JobId 3398 ...  +
> 3 Jobs, 31,256 files inserted into the tree.
> 
> You are now entering file selection mode where you add (mark) and
> remove (unmark) files to be restored. No files are initially added, unless
> you used the "all" keyword on the command line.
> Enter "done" to leave this mode.
> 
> cwd is: /
> 
> 
> But when I try to run an incremental backup I'm getting:
> 
> Run Backup job
> JobName:  client-kartoffel-files
> Level:    Incremental
> Client:   kartoffel-fd
> FileSet:  kartoffel-files
> Pool:     Bacula-Pool (From Job resource)
> Storage:  File (From Job resource)
> When:     2008-07-09 06:54:30
> Priority: 10
> OK to run? (yes/mod/no): yes
> Job queued. JobId=3411
> You have messages.
> *mes
> 09-Jul 06:54 nudel-dir JobId 3411: No prior Full backup Job record found.
> 09-Jul 06:54 nudel-dir JobId 3411: No prior or suitable Full backup found in 
> catalog. Doing FULL backup.
> 09-Jul 06:54 nudel-dir JobId 3411: Start Backup JobId 3411, 
> Job=client-kartoffel-files.2008-07-09_06.54.14
> 09-Jul 06:54 nudel-dir JobId 3411: Using Device "FileStorage"
> 09-Jul 06:54 nudel-sd JobId 3411: Job 
> client-kartoffel-files.2008-07-09_06.54.14 waiting. Cannot find any 
> appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "FileStorage" (/mnt/backup)
>     Pool:         Full-Pool
>     Media type:   File
> *
> 
> how can this be?

I don't know.

It might be related to an issue reported by Hemant Shah.

If you haven't run another full yet, I suggest you try an incremental 
backup with debug tracing enabled in the DIR (like 'setdebug level=100 
trace=1 dir') and we'll see if we find something in the trace output.

> The backup yesterday worked without a problem (since years
> you can say) but now bacula tells it cannot find a full backup... how can
> this be? The restore finds the full backup as you can see...

Which version of Bacula do you run, and how was it ./configured (if 
you installed from source)?

Arno

> Greetings, Oliver
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users