Bacula-users

Re: [Bacula-users] Properly storage changing

2016-03-22 08:43:20
Subject: Re: [Bacula-users] Properly storage changing
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Александр Чапкин <watashi AT reisei DOT ru>
Date: Tue, 22 Mar 2016 09:40:51 -0300 (BRT)
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/
===========================================================================
------------------------------------------------------------------------------
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>