Re: dummy job

Christophe PEREZ via Bacula-users <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
Hi Arno,

Thanks.
I didn't even think that you could not designate any files in the
fileSet.

Le mardi 07 janvier 2025 à 00:13 +0100, Arno Lehmann via Bacula-users a
écrit :
> Hi Christophe,
> 
> Am 06.01.2025 um 22:36 schrieb Christophe PEREZ via Bacula-users:
> > Hi,
> > 
> > With Bacula 15.0.2, is it possible in your opinion, to create a
> > completely dummy job?
> 
> That's possible and not uncommon... more or less for exactly the
> reason 
> you mentioned, just use a file set that has no actual file line. For 
> vertain experiments, for example, I recently set up the following:
> 
> Fileset {
>    Name = "Nothing"
>    Description = "A file set referencing no data at all"
> }
> 
> Job {
>    Name = "Mitochondrium-ScriptOnly"
>    Client = "Mitochondrium-fd"
>    Enabled = no
>    Fileset = "Nothing"
>    JobDefs = "DefaultJob"
>    Pool = "short"
>    Runscript {
>     Command = "powershell.exe -ExecutionPolicy Bypass 
> C:\\Users\\Arno\\showenv.ps1"
>     RunsWhen = Before
>    }
>    Schedule = "None"
>    WriteBootstrap = "/opt/bacula/bsr/%c_%n.bsr"
> }
> 
> > What FileSet to put to have no backup?
> 
> See above for an example.
> 
> Cheers,
> 
> Arno
> 
> > The goal is to send a command to the Storage daemon (so on a
> > client) at
> > the end of the backup.
> > Thanks in advance!
> 




_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.