Bacula-users

Re: [Bacula-users] Properly storage changing

2016-03-22 09:06:54
Subject: Re: [Bacula-users] Properly storage changing
From: Александр Чапкин <watashi AT reisei DOT ru>
To: Heitor Faria <heitor AT bacula.com DOT br>
Date: Tue, 22 Mar 2016 16:04:06 +0300
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.

On 22 March 2016 at 15:40, Heitor Faria <heitor AT bacula.com DOT br> 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/
===========================================================================



--
С уважением, Александр Чапкин.

e-mail: watashi AT reisei DOT ru
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
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>