Re: [Bacula-users] using different fileset for Base job
2015-04-21 04:31:37
On 04/16/2015 10:08 AM, Silver Salonen wrote:
On 04/15/2015 05:45 PM, Eric Bollengier wrote:
Hello,
On 15/04/2015 16:31, Silver Salonen wrote:
Hi.
Can anyone confirm that base jobs with fileset different than the normal
job should not be used?
The base jobs can use any fileset and even an other client if you want.
Basically the problem arises when restoring data because fileset needs
to be selected too, but:
1) normal job with fileset different from it's original job is not found
on restore
When you select a job for restore, the process will automatically
includes files from basejobs (looking the BaseFiles table). The FileSet
of the Base job doesn't really matter during the restore.
Good, then I guess the problem is caused by a bug in the old
version (5.2.6) of Bacula director we currently have in use.
Fortunately we'll be upgrading very soon to version 7 now, and
then I can confirm it works properly there.
BTW, when we restored the job that used Base job underneath, no
files were restored from Base and for every file there was the
following error thrown instead:
Error: create_file.c:416 Unknown file type 24; not restored:
/path/to/file.txt
--
Silver
I think there is something else wrong with my backups here. We now
have 7.0.5, but Base job is still not selected when starting
restore. Maybe we're missing DB entries here or... ?
=== Restore steps: ===
- Enter a list of files to restore before a specified time:
2015-02-09 00:00:00
- Select the Client: myclient1
- Select FileSet resource: myclient1-files1
+--------+-------+----------+-------------+---------------------+-------------------------+
| JobId | Level | JobFiles | JobBytes | StartTime |
VolumeName |
+--------+-------+----------+-------------+---------------------+-------------------------+
| 56,528 | F | 156,876 | 266,495,509 | 2015-02-06 01:00:03 |
myclient1-full-6m-1274 |
+--------+-------+----------+-------------+---------------------+-------------------------+
You have selected the following JobId: 56528
Building directory tree for JobId(s) 56528 ...
For one or more of the JobIds selected, no files were found,
so file selection is not possible.
Most likely your retention policy pruned the files.
Do you want to restore all the files? (yes|no):
=== Configuration: ===
Job {
Name = myclient1
Base = myclient1-base
FileSet = myclient1-files1
...
}
Job {
Name = myclient1-base
FileSet = myclient1-base1
Level = Base
...
}
=== Jobs list: ===
| 56,447 | myclient1-base1 | 2015-02-04 23:30:02 |
B | B | 156,790 | 22,492,394,104 | T |
| 56,528 | myclient1 | 2015-02-06 01:00:03 |
B | F | 156,876 | 266,495,509 | T |
| 57,814 | myclient1 | 2015-03-03 01:00:01 |
B | F | 183,041 | 21,656,157,516 | T |
| 58,855 | myclient1-base1 | 2015-03-22 20:17:30 |
B | B | 191,411 | 24,666,345,757 | T |
| 58,886 | myclient1 | 2015-03-23 01:00:03 |
B | F | 191,492 | 135,791,276 | T |
...
=== Volumes in filesystem: ===
-rw-r----- 1 bacula tape 21G Feb 5 00:05 myclient1-base1-7y-1273
-rw-r----- 1 bacula tape 281M Feb 6 02:19 myclient1-full-6m-1274
-rw-r----- 1 bacula tape 21G Mar 3 03:07 myclient1-full-6m-1275
-rw-r----- 1 bacula tape 24G Mar 22 20:52 myclient1-base1-7y-1331
-rw-r----- 1 bacula tape 158M Mar 23 01:22 myclient1-full-6m-1017
--
Silver
|
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________
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>
|
- [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Eric Bollengier
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job,
Silver Salonen <=
- Re: [Bacula-users] using different fileset for Base job, Eric Bollengier
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Eric Bollengier
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Eric Bollengier
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Eric Bollengier
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
- Re: [Bacula-users] using different fileset for Base job, Silver Salonen
|
|
|