Bacula-users

[Bacula-users] Change media type of existing media

2010-03-03 19:11:13
Subject: [Bacula-users] Change media type of existing media
From: Robert LeBlanc <robert AT leblancnet DOT us>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 3 Mar 2010 16:40:20 -0700
Hello all,

I've got some file storage that I use for backups and I've created a
few storage declarations for a few pools which are just different
directories on the same file system. I specified "Media Type = File"
for all the declarations and when I went to do a restore that spanned
multiple of these storage declarations, I got an error similar to
"Please mount volume X in storage A", but that volume is in storage B.
I was able to just move the file to the storage A directory and it was
happy, then I moved it back.

I found that what I should have done when I set everything up was to
give each storage a different Media Type (like File-A, File-B, File-C,
etc). How can I change the media type for existing volumes? In Bat
there doesn't seem to be a way to change it on a volume basis. Will
'update' then 'volume parameters' then 'All Volumes from Pool' do the
trick if I make the appropriate changes in bacula-dir.conf and
bacula-sd.conf first? Or will this require some direct SQL
manipulation?

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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>
  • [Bacula-users] Change media type of existing media, Robert LeBlanc <=