On 12/11/2018 1:09 AM, Jerry Lowry wrote:
Well,  The raid was (8) 6TB disks attached to an ATTO Tech raid controller in a supermicro cabinet. It was setup as a raid-5 disk array.  The ATTO support group know how it was configured as they have been helping me since Thursday.  The raid setup is not the problem, that can be rebuilt to duplicate the on disk file structure. Bacula was using this raid array as storage for different clients in my network. Each client had a directory on the array and with in each directory there were anywhere from 3 bacula volumes to 8 volumes. Each volume held any where from 250 GB to 320 GB. Two of the clients would have an offsite backup done each week. A Bacula copy job would run each week and copy that weeks backups on to a hot swap raid disk running on the same system. The system was the Director and Storage director combined. What I want to do is to restore the daily volumes into the new raid array from the offsite disks from the most recent offsite backups. Will any of the bacula utilities enable me to do this?


No special tools are needed. If the original volume files no longer exist, then the volumes (and their jobs) can be deleted from the catalog using 'delete volume'. When bacula finds a Copy of a job when a Job is deleted from the catalog, then it will automatically promote the Copy as the real backup for that job so that subsequent restores use the promoted copy rather than the original. The Copy literally replaces the original and the original ceases to exist. At that point, a normal restore will automatically use those promoted volumes. You should ensure that those promoted volumes are marked as Used so that no jobs will attempt to write to them.

If auto-labeling is being used, then jobs should create new volumes as needed when they run. If not, then you will manually create new empty volume files in the client directories and label them using the Label command from bconsole.



Thanks,
jerry

On Mon, Dec 10, 2018 at 6:01 PM Phil Stracchino <ph...@caerllewys.net <mailto:ph...@caerllewys.net>> wrote:

    On 12/10/18 7:44 PM, Jerry Lowry wrote:
    > Hi,
    > Last thursday I was adding a disk to the bacula raid array when the
    > system decide to fail. When it rebooted my raid array was gone. This
    > raid was where all of my daily backups were held, which is where
    I do my
    > offsite backups from.  The database is fine, catalog is in working
    > order.  I rebuilt the server and per Raid Support I have all new
    disks.
    >
    > I need to recreate the physical backup volumes for each of the
    clients
    > back on the raid array. I have looked at the utility document.
    Is bcopy
    > what I need to use?  I want recreate for example the file
    structure on
    > disk call /engineering/tools with the volumes "tool-3, tools-4,
    tools5...".


    In ordert to be able to answer this question, anyone here would
    need to
    know a lot more about how your RAID was set up.  But you're probably a
    lot better off asking for help from whoever made the tools you used to
    build it, or community forums for them.  They'll need to know what you
    built it with too.



--   Phil Stracchino
      Babylon Communications
    ph...@caerllewys.net <mailto:ph...@caerllewys.net>
    p...@co.ordinate.org <mailto:p...@co.ordinate.org>
      Landline: +1.603.293.8485
      Mobile:   +1.603.998.6958


    _______________________________________________
    Bacula-users mailing list
    Bacula-users@lists.sourceforge.net
    <mailto:Bacula-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/bacula-users



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to