[Bacula-users] "Full" tapes with zero bytes?

2018-12-11 Thread mark . bergman
I'm running Bacula 9.0.8 under CentOS 6, and I'm seeing something odd with some 
tapes. Backups were written to the tapes, but a query of the status of volumes 
in the tape changer shows that the media is
"Full" with zero GB:



Choose a query (1-50): 15

+-++---+-+--+-+---+---+
| mediaid | volumename | gb| storage | slot | pool| 
mediatype | volstatus |

+-++---+-+--+-+---+---+
| 264 | 006273L6   | 0 | neoxl80 |   19 | Full| LTO6
  | Full  |
| 220 | 006200L6   | 0 | neoxl80 |   20 | Incremental | LTO6
  | Full  |


However, a query of the individual volumes shows a more realistic byte count, 
but not enough to fill the media:

Choose a query (1-50): 14
Enter Volume name: 006273L6

++---+-+--+---+-+++
| jobid  | name  | starttime   | type | level | files   
| bytes  | status |

++---+-+--+---+-+++
| 59,592 | home-w| 2018-11-06 10:51:48 | B| F | 464,376 
| 62,935,096,475 | T  |
| 60,069 | BackupCatalog | 2018-11-16 23:10:02 | B| F |   2 
|115 | T  |
| 60,084 | projects-k| 2018-11-17 01:45:00 | B| F |   2 
|  0 | T  |

++---+-+--+---+-+++
*


Choose a query (1-50): 14
Enter Volume name: 006200L6

+++-+--+---+---+---++
| jobid  | name   | starttime   | type | level | files 
| bytes | status |

+++-+--+---+---+---++
| 59,608 | projects-t | 2018-11-06 11:53:17 | B| I | 1,328,587 
| 1,182,458,293,840 | f  |
| 60,087 | projects-y | 2018-11-17 01:45:02 | B| D | 1 
| 0 | T  |

+++-+--+---+---+---++
*

The tapes were not manually updated to set their status to "Full".

Any ideas what is happening?

Thanks,

Mark


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


Re: [Bacula-users] restore raid array

2018-12-11 Thread Jerry Lowry
Josh,
Yes, I understand how the copy jobs works when the original job is
deleted.  What I need to do is rebuild the client directories with the
backup database using the latest offsite backup, if possible.  I don't want
to restore the backup for the client, I want to rebuild the data in the
directories so that a restore can be done from there.  Hope that makes
since.  I know that I can use the offsite backups to restore the client
data. I want to know if I can rebuild what would be the initial backup of
the volume.

thanks,
jerry

On Tue, Dec 11, 2018 at 6:18 AM Josh Fisher  wrote:

>
> 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 
> 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
>>   p...@co.ordinate.org
>>   Landline: +1.603.293.8485
>>   Mobile:   +1.603.998.6958
>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore raid array

2018-12-11 Thread Josh Fisher


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 > 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 
p...@co.ordinate.org 
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


___
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
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-enterprise-win64-7.4.4 <> bacula-win64-9.2.2 with bacula server upgrade 7.4.4 to 9.2.2

2018-12-11 Thread Wanderlei Huttel
Hello Olivier

I also had the same problem, but after a full backup it returned to normal
behavior

Atenciosamente

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


Em ter, 11 de dez de 2018 às 08:40, Olivier Delestre <
olivier.deles...@univ-rouen.fr> escreveu:

> Hi,
>
> Recently, i upgrade my bacula server 7.4.7 to 9.2.2
> Alls works fine.
>
> Yesterday , i upgrade a windows client enterprise 7.4.4 to bacula 9.2.2.
>
> But , i have a strange result. The incremental is too long . it's not
> normal.
> on a small volumetry, it does not show but it is several To ( The Full 7To
> )
>
> can there be a difference in behavior between these two versions (
> enterprise 7.4.4 and bacula-win64-9.2.2  )?
>
> I return with the client 7.4.4 :(
>
>
>
>
> ___
> 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


[Bacula-users] bacula-enterprise-win64-7.4.4 <> bacula-win64-9.2.2 with bacula server upgrade 7.4.4 to 9.2.2

2018-12-11 Thread Olivier Delestre

Hi,

Recently, i upgrade my bacula server 7.4.7 to 9.2.2
Alls works fine.

Yesterday , i upgrade a windows client enterprise 7.4.4 to bacula 9.2.2.

But , i have a strange result. The incremental is too long . it's not 
normal.

on a small volumetry, it does not show but it is several To ( The Full 7To )

can there be a difference in behavior between these two versions ( 
enterprise 7.4.4 and bacula-win64-9.2.2  )?


I return with the client 7.4.4 :(




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