Re: [Bacula-users] dvd problems

2009-02-05 Thread Wes Hardaker
 On Wed, 21 Jan 2009 21:13:26 +0100, Bruno Friedmann br...@ioda-net.ch s
aid:

BF I remember some message about broken code in 2.4 (Not tested as it
BF should have been) And some works on the 2.5 (next 3.0 have been made
BF )

BF Before you downgrade to the 2.0, perharps you could find a way as
BF you have the specs in place, to give a try to 2.5 and so help all
BF the project to keep the feature up to date and running without this
BF annoying bugs.

Well, I compiled 2.5 (from a tar-ball, not from the code repository) and
installed it and just ran a few backup tests to DVD media.  The first
incremental I ran wrote two partitions to the disk and ended just fine.

The second (a full) however, failed to write the DVD due to the typical
problem I've been seeing:

JobId 3757: Volume BaculaDVDTwo0140 previously written, moving to end of data
.
JobId 3757: Error: Bacula cannot write on DVD Volume BaculaDVDTwo0140 because
: The sizes do not match! Volume=1125393071 Catalog=286543567
JobId 3757: Marking Volume BaculaDVDTwo0140 in Error in Catalog.
JobId 3757: Please mount Volume BaculaDVDTwo0124 or label

Note...  The Volume size is correct, not the catalog.  IE, the DVD
writing process has succeeded just fine and the two parts from the first
backup job are on the disk and are the right size (I know because I
lightly hacked the dvd-handler to keep the older ones around for a bit).

The catalog, however, seems to have the wrong notion of what the proper
size should be.  The question is why???

--
In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find.  -- Terry Pratchett

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread Basura


Jari Fredriksson wrote:
  

i upgraded today to bacula 2.4.2 but won't be trying
anything in hope 
for some feedback.



Current Bacula does not support DVD any more, and the DVD code in it will 
propably get removed in some future release.

  

so dvd support started for a while and now it is being removed again??

I use older version 2.0.2, and that seems to work ok. 2.4.2 does not work. 
Neither does 2.2.8.

You propably have to relabel those empty discs, as the label file size should 
be 202 bytes. Bacula DVD documentation gives the needed commands to blank the 
disc so that you can label them again.

  
they are 202 bytes, that's the size that bacula dir reports when i try 
to use those, but the problem is bscan doesn't recognize them as 202, 
thats what creates the size mismatch even after i try to fix the catalog 
with bscan

2) after trying lots of things i manage to burn a disk
but when it asked for the second disk (which is actually
part #1, it looks like bacula 
burns from last to first??) 



I have not seen this kind of behaviour in 2.0.2 version.


  
finally, if i were to backup to a file and then write a script to burn 
the files, what problems would i encounter? when i used dar to backup, 
the biggest problem i had with this method was that the catalog pointed 
to those tmp files in the hard drive but they were actually in the dvd 
so the wrong paths made me have to manually update every dvd backup's 
path in the database. will bacula do the same? (i.e. store in the 
catalog some path to a backup that would get screwed if i moved the 
backups from temporary dirs to dvds). other problems were not the whole 
backup being accessible at once (since you have to change disks) and 
controlling when to use new disks (so if a disk has only 400MB free it 
should create a first 400MB file and then 4.5GB subsequent files for the 
rest of the backup). All this was very annoying since i had to code it 
all in a bash script. This was the main reason to switch to bacula, that 
it natively supported dvds. Any suggestions?


thanks for the reply Jari

Alejandro

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread Jari Fredriksson
 bacula do the same? (i.e. store in the catalog some path
 to a backup that would get screwed if i moved the backups
 from temporary dirs to dvds). other problems were not the
 whole backup being accessible at once (since you have to
 change disks) and controlling when to use new disks (so
 if a disk has only 400MB free it should create a first
 400MB file and then 4.5GB subsequent files for the rest
 of the backup). All this was very annoying since i had to
 code it all in a bash script. This was the main reason to
 switch to bacula, that it natively supported dvds. Any
 suggestions? 
 

Using a File storage and copying those manually or by script to DVD is the 
official Bacula staff solution. But I don't like it.

I suggest you download 2.0.2 from Sourceforge and use that. Backup  Restore 
both works with it, but I have no idea about Recycle. I have 100 DVD+RW discs, 
and I'm now writing to #30. Takes some time until all 100 is full...

I used to use a DAT tape, but as it died, I had to go with a lot cheaper DVD. 
And then I downgraded from latest version to the 2.0.2.






--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread John Drescher
On Wed, Jan 21, 2009 at 11:44 AM, Jari Fredriksson ja...@iki.fi wrote:
 bacula do the same? (i.e. store in the catalog some path
 to a backup that would get screwed if i moved the backups
 from temporary dirs to dvds). other problems were not the
 whole backup being accessible at once (since you have to
 change disks) and controlling when to use new disks (so
 if a disk has only 400MB free it should create a first
 400MB file and then 4.5GB subsequent files for the rest
 of the backup). All this was very annoying since i had to
 code it all in a bash script. This was the main reason to
 switch to bacula, that it natively supported dvds. Any
 suggestions?


 Using a File storage and copying those manually or by script to DVD is the 
 official Bacula staff solution. But I don't like it.


I believe the problem is allocation of developer time and finding a
developer who wants to work on this.

John

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread John Drescher
 Who ( in the familly of admins ) could work with 4.5Go Media (even with 20Go 
 blue-Ray )
 We normally work with very big volumes, some hundred Go to thousand To.


I actually used bacula-2.4.X and dvd media at work to backup an openvz
guest and move that to home so that I could place it on the outside of
a firewall (too difficult/expensive at work to get machines in the
DMZ). However with that said I have 20+ TB of tape backups here at
work making DVD media not a real option. At home it is dvd becoming
less useful since the price reduction in hard drives ( I mean 1.5TB
for $130 USA Wow) .

John

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread Wes Hardaker
 On Wed, 21 Jan 2009 18:44:41 +0200, Jari Fredriksson ja...@iki.fi 
 said:

JF I suggest you download 2.0.2 from Sourceforge and use that. Backup 
JF Restore both works with it, but I have no idea about Recycle. I have
JF 100 DVD+RW discs, and I'm now writing to #30. Takes some time until
JF all 100 is full...

I've run DVD backups on a 2.0.X system for 2+ years without any
troubles (once I patched dvd-handler as noted in previous messages; the
patch idea was never adopted into the main line code for some reason
even though it's a trivial change).

I've since upgraded to 2.4 and DVDs get written just fine still, but the
catalog system somehow gets confused about the archive size.  It
frequently marks the disk as bad because the catalog size of the volume
doesn't match the real size.  Looking at the previous writes, the disk
is actually correct but bacula is not.  Go figure.  I'll probably
downgrade to 2.0 again as there is no reason why DVDs can't work (they
work just fine) and there is no reason why they shouldn't be supported.

I suspect there is even enough people interested and willing to help
out, judging by recent mailings, but for some reason the support is
going to be dropped instead???
-- 
In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find.  -- Terry Pratchett

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dvd problems

2009-01-21 Thread Bruno Friedmann
Wes Hardaker wrote:
 On Wed, 21 Jan 2009 18:44:41 +0200, Jari Fredriksson ja...@iki.fi 
 said:
 
 JF I suggest you download 2.0.2 from Sourceforge and use that. Backup 
 JF Restore both works with it, but I have no idea about Recycle. I have
 JF 100 DVD+RW discs, and I'm now writing to #30. Takes some time until
 JF all 100 is full...
 
 I've run DVD backups on a 2.0.X system for 2+ years without any
 troubles (once I patched dvd-handler as noted in previous messages; the
 patch idea was never adopted into the main line code for some reason
 even though it's a trivial change).
 
 I've since upgraded to 2.4 and DVDs get written just fine still, but the
 catalog system somehow gets confused about the archive size.  It
 frequently marks the disk as bad because the catalog size of the volume
 doesn't match the real size.  Looking at the previous writes, the disk
 is actually correct but bacula is not.  Go figure.  I'll probably
 downgrade to 2.0 again as there is no reason why DVDs can't work (they
 work just fine) and there is no reason why they shouldn't be supported.
 
 I suspect there is even enough people interested and willing to help
 out, judging by recent mailings, but for some reason the support is
 going to be dropped instead???

I'm not saying that the dvd backup possibility should disappear.

I remember some message about broken code in 2.4 (Not tested as it should have 
been)
And some works on the 2.5 (next 3.0 have been made )

Before you downgrade to the 2.0, perharps you could find a way as you have the 
specs in place,
to give a try to 2.5 and so help all the project to keep the feature up to date 
and running
without this annoying bugs.
It's just the time ... I know that Kern and other are preparing a new beta with 
the last db
updates in the next few weeks (days ? :-) )

I'm pretty sure that your experience in dvd backups, and contributions to test, 
and report
error or success on the new version before it was release would be greatly 
appreciate.

Time to contribute :-)


-- 

 Bruno Friedmann


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] dvd problems

2009-01-20 Thread Basura
Hey guys
i've been using bacula for some time to do file backups with no problems.
Now i am trying to do dvd backups and i've been making nice coasters.
i basically have 2 separate problems and fixing either of them would be 
good, both would be perfect. i followed both dvd tutorials available and 
trying to find previous messages on the list but searching isn't that easy.
Anyway, here is my first problem. i'm using ubuntu 2.6.24 and bacula 2.2.8
1) i labeled 2 disks the same (this was actually very confusing, after 
labeling the disk bacula still was asking for a disk to be labeled, it 
didn't say anything about it being the second disk) and when the backup 
process failed before burning the actual data the disks became unusable, 
i tried fixing the volBytes entry using bscan and making the volume 
appendable but bscan seemed to be creating a wrong entry by like 20 
bytes so bacula still complained about sizes mismatch. How can i use 
those disks that are still almost new just labeled but with nothing in 
them??
2) after trying lots of things i manage to burn a disk but when it asked 
for the second disk (which is actually part #1, it looks like bacula 
burns from last to first??) i made a mistake and stopped the process, so 
now i have a disk with the complete and valid second part of the backup. 
Is there a way to resume the process using that disk that already has 
everything from disk #2 in it??

this is the current status of my catalog

+-++---+-+---+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes  | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+---+--+--+-+--+---+---+-+
|   8 | mazinger-backup002 | Full  |   1 | 4,680,732,370 
|1 |   31,536,000 |   1 |0 | 0 | DVD   | 
2008-12-27 02:32:39 |
|  10 | mazinger-backup| Append|   1 |   184 
|0 |   31,536,000 |   0 |0 | 0 | DVD   | 
2008-12-26 18:01:16 |
+-++---+-+---+--+--+-+--+---+---+-+


i upgraded today to bacula 2.4.2 but won't be trying anything in hope 
for some feedback.

Thanks for any thoughts

Alejandro

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users