Hello Uthra, 

You have currently 3 options: 

1. Copy Jobs (already suggested). Ref.: [ 
https://www.bacula.org/9.4.x-manuals/en/main/Migration_Copy.html | 
https://www.bacula.org/9.4.x-manuals/en/main/Migration_Copy.html ] ; 
2. Two simultaneous similar Jobs, using different Pools and Storage (one for 
tape and other for cloud). I think it is better to have different Job names for 
this option. E.g. host-backup-tape, host-backup-cloud. Same data will be read 
from the client twice, but is still do-able. 
3. You can have one Job configuration that spawns others for different storages 
(Clone Jobs), that will run in a serial fashion. Same data will be read from 
the client twice, but is still do-able. 

"Run = job-name 
The Run directive (not to be confused with the Run option in a Schedule) allows 
you to start other jobs or to clone jobs. By using the cloning keywords (see 
below), you can backup the same data (or almost the same data) to two or more 
drives at the same time. The job-name is normally the same name as the current 
Job resource (thus creating a clone). However, it may be any Job name, so one 
job may start other related jobs. 

The part after the equal sign must be enclosed in double quotes, and can 
contain any string or set of options (overrides) that you can specify when 
entering the Run command from the console. For example storage=DDS-4 .... In 
addition, there are two special keywords that permit you to clone the current 
job. They are level=%l and since=%s. The %l in the level keyword permits 
entering the actual level of the current job and the %s in the since keyword 
permits putting the same time for comparison as used on the current job. Note, 
in the case of the since keyword, the %s must be enclosed in double quotes, and 
thus they must be preceded by a backslash since they are already inside quotes. 
For example: 

run = "Nightly-backup level=%l since=\"%s\" storage=DDS-4" 

A cloned job will not start additional clones, so it is not possible to 
recurse. 

Please note that all cloned jobs, as specified in the Run directives are 
submitted for running before the original job is run (while it is being 
initialized). This means that any clone job will actually start before the 
original job, and may even block the original job from starting until the 
original job finishes unless you allow multiple simultaneous jobs. Even if you 
set a lower priority on the clone job, if no other jobs are running, it will 
start before the original job. 

If you are trying to prioritize jobs by using the clone feature (Run 
directive), you will find it much easier to do using a RunScript resource, or a 
RunBeforeJob directive." - Ref.: [ 
https://www.bacula.org/9.4.x-manuals/en/main/Configuring_Director.html#SECTION002030000000000000000
 | 
https://www.bacula.org/9.4.x-manuals/en/main/Configuring_Director.html#SECTION002030000000000000000
 ] 

If NASA needs help I'm Florida and could drop by to assist you. =) 

Regards, 

> From: "bacula-users" <bacula-users@lists.sourceforge.net>
> To: "Davide Franco, dev" <bacula-...@dflc.ch>
> Cc: "bacula-users" <bacula-users@lists.sourceforge.net>
> Sent: Thursday, January 30, 2020 10:12:51 AM
> Subject: Re: [Bacula-users] [EXTERNAL] Re: bacula cloud backup

> Thank you all for your response to my question. So, it looks like there is no
> easy way one can set-up bacula to backup simultaneously to the tape and to the
> cloud.

> UR.

> From: Davide Franco <bacula-...@dflc.ch>
> Sent: Thursday, January 30, 2020 12:41 AM
> To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] <uthra.r....@nasa.gov>
> Cc: bacula-users@lists.sourceforge.net
> Subject: [EXTERNAL] Re: [Bacula-users] bacula cloud backup

> Hello,

> IMHO, I’m not sure you can perform simultaneous backup jobs to both tape and 
> S3
> (please let me know if I’m wrong).

> I’d suggest maybe to use copy jobs like this

> 1. Backup to tapes

> 2. Copy job to S3 bucket based on previous backup on tapes.

> I don’t have huge experience with copy jobs, hopefully someone reading this 
> can
> give more hints.

> Best,

> Davide

> On Tue, 28 Jan 2020 at 20:18, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] 
> via
> Bacula-users < [ mailto:bacula-users@lists.sourceforge.net |
> bacula-users@lists.sourceforge.net ] > wrote:

>> I have recently upgraded my bacula server to version 9.4.4 and wanted to test
>> the cloud backup feature. Currently we are backing up to LTO7 tapes. Is it
>> possible to set-up bacula to backup both to the tape and to the cloud
>> simultaneously?

>> If so I would appreciate some help with that.

>> Thank you.

>> UR.

>> _______________________________________________
>> Bacula-users mailing list
>> [ mailto:Bacula-users@lists.sourceforge.net | 
>> Bacula-users@lists.sourceforge.net
>> ]
>> [
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=_PbJdGqESxb4LeUrghLRI8P-Cax353zDEnqGLRxjtQU&m=V9cQYvLFFDWwIK2sjo_4beZX-iY1vUDBSyFXS2TrMWI&s=zs8ooiaoNRRjQPNNFjZunVUZAGW-FN5Ln-N2tEleqbo&e=
>> | 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

-- 

MSc Heitor Faria 
CEO Bacula LATAM 
mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
        [ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ] 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to