But if you will disable the old Storage, you can just edit the IP address
and passwords of this old Storage and change to the information of new
storage, in this case "IP address and password", of course you had to move
manually the volumes to the new storage.

Bacula create new Storages by name. If you change the Storage name,
probably bacula will create a a new row in Catalog, you can check this
using this query: mysql -u bacula -p"password" -D bacula -e "select * from
Storage";

This way if you had changed the address and password of this storage,
bacula will know where the volumes are.

Best regards

*Wanderlei Hüttel*
http://www.huttel.com.br

2016-12-08 18:24 GMT-02:00 Dan Langille <d...@langille.org>:

> To be clear, we are not solving an existing problem.  My backups and
> restores are working.
>
> We are discussing whether or not Bacula should know/notice that Volumes
> are now on another SD.
>
> --
> Dan Langille - BSDCan / PGCon
> d...@langille.org
>
>
>
>
> On Dec 8, 2016, at 3:21 PM, Dan Langille <d...@langille.org> wrote:
>
> It is a completely new SD.  There is no IP address to change because it's
> a new IP address.
> --
> Dan Langille - BSDCan / PGCon
> d...@langille.org
>
>
>
>
> On Dec 8, 2016, at 3:19 PM, Wanderlei Huttel <wanderleihut...@gmail.com>
> wrote:
>
> Hello Dan
>
> Probably because if you add a new Storage, you will need to changer the IP
> address of this Storage in bacula-dir.conf.
>
> Best Regards
>
> *Wanderlei Hüttel*
> http://www.huttel.com.br
>
> 2016-12-08 18:00 GMT-02:00 Dan Langille <d...@langille.org>:
>
>> OK, but how will Bacula know that the files/Volumes are now on a new SD?
>> The db is still pointing to the old SD.
>>
>> --
>> Dan Langille - BSDCan / PGCon
>> d...@langille.org
>>
>>
>> On Dec 8, 2016, at 10:50 AM, Kern Sibbald <k...@sibbald.com> wrote:
>>
>> Hello Dan,
>>
>> From what users have reported, one must update the storageid, and it is
>> clear to me that if you use the same name for the Storage in the Director's
>> resource but it points to a different machine, you must update the
>> storageid.  However, if you use a new name for the new storage daemon, in
>> theory one should not need to update the storageid.  If it is required then
>> in my view there is a problem, because Bacula *should* be relatively
>> transparent to allowing you to move volumes from one Storage definition to
>> another.
>>
>> Best regards,
>> Kern
>>
>> On 12/08/2016 03:47 PM, Dan Langille wrote:
>>
>> I added another bacula-sd to my configuration.  It has more storage than
>> the existing SD.  Both SD use file-based storage.
>>
>> All new backups are going to the new SD.
>>
>> I want to copy all the old Volumes to the new SD and have them available
>> there.
>>
>> I suspect all I need to do is copy the Volumes over, then run an SQL
>> command to adjust the storageid for all volumes which refer to old SD.
>>
>> I think some of you have already done this. I know I have:
>> https://dan.langille.org/2013/08/06/moving-bacula-volu
>> mes-from-one-storage-to-another/
>>
>> --
>> Dan Langille - BSDCan / PGCon
>> d...@langille.org
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today.http://sdm.link/xeonphi
>>
>>
>>
>> _______________________________________________
>> Bacula-users mailing 
>> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today.http://sdm.link/xeonphi
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi_
> ______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to