Bacula-users

Re: [Bacula-users] Restore problems

2011-05-26 11:13:41
Subject: Re: [Bacula-users] Restore problems
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
To: Graham Keeling <graham AT equiinet DOT com>
Date: Thu, 26 May 2011 16:07:51 +0100
>>> Do you have different file and job retentions?
>> Just to clarify this - I can see the _files_ in the database when I look 
>> at the files in the JobId of the full backup, but when I go to do a 
>> restore it says no files are available.
> 
> Perhaps the problem could be something to do with the Full job that the backup
> depends on having being purged already.

No, I was trying to restore from the full backup that's in the database.

> Can you copy and paste the output of your restore attempt?

There's not much to see.

Choose a query (1-39): 24
Enter JobName: Imap-imap1
+---------+------------+------+------+---------------------+---------+----------+---------+----------+
| jobid   | name       | l    | s    | starttime           | gb      | 
clientid | name    | vol      |
+---------+------------+------+------+---------------------+---------+----------+---------+----------+
| 159,126 | Imap-imap1 | F    | T    | 2011-02-20 04:56:37 |    0.00 | 
      35 | MAIL-fd | BPOOL076 |
| 159,634 | Imap-imap1 | F    | T    | 2011-02-24 02:42:05 |  401.49 | 
      35 | MAIL-fd | BPOOL063 |
| 159,634 | Imap-imap1 | F    | T    | 2011-02-24 02:42:05 |  401.49 | 
      35 | MAIL-fd | BPOOL076 |
| 162,590 | Imap-imap1 | F    | T    | 2011-03-31 23:02:08 |  412.14 | 
      35 | MAIL-fd | BPOOL091 |
| 164,928 | Imap-imap1 | F    | T    | 2011-05-04 20:53:14 |  421.35 | 
      35 | MAIL-fd | BPOL0105 |
+---------+------------+------+------+---------------------+---------+----------+---------+----------+

Enter date as YYYY-MM-DD HH:MM:SS :2011-02-26 02:42:05
Defined Clients: 9snip0
Select the Client (1-542): 3
The defined FileSet resources are: (snip)

Select FileSet resource (1-10): 5
+---------+-------+----------+----------+---------------------+------------+
| jobid   | level | jobfiles | jobbytes | starttime           | volumename |
+---------+-------+----------+----------+---------------------+------------+
| 159,126 | F     |        3 |      270 | 2011-02-20 04:56:37 | BPOOL076   |
| 159,242 | I     |        1 |       81 | 2011-02-21 02:58:37 | BPOOL076   |
+---------+-------+----------+----------+---------------------+------------+
You have selected the following JobIds: 159126,159242

Building directory tree for JobId(s) 159126,159242 ...
2 files inserted into the tree.

Note that it completely missed jobid 159,634 even though it was more recent.

But the strange thing is that if i list the files in JobId 159,634 
they're all in the database.

There was an older jobId which has fallen out of the database because 
the tapes were purged yesterday, however selecting that one resulted in 
a "no files available for restore" message, while listing the files 
associated with it gave a complete list.




------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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>