Thank you very much, Heitor, you describe it very clear. I appreciate that
you spent time and told me about that bacula feature, thanks again!
After migration I should just change Storage in the backup job and delete
the Migrate job?
On 22 March 2016 at 16:12, Heitor Faria <[email protected]> wrote:
> My name is Alex :) I did exactly what you describe: create another Device
> and attach it to the director, so I should move volumes with Migrate Job
> now? Can you give me an example of that job? There are a lot of examples in
> the internet, I understand, but I don't understand how define from what
> storage and where to migrate.
>
> Hello, Alex: I think it should be something like this.
>
> *a) Pools Resource (bacula-dir.conf):*
>
>
>
> *#Origin Pool*
>
> Pool {
>
> Name = Monthly-Disk
>
> Pool Type = backup
>
> * Next* *Pool* *= another_pool*
>
> * Storage* *= File**1 # origin storage*
>
> ...
>
> }
>
>
>
> *# **Destination Pool*
>
> Pool {
>
> Name = Tape
>
> Pool Type = backup
>
> *Storage* *=**File2 # destination storage*
>
> * ...*
>
> }
>
>
>
> *b) Job Resource (bacula-dir.conf):*
>
>
>
> Job {
>
> * Name = “MigrateAdHocJob” *
>
> JobDefs = DefaultJob
>
> *Type* *= Migrate*
>
> *Pool* *= Monthly-Disk* *# **Origin Pool*
>
> *Selection* *Type* *= Job*
>
> * Selection Pattern = job_name*
>
> *Schedule = an_empty_schedule # **Advisable*
>
> }
>
>
>
> On 22 March 2016 at 15:40, Heitor Faria <[email protected]> wrote:
>
>> That's very useful advice, thank you! And that will be a great option,
>>
>> but situation is a bit more complicated: I have job1 and job2, that uses
>> one storage /home/bacula1 (I understand, that it's not very clever). I need
>> to separate those jobs to different storages, for example, job1 stays in
>> /home/bacula1 and job2 should work with /mnt/bacula2, what is the right way
>> to do that without breaking the bacula?
>>
>> Welcome back, Watashi [how do I call you? =)]: in this scenario just
>> create a second Device (bacula-sd.conf); a second Director Storage
>> attachment (bacula-dir.conf); set the job2 to use the new Storage.
>> If you want to migrate the job2 legacy that will be still in the 1st
>> storage probably the best way to go is to use Migrate Jobs; or just wait
>> until every volume from 1st storage get recycled.
>>
>> Hello.
>>>
>>>
>>> I have a question about storage changing: for example, I have backups in
>>> /home/bacula1, but after some time I need to move backups of the job to the
>>> /mnt/bacula2, how can do it properly? Is it enough just change storage name
>>> in config file and move files from one directory to another?
>>>
>>> Hello, Watashi: I think it's more reasonable to change Archive Device
>>> and copy disk volumes to /mnt/bacula2.
>>> If you Change Storage Name you will probably have a bad time, mostly
>>> because each Storage has an ID.
>>>
>>> (Bacula version is 5.2.6)
>>>
>>> Regards,
>>
>> --
> ===========================================================================
> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
> Administrator II
> Do you need Bacula training? http://bacula.us/video-classes/
> +55 61 <%2B55%2061%202021-8260>8268-4220 <%2B55%2061%208268-4220>
> Site: http://bacula.us FB: heitor.faria
> <http://www.facebook.com/heitor.faria>
> ===========================================================================
>
>
--
С уважением, Александр Чапкин.
e-mail: [email protected]
skype: alexander.chapkin
blog: http://coffee-hedgehog.ru
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users