Re: [Bacula-users] Fileset override in Schedule resource

2021-11-11 Thread Shaligram Bhagat, Yateen (Nokia - IN/Bangalore)
Hi Radoslaw,

Thanks.
Well, that is what I thought.

But my requirement is different.
There are hundreds of clients and I want to create yearly archives (at present 
for past years and  later for future years too)  for each of them.

This will create a job inventory that will run into thousand.
The simplest way could be to create one single archive job for each client and 
run it with a fileset defined for each year.

I wonder why there is no fileset override for  a job in the schedule resource, 
when there are so many other overrides provided.
This requirement may be an enhancement candidate ??

-Yateen

From: Radosław Korzeniewski 
Sent: Thursday, November 11, 2021 9:01 PM
To: Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) 

Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Fileset override in Schedule resource

Hello,

czw., 11 lis 2021 o 14:02 Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) 
mailto:yateen.shaligram_bha...@nokia.com>> 
napisał(a):
Hi all,

We are using Bacula 9.4.4. on Linux with PostGreSQL.

I understand that we can run a job manually through bconsole with a different 
fileset to override the one defined for the job config.

But I find that such an override CAN NOT be specified in the job schedule , if 
I want to run the job with a different fileset through schedule.

Any comments?

Define a new job with a new fileset. :)

I hope it helps.

best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't resume failed restore job

2021-11-11 Thread Josh Fisher


On 11/10/21 05:49, Samuel Zaslavsky wrote:

Hello everyone,

I created a restore job that failed because of no more space on the 
targeted hard drive.
I changed the hard drive, remounted it, etc, and tried a resume 
command, but this causes an error :


/Could not get pool record for selected JobId=587. ERR=/


This restore job is quite long ( I have to change target HDD, insert 
and remove tapes from LTO, etc.), so I would be pleased if I can 
resume it instead of starting all over.


Does anyone have any hint on how to work around this ?



The resume command in bconsole can resume a failed or incomplete backup 
job, but I don't think that works with a restore.





Thanks a lot for your help !

Samuel


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fileset override in Schedule resource

2021-11-11 Thread Radosław Korzeniewski
Hello,

czw., 11 lis 2021 o 14:02 Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) <
yateen.shaligram_bha...@nokia.com> napisał(a):

> Hi all,
>
>
>
> We are using Bacula 9.4.4. on Linux with PostGreSQL.
>
>
>
> I understand that we can run a job manually through bconsole with a
> different fileset to override the one defined for the job config.
>
>
>
> But I find that such an override CAN NOT be specified in the job schedule
> , if I want to run the job with a different fileset through schedule.
>
>
>
> Any comments?
>

Define a new job with a new fileset. :)

I hope it helps.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't Label Tapes

2021-11-11 Thread Radosław Korzeniewski
Hello,

śr., 10 lis 2021 o 17:04 Jeffrey Di Domenico 
napisał(a):

> Hi,
>
> Yeah see the below output from lsscsi
>
> lsscsi -g
>
> [8:0:0:0]tapeHP   Ultrium 5-SCSI   Y6PW  /dev/st1   /dev/sg40
> [9:0:0:0]tapeHP   Ultrium 5-SCSI   Y6PW  /dev/st0   /dev/sg38
> [9:0:0:1]mediumx HP   MSL G3 Series9.40  /dev/sch0  /dev/sg39
>
> So, from I can see you have a following devices you should use:
- autochanger device: /dev/sg39
- storage device #0 /dev/nst0
- storage device #1 /dev/nst1

For the mtx command you should always use an "autochanger device" as
described above. Others simply won't work.

> If i do use st0 and st1
>
???
Why?

> [root@union bacula]# ./mtx-changer /dev/st1 listall
> cannot open SCSI device '/dev/st1' - No medium found
> [root@union bacula]# ./mtx-changer /dev/st0 listall
> mtx: Request Sense: Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 20
> mtx: Request Sense: Additional Sense Qualifier = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=no
> mtx: Request Sense: SKSV=no
> READ ELEMENT STATUS Command Failed
> [root@union bacula]#
>
You should make sure that the following command will run without any
issues: mtx -f /dev/sg39 status
Then you can move to Bacula configuration. If this command won't work for
you then Bacula won't work either.

You should check kernel logs or events at the tape library to check what is
going on. Then simply solve it.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fileset override in Schedule resource

2021-11-11 Thread Shaligram Bhagat, Yateen (Nokia - IN/Bangalore)
Hi all,

We are using Bacula 9.4.4. on Linux with PostGreSQL.

I understand that we can run a job manually through bconsole with a different 
fileset to override the one defined for the job config.

But I find that such an override CAN NOT be specified in the job schedule , if 
I want to run the job with a different fileset through schedule.

Any comments?

Thanks
Yateen S Bhagat
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users