Re: [Bacula-users] Problem adding a new tape drive

2008-01-10 Thread John Drescher
> I have been trying to add another tape drive to my server.  These are not in
>
> an autochanger, they are separate tape drives.  I can access the tape drive
> from
>
> Linux with mt and as you will see in the documentation below btape worked as
>
> well.  But when I try to access the tape from bacula it does not see it.
>
> I thought I had the configuration setup correctly but I must have missing
>
> something.  I need another "pair" of eyes to look at the SD and DIR config.
>
>
>

I am confused your status st shows that bacula does see the drive.
What do you mean by this? You can not run jobs on Quantum-DLT-V4-1?

John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem adding a new tape drive

2008-01-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jerry Lowry wrote:
> I have been trying to add another tape drive to my server.  These are not in
> 
> an autochanger, they are separate tape drives.  I can access the tape
> drive from
> 
> Linux with mt and as you will see in the documentation below btape worked as
> 
> well.  But when I try to access the tape from bacula it does not see it.
> 
> I thought I had the configuration setup correctly but I must have missing
> 
> something.  I need another "pair" of eyes to look at the SD and DIR config.
> 
>  
> 
> thanks

What gives with the Quantum-DLTV4-1 vs. Quantum-DLT-1?

> ---
> 
> label
> 
> The defined Storage resources are:
> 
>  1: File
> 
>  2: Quantum-DLT-V4
> 
>  3: Quantum-DLT-V4-1
> 
> Select Storage resource (1-3): 3
> 
> Enter new Volume name: distress-mon0208
> 
> Defined Pools:
> 
>  1: Default
> 
>  2: Monthly
> 
> Select the Pool (1-2): 2
> 
> Connecting to Storage daemon Quantum-DLT-V4-1 at
> distress.ACCOUNTING.EDT.LOCAL:9103 ...
> 
> Sending label command for Volume "distress-mon0208" Slot 0 ...
> 
> 3999 Device "Quantum-DLT-1" not found or could not be opened.
> 
> Label command failed for Volume distress-mon0208.
> 
> Do not forget to mount the drive!!!
> 
>  
> 
> st stor
> 
> The defined Storage resources are:
> 
>  1: File
> 
>  2: Quantum-DLT-V4
> 
>  3: Quantum-DLT-V4-1
> 
> Select Storage resource (1-3): 3
> 
> Connecting to Storage daemon Quantum-DLT-V4-1 at
> distress.ACCOUNTING.EDT.LOCAL:9103
> 
>  
> 
> distress-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Zod)
> 
> Daemon started 09-Jan-08 11:52, 11 Jobs run since started.
> 
>  Heap: bytes=19,491 max_bytes=152,863 bufs=84 max_bufs=103
> 
>  
> 
> Running Jobs:
> 
> No Jobs running.
> 
> 
> 
>  
> 
> Jobs waiting to reserve a drive:
> 
> 
> 
>  
> 
> Terminated Jobs:
> 
>  JobId  LevelFiles  Bytes   Status   FinishedName
> 
> ===
> 
>   1800  Incr20211.02 G  OK   09-Jan-08 19:24 Futility
> 
>   1801  Incr114995.0 M  OK   09-Jan-08 20:07 Denial
> 
>   1802  Incr174266.9 M  OK   09-Jan-08 21:07 nestucca
> 
>   1803  Incr4471.864 G  OK   09-Jan-08 22:10 Bagby
> 
>   1804  Full 35,51215.28 G  OK   09-Jan-08 22:41 Destruction
> 
>   1805  Full  0 0   Other09-Jan-08 23:11 Doom
> 
>   1806  Incr  1,3491.758 G  OK   10-Jan-08 08:47 Gloom
> 
>   1807  Incr663777.3 M  OK   10-Jan-08 08:49 Distress
> 
>   1808  Full  1162.4 M  OK   10-Jan-08 08:49 BackupCatalog
> 
>   1809  Full  0 0   Cancel   10-Jan-08 14:43 Doom
> 
> 
> 
>  
> 
> Device status:
> 
> Device "FileStorage" (/backupdb/backup) is not open.
> 
> Device "Quantum-DLT" (/dev/nst0) is mounted with
> Volume="distress-010908" Pool="Default"
> 
> Total Bytes=32,169,424,896 Blocks=498,657 Bytes/block=64,512
> 
> Positioned at File=36 Block=0
> 
> 
> 
>  
> 
> In Use Volume status:
> 
> distress-010908 on device "Quantum-DLT" (/dev/nst0)
> 
> 
> 
>  
> 
> [EMAIL PROTECTED] bin]# btape -c /usr/local/bacula/bin/bacula-sd.conf 
> /dev/nst1
> 
> Tape block granularity is 1024 bytes.
> 
> btape: butil.c:286 Using device: "/dev/nst1" for writing.
> 
> btape: btape.c:368 open device "Quantum-DLT-1" (/dev/nst1): OK
> 
> *test
> 
> I'm going to write 1000 records and an EOF
> 
> then write 1000 records and an EOF, then rewind,
> 
> and re-read the data to verify that it is correct.
> 
>  
> 
> This is an *essential* feature ...
> 
>  
> 
> btape: btape.c:825 Wrote 1000 blocks of 64412 bytes.
> 
> btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)
> 
> btape: btape.c:841 Wrote 1000 blocks of 64412 bytes.
> 
> btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)
> 
> btape: btape.c:850 Rewind OK.
> 
> 1000 blocks re-read correctly.
> 
> Got EOF on tape.
> 
> 1000 blocks re-read correctly.
> 
> === Test Succeeded. End Write, rewind, and re-read test ===
> 
>  
> 
>  
> 
>  The test ran through without errors...only copied first part for
> brevity
> 
>  
> 
> bacula-sd.conf
> 
>  
> 
> Device {
> 
>   Name = Quantum-DLT  # First tape ? daily and weekly
> 
>   Drive Index = 0
> 
>   Media Type = DLT-V4
> 
>   Archive Device = /dev/nst0
> 
>   AutomaticMount = no;   # when device opened, read it
> 
>   AlwaysOpen = yes;
> 
>   RemovableMedia = yes;
> 
>   RandomAccess = no;
> 
>   AutoChanger = no
> 
>  
> 
> Device {
> 
>   Name = Quantum-DLT-1# Second tape ? monthly and yearly
> 
>   Drive Index = 1
> 
>   Media Type = DLT-V4
> 
>   Archive Device = /dev/nst1
> 
>   AutomaticMount = no;   # when device opened, read it
> 
>   AlwaysOpen = yes;
> 
>   RemovableMedia = yes;
> 
>   RandomAccess

[Bacula-users] Problem adding a new tape drive

2008-01-10 Thread Jerry Lowry
I have been trying to add another tape drive to my server.  These are not in

an autochanger, they are separate tape drives.  I can access the tape drive
from

Linux with mt and as you will see in the documentation below btape worked as

well.  But when I try to access the tape from bacula it does not see it.

I thought I had the configuration setup correctly but I must have missing

something.  I need another "pair" of eyes to look at the SD and DIR config.

 

thanks

 

 

---

label

The defined Storage resources are:

 1: File

 2: Quantum-DLT-V4

 3: Quantum-DLT-V4-1

Select Storage resource (1-3): 3

Enter new Volume name: distress-mon0208

Defined Pools:

 1: Default

 2: Monthly

Select the Pool (1-2): 2

Connecting to Storage daemon Quantum-DLT-V4-1 at
distress.ACCOUNTING.EDT.LOCAL:9103 ...

Sending label command for Volume "distress-mon0208" Slot 0 ...

3999 Device "Quantum-DLT-1" not found or could not be opened.

Label command failed for Volume distress-mon0208.

Do not forget to mount the drive!!!

 

st stor

The defined Storage resources are:

 1: File

 2: Quantum-DLT-V4

 3: Quantum-DLT-V4-1

Select Storage resource (1-3): 3

Connecting to Storage daemon Quantum-DLT-V4-1 at
distress.ACCOUNTING.EDT.LOCAL:9103

 

distress-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Zod)

Daemon started 09-Jan-08 11:52, 11 Jobs run since started.

 Heap: bytes=19,491 max_bytes=152,863 bufs=84 max_bufs=103

 

Running Jobs:

No Jobs running.



 

Jobs waiting to reserve a drive:



 

Terminated Jobs:

 JobId  LevelFiles  Bytes   Status   FinishedName 

===

  1800  Incr20211.02 G  OK   09-Jan-08 19:24 Futility

  1801  Incr114995.0 M  OK   09-Jan-08 20:07 Denial

  1802  Incr174266.9 M  OK   09-Jan-08 21:07 nestucca

  1803  Incr4471.864 G  OK   09-Jan-08 22:10 Bagby

  1804  Full 35,51215.28 G  OK   09-Jan-08 22:41 Destruction

  1805  Full  0 0   Other09-Jan-08 23:11 Doom

  1806  Incr  1,3491.758 G  OK   10-Jan-08 08:47 Gloom

  1807  Incr663777.3 M  OK   10-Jan-08 08:49 Distress

  1808  Full  1162.4 M  OK   10-Jan-08 08:49 BackupCatalog

  1809  Full  0 0   Cancel   10-Jan-08 14:43 Doom



 

Device status:

Device "FileStorage" (/backupdb/backup) is not open.

Device "Quantum-DLT" (/dev/nst0) is mounted with Volume="distress-010908"
Pool="Default"

Total Bytes=32,169,424,896 Blocks=498,657 Bytes/block=64,512

Positioned at File=36 Block=0



 

In Use Volume status:

distress-010908 on device "Quantum-DLT" (/dev/nst0)



 

[EMAIL PROTECTED] bin]# btape -c /usr/local/bacula/bin/bacula-sd.conf /dev/nst1

Tape block granularity is 1024 bytes.

btape: butil.c:286 Using device: "/dev/nst1" for writing.

btape: btape.c:368 open device "Quantum-DLT-1" (/dev/nst1): OK

*test

I'm going to write 1000 records and an EOF

then write 1000 records and an EOF, then rewind,

and re-read the data to verify that it is correct.

 

This is an *essential* feature ...

 

btape: btape.c:825 Wrote 1000 blocks of 64412 bytes.

btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)

btape: btape.c:841 Wrote 1000 blocks of 64412 bytes.

btape: btape.c:499 Wrote 1 EOF to "Quantum-DLT-1" (/dev/nst1)

btape: btape.c:850 Rewind OK.

1000 blocks re-read correctly.

Got EOF on tape.

1000 blocks re-read correctly.

=== Test Succeeded. End Write, rewind, and re-read test ===

 

 

 The test ran through without errors...only copied first part for brevity

 

bacula-sd.conf

 

Device {

  Name = Quantum-DLT  # First tape - daily and weekly

  Drive Index = 0

  Media Type = DLT-V4

  Archive Device = /dev/nst0

  AutomaticMount = no;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = no

 

Device {

  Name = Quantum-DLT-1# Second tape - monthly and yearly

  Drive Index = 1

  Media Type = DLT-V4

  Archive Device = /dev/nst1

  AutomaticMount = no;   # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = no

 

***bacula-dir.conf-  storage device section

 

# Definition of DDS tape storage device

Storage {

  Name = Quantum-DLT-V4

#  Do not use "localhost" here 

  Address = distress.ACCOUNTING.EDT.LOCAL# N.B. Use a fully
qualified name here

  SDPort = 9103 

  Password = "Dn91BxJ/wNTn+9u3OX4ef1iRBXh1/Ch2GBaNiQzoQ9ny"  #
password for Storage daemon

  Device = Quantum-DLT # must be same as Device in Storage daemon

  Media Type = DLT-V4  # must be same as MediaType in Storage
daemon

#  Autochanger = yes   

Re: [Bacula-users] tape volume capacity exceeds

2008-01-10 Thread pedro moreno
On Jan 9, 2008 6:53 AM, John Drescher <[EMAIL PROTECTED]> wrote:
> > > i'd guess the drive is using hardware compression. on my LTO4 
> > > (800/1600GB) i get:
> > > -- michael
> >
> > > Do you have software or hardware compression enabled in your
> > > FileSets?
> >
> Just the hardware compression from the tape drive. Enabling software
> compression on a modern tape drive will most likely not add more space
> and it will make the backup take much longer since the hardware
> compression on these drives are very fast.
>
> John
>
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

   You are lucky.

   My LTO-1 drive says 200GB compression 2:1, and the biggest full
backup is < 179GB, but some servers have a lot CAD and pictures files,
here i lost the battle :-(...

   I hope some day i can get more than 200GB.

   Cheers!!!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] solaris zfs

2008-01-10 Thread Ken Gunderson
On Tue, 09 Oct 2007 18:08:32 +0200
Attila Fülöp <[EMAIL PROTECTED]> wrote:

> Markus,
> 
> Markus Goldberg wrote:
> > Hi,
> > what is the status of backing up Solaris-10-zfs-filesystems?
> > 
> > Files seems to be backuped but i get the following error-message(s):
> > Warning: backup.c:974 Error reading ACL of /export/mail/
> 
> the problem is that the ACL interface changed from ufs (posix style)
> to zfs (NFSv4). Bacula can handle posix style ACL, but not the new
> NFSv4 ones. I have written code (for the 2.0 HEAD) which fully
> supports NFSv4 ACL on Solaris 10. The problem is, the code isn't
> tested well enough and I need to write regression tests for the ACL
> handling.
> 
> Since we postponed the use of NFSv4 ACL in one of our projects, I
> cannot do this in working hours anymore. Well, actually I ended up
> programing NFSv4 ACL support in my spare time anyhow.
> 
> If there is enough interest I could port the code to the current
> HEAD and start writing regression tests. A backport to 2.2.x
> shouldn't be a big problem then. The drawback is that my spare time
> is quite limited, so this may take a while.
> 
> Just a few further notes: Unless you are using ACL on your zfs your
> data schould be save. You just have to live with the annoying error
> messages. You can check for this: "find /zfs_mount_point -acl" prints
> all files with ACL, "ls -V file_with_acl" show the associated ACL.

Curious if there is any update on this?  I'm thinking about using some
ZFS mounts and it would be nice to back them up via Bacula.

-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger with two drives

2008-01-10 Thread Arno Lehmann
Hi,

10.01.2008 20:34, Mike Seda wrote:
> hi arno,
> i forgot to mention that i have:
> Maximum Concurrent Jobs = 2

Where do you have that setting?

> should i increase that number? fyi, i just noticed that two concurrent 
> backup jobs do in fact run, but only for the _same_ host. it is weird.

I'm not so sure yet...

Let me explain what I usually set up regarding maximum concurrent jobs:
In the FD: Whatever I think is reasonable for that machine and its 
network link, usually one or two
In the SD: Whatever you think it can manage. Depends on number of 
drives, available spool space, and settings in the DIR. Usually rather 
high - up to 20 or upwards even.
In the DIR/Job resource: Typically one.
In the DIR/Director resource: What you think is a reasonable upper 
limit for the jobs running simultaneously. This applies to all 
configured storage devices, so you'll need at least as many jobs as 
you have storage devices, usually.
DIR/Storage resource: Here goes the real number of jobs you want to go 
to that device in parallel. This is where I actually manage how many 
jobs run in parallel.

Short example:
Let's assume we have 20 clients, each with one job, all scheduled at 
the same time.
FD: 20
SD: 20
DIR/Jobs: 1
DIR/Director: 20
DIR/Storage1: 1
DIR/Storage2: 4
DIR/Storage3: 2

In this case, Bacula could run up to 7 jobs in parallel, but would 
never run more than 1/4/2 jobs to Storage1/2/3 at the same time.

Provided you've got your storage devices assigned to the pools, and 
the different job levels go to separate pools - which is what I prefer 
- and Storage2 is an autochanger with more than one drive and tapes 
from all pools loaded such a setup can help you using your tape drives 
most efficiently.

Arno


> regards,
> mike
> 
> 
> Arno Lehmann wrote:
>> Hi,
>>
>> 08.01.2008 17:34, John Drescher wrote:
>>   
>>> On Jan 8, 2008 11:21 AM, Mike Seda <[EMAIL PROTECTED]> wrote:
>>> 
 all,
 i am frustrated beyond belief.

 i recently spent $8K for a second tape drive for my library.

 all i want is for two bacula backup jobs (one for each tape drive) to
 run concurrently. i upgraded the backup server to 2.2.7 (to take
 advantage of improved code for handling multiple drives). the clients
 are still running 2.0.x.

 i have looked at *so* many postings on concurrent jobs, and have tried
 multiple configuration changes but to no avail. please tell me that
 there is a way to make two concurrent backup jobs work. is there anyway
 to put an end to my suffering other than buying a gun? :-P
   
>> Sure...
>>
>>   
 My server setup is:
 Bacula 2.2.7
 RHEL 4 AS
 Quantum PX502 (FC, 2 HP LTO-3 Drives)

 i can send my *.conf files if needed.
   
>> Probably not needed.
>>
>>   
 mike

   
>>> First advice:
>>> Put the two jobs you want to run concurrently on different tape drives
>>> in different pools.
>>> 
>> Also, read the manual chapter on configuring the DIR, especially the 
>> Job section, and even more especially this part:
>>
>> Prefer Mounted Volumes = 
>>  If the Prefer Mounted Volumes directive is set to yes (default 
>> yes), the Storage daemon is requested to select either an Autochanger 
>> or a drive with a valid Volume already mounted in preference to a 
>> drive that is not ready. This means that all jobs will attempt to 
>> append to the same Volume (providing the Volume is appropriate -- 
>> right Pool, ... for that job). If no drive with a suitable Volume is 
>> available, it will select the first available drive. Note, any Volume 
>> that has been requested to be mounted, will be considered valid as a 
>> mounted volume by another job. This if multiple jobs start at the same 
>> time and they all prefer mounted volumes, the first job will request 
>> the mount, and the other jobs will use the same volume.
>>
>>  If the directive is set to no, the Storage daemon will prefer 
>> finding an unused drive, otherwise, each job started will append to 
>> the same Volume (assuming the Pool is the same for all jobs). Setting 
>> Prefer Mounted Volumes to no can be useful for those sites with 
>> multiple drive autochangers that prefer to maximize backup throughput 
>> at the expense of using additional drives and Volumes. This means that 
>> the job will prefer to use an unused drive rather than use a drive 
>> that is already in use.
>>
>> Of course, you do this in addition to enabling basic Job Concurrency...
>>
>> Arno
>>
>>   
>>> John
>>>
>>> -
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> ___
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourcefo

Re: [Bacula-users] autochanger with two drives

2008-01-10 Thread John Drescher
> hi arno,
> i forgot to mention that i have:
> Maximum Concurrent Jobs = 2
>
You do know there are 5 places that  Maximum Concurrent Jobs can be
set depending on what concurrency you wnat to allow with each daemon?
Although I believe in your case you probably only need it in the main
director config.

John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger with two drives

2008-01-10 Thread John Drescher
> ok, for the records, the only right way to use a backup job on a x-Drive
> changer is over the changer device, not directly to a drive inside the
> changer.
>
Since the multidrive scheduling now works well (with bacula-2.3.6) I
am pretty much back to sending all jobs to the autochanger device
unless I want to force bacula to use a particular drive which as I
said only happens if I am running a backup on drive 0 and I want to
label new tapes for the archive. Using label barcodes and then
selecting drive 1 will allow this to continue while drive 0 is
churning away. I am not sure I mentioned it in my first post about
this but I did backup around 7 to 10TB of data using the direct to
drives method and it worked 100% of the time with 2.X versions of
bacula.

John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Jason Helfman
Great. That worked. Thanks!

On Thu, 2008-01-10 at 14:22 -0500, Dan Langille wrote:
> Jason Helfman wrote:
> > On Thu, 2008-01-10 at 14:06 -0500, Dan Langille wrote:
> >> John Drescher wrote:
>  You can always set the Volume status of Bacula-0012 to Use in the
>  meantime, until you find it.  Or you could just delete it.
> 
> >>> That is basically what I did I lost Users0009 and marked it Disabled
> >>> so bacula will just skip it:
> >>>
> >>> Users0009 0   DLT-IV  2007/12/10  2006/12/10  
> >>>   Disabled
> >> Noted.
> >>
> >> Is there now an outstanding issue or question?
> >>
>  >
>  > Do I disable through bacula-console or through a database update?
> 
> via bconsole. The update command.  Follow the prompts.
> 
-- 
Jason G. Helfman
[EMAIL PROTECTED]
Systems Administrator

Jim Henson Creature Shop
1416 North La Brea Avenue
Hollywood, California 90028
323-802-1500 main
323-802-1725 direct
323-802-1825 fax




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger with two drives

2008-01-10 Thread Mike Seda
hi arno,
i forgot to mention that i have:
Maximum Concurrent Jobs = 2

should i increase that number? fyi, i just noticed that two concurrent 
backup jobs do in fact run, but only for the _same_ host. it is weird.

regards,
mike


Arno Lehmann wrote:
> Hi,
>
> 08.01.2008 17:34, John Drescher wrote:
>   
>> On Jan 8, 2008 11:21 AM, Mike Seda <[EMAIL PROTECTED]> wrote:
>> 
>>> all,
>>> i am frustrated beyond belief.
>>>
>>> i recently spent $8K for a second tape drive for my library.
>>>
>>> all i want is for two bacula backup jobs (one for each tape drive) to
>>> run concurrently. i upgraded the backup server to 2.2.7 (to take
>>> advantage of improved code for handling multiple drives). the clients
>>> are still running 2.0.x.
>>>
>>> i have looked at *so* many postings on concurrent jobs, and have tried
>>> multiple configuration changes but to no avail. please tell me that
>>> there is a way to make two concurrent backup jobs work. is there anyway
>>> to put an end to my suffering other than buying a gun? :-P
>>>   
>
> Sure...
>
>   
>>> My server setup is:
>>> Bacula 2.2.7
>>> RHEL 4 AS
>>> Quantum PX502 (FC, 2 HP LTO-3 Drives)
>>>
>>> i can send my *.conf files if needed.
>>>   
>
> Probably not needed.
>
>   
>>> mike
>>>
>>>   
>> First advice:
>> Put the two jobs you want to run concurrently on different tape drives
>> in different pools.
>> 
>
> Also, read the manual chapter on configuring the DIR, especially the 
> Job section, and even more especially this part:
>
> Prefer Mounted Volumes = 
>  If the Prefer Mounted Volumes directive is set to yes (default 
> yes), the Storage daemon is requested to select either an Autochanger 
> or a drive with a valid Volume already mounted in preference to a 
> drive that is not ready. This means that all jobs will attempt to 
> append to the same Volume (providing the Volume is appropriate -- 
> right Pool, ... for that job). If no drive with a suitable Volume is 
> available, it will select the first available drive. Note, any Volume 
> that has been requested to be mounted, will be considered valid as a 
> mounted volume by another job. This if multiple jobs start at the same 
> time and they all prefer mounted volumes, the first job will request 
> the mount, and the other jobs will use the same volume.
>
>  If the directive is set to no, the Storage daemon will prefer 
> finding an unused drive, otherwise, each job started will append to 
> the same Volume (assuming the Pool is the same for all jobs). Setting 
> Prefer Mounted Volumes to no can be useful for those sites with 
> multiple drive autochangers that prefer to maximize backup throughput 
> at the expense of using additional drives and Volumes. This means that 
> the job will prefer to use an unused drive rather than use a drive 
> that is already in use.
>
> Of course, you do this in addition to enabling basic Job Concurrency...
>
> Arno
>
>   
>> John
>>
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>> 
>
>   


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Dan Langille
Jason Helfman wrote:
> On Thu, 2008-01-10 at 14:06 -0500, Dan Langille wrote:
>> John Drescher wrote:
 You can always set the Volume status of Bacula-0012 to Use in the
 meantime, until you find it.  Or you could just delete it.

>>> That is basically what I did I lost Users0009 and marked it Disabled
>>> so bacula will just skip it:
>>>
>>> Users0009   0   DLT-IV  2007/12/10  2006/12/10
>>> Disabled
>> Noted.
>>
>> Is there now an outstanding issue or question?
>>
 >
 > Do I disable through bacula-console or through a database update?

via bconsole. The update command.  Follow the prompts.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Jason Helfman
Do I disable through bacula-console or through a database update?

Thanks,
Jason

On Thu, 2008-01-10 at 14:06 -0500, Dan Langille wrote:
> John Drescher wrote:
> >> You can always set the Volume status of Bacula-0012 to Use in the
> >> meantime, until you find it.  Or you could just delete it.
> >>
> > That is basically what I did I lost Users0009 and marked it Disabled
> > so bacula will just skip it:
> > 
> > Users0009   0   DLT-IV  2007/12/10  2006/12/10
> > Disabled
> 
> Noted.
> 
> Is there now an outstanding issue or question?
> 
-- 
Jason G. Helfman
[EMAIL PROTECTED]
Systems Administrator

Jim Henson Creature Shop
1416 North La Brea Avenue
Hollywood, California 90028
323-802-1500 main
323-802-1725 direct
323-802-1825 fax




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Dan Langille
John Drescher wrote:
>> You can always set the Volume status of Bacula-0012 to Use in the
>> meantime, until you find it.  Or you could just delete it.
>>
> That is basically what I did I lost Users0009 and marked it Disabled
> so bacula will just skip it:
> 
> Users0009 0   DLT-IV  2007/12/10  2006/12/10
> Disabled

Noted.

Is there now an outstanding issue or question?

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread John Drescher
> You can always set the Volume status of Bacula-0012 to Use in the
> meantime, until you find it.  Or you could just delete it.
>
That is basically what I did I lost Users0009 and marked it Disabled
so bacula will just skip it:

Users0009   0   DLT-IV  2007/12/10  2006/12/10
Disabled

John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Dan Langille
Jason Helfman wrote:
> Howdy List!
> 
> I have been in backups for years, however this is the first time I have
> worked with Bacula.
> 
> I am not certain how to solve this issue, but I was hoping someone can
> help me with this issue.
> 
> There is a job that has filled up a tape, and is now requesting a
> different tape to be mounted. Specifically tape "Bacula-0012." For the
> life of me, I can't find this tape.
> 
> When looking at the BaculaDB, there is nothing on this tape.
> 
> COPY media (mediaid, volumename, slot, poolid, mediatype, labeltype,
> firstwritten, lastwritten, labeldate, voljobs, volfiles, volblocks,
> volmounts, volbytes, volparts, volerrors, volwrites, volcapacitybytes,
> volstatus, recycle, volretention, voluseduration, maxvoljobs,
> maxvolfiles, maxvolbytes, inchanger, storageid, mediaaddressing,
> volreadtime, volwritetime, endfile, endblock)
> 
> 97  Bacula-0012 0   1   LTO20   \N  \N  
> 2008-01-02 09:21:04 0   0   0   0   1   0   0 
>   0   0   Append  1   315360000   0   0   0   
> 1   1   0   0   0   0   0
> 
> 
> This is really holding up all backups, and I was hoping to delete this
> tape from the backup pool, and continue on, as I have plenty of tapes to
> put into rotation to finish the job.
> 
> Here is the message log:
> Please mount Volume "Bacula-0012" on Storage Device "LTO2" (/dev/nst0)
> for Job oni-tj.2008-01-07_16.20.04


Bacula found this tape in the Catalog and figured, why not!  I'll use 
that one.  You can give it any tape you want and so long as it's ready 
to be used, Bacula will use it.

You can always set the Volume status of Bacula-0012 to Use in the 
meantime, until you find it.  Or you could just delete it.


-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] blank tape in media pool has halted backups

2008-01-10 Thread Jason Helfman
Howdy List!

I have been in backups for years, however this is the first time I have
worked with Bacula.

I am not certain how to solve this issue, but I was hoping someone can
help me with this issue.

There is a job that has filled up a tape, and is now requesting a
different tape to be mounted. Specifically tape "Bacula-0012." For the
life of me, I can't find this tape.

When looking at the BaculaDB, there is nothing on this tape.

COPY media (mediaid, volumename, slot, poolid, mediatype, labeltype,
firstwritten, lastwritten, labeldate, voljobs, volfiles, volblocks,
volmounts, volbytes, volparts, volerrors, volwrites, volcapacitybytes,
volstatus, recycle, volretention, voluseduration, maxvoljobs,
maxvolfiles, maxvolbytes, inchanger, storageid, mediaaddressing,
volreadtime, volwritetime, endfile, endblock)

97  Bacula-0012 0   1   LTO20   \N  \N  
2008-01-02 09:21:04 0   0   0   0   1   0   0   
0   0   Append  1   315360000   0   0   0   
1   1   0   0   0   0   0


This is really holding up all backups, and I was hoping to delete this
tape from the backup pool, and continue on, as I have plenty of tapes to
put into rotation to finish the job.

Here is the message log:
Please mount Volume "Bacula-0012" on Storage Device "LTO2" (/dev/nst0)
for Job oni-tj.2008-01-07_16.20.04

Thanks very much!





-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> Here you can find it
> http://eole.orion.education.fr/depot/listing.php?repname=Eole&path=%2FOutils%2Feole-bacula%2Ftrunk%2Fbacula%2F&rev=0&sc=0
> 
> take a look at baculaservice.sh which is a the script used to manage 
> pre/post-backup/restore (services stop and start)

Okay, so you're actually calling the baculaservice.sh script (which does the
actual service start/stop commands) from within Bacula python events.  At this
point, the simplest thing to try would be to rework your setup such that the
start and stop actions are done using run script directives defined within the
job, just to rule out the additional complexity of the python environment.

If that fixes the problem, check to see if the getservbyname system call is
working from within python, and from within the python environment in Bacula.
 Something is screwing it up by the time your deamons call it to find out what
ports to bind to.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Jason A. Kates
delete JobId=#  should delete the data from the DB.
As to the tape normally you should wait for the other jobs to prune.
If you don't care about the other jobs you can do a purge volume
-Jason

On Thu, 2008-01-10 at 12:49 -0500, Mingus Dew wrote:
> Frank,
>  Thanks for the link and tip. A further question though. If the
> job failed, were any attributes or job information writtent to the
> catalog? How can I purge both the information for this job from the
> catalog, and any data that may have been written to the Volume? 
> 
> Thank you
> 
> 
> On Jan 10, 2008 12:42 PM, Frank Sweetser <[EMAIL PROTECTED]> wrote:
> Mingus Dew wrote:
> > I'm looking at the SQL syntax and can't figure out why it
> wants to
> > insert these values into "batch" table. There was absolutely
> NO changes
> > made to the database. This table has not existed previously.
> The only 
> > change that I've made recently was enabling data encryption
> for these
> > clients. I can't see why this would cause it to want to
> insert values
> > into a non-existent table however
> 
> 
> 
> http://wiki.bacula.org/doku.php?id=faq#fixing_table_bacula.batch_doesn_t_exist
> 
> --
> Frank Sweetser fs at wpi.edu  |  For every problem, there is a
> solution that
> WPI Senior Network Engineer   |  is simple, elegant, and
> wrong. - HL Mencken
>GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3
> E2E8 8CEC 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___ Bacula-users mailing list 
> Bacula-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Mingus Dew
Frank,
 Thanks for the link and tip. A further question though. If the job
failed, were any attributes or job information writtent to the catalog? How
can I purge both the information for this job from the catalog, and any data
that may have been written to the Volume?

Thank you


On Jan 10, 2008 12:42 PM, Frank Sweetser <[EMAIL PROTECTED]> wrote:

> Mingus Dew wrote:
> > I'm looking at the SQL syntax and can't figure out why it wants to
> > insert these values into "batch" table. There was absolutely NO changes
> > made to the database. This table has not existed previously. The only
> > change that I've made recently was enabling data encryption for these
> > clients. I can't see why this would cause it to want to insert values
> > into a non-existent table however
>
>
> http://wiki.bacula.org/doku.php?id=faq#fixing_table_bacula.batch_doesn_t_exist
>
> --
> Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution
> that
> WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL
> Mencken
>GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Frank Sweetser
Mingus Dew wrote:
> I'm looking at the SQL syntax and can't figure out why it wants to
> insert these values into "batch" table. There was absolutely NO changes
> made to the database. This table has not existed previously. The only
> change that I've made recently was enabling data encryption for these
> clients. I can't see why this would cause it to want to insert values
> into a non-existent table however

http://wiki.bacula.org/doku.php?id=faq#fixing_table_bacula.batch_doesn_t_exist

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Mingus Dew
I'm looking at the SQL syntax and can't figure out why it wants to insert
these values into "batch" table. There was absolutely NO changes made to the
database. This table has not existed previously. The only change that I've
made recently was enabling data encryption for these clients. I can't see
why this would cause it to want to insert values into a non-existent table
however

Thanks

On Jan 10, 2008 11:34 AM, Mingus Dew <[EMAIL PROTECTED]> wrote:

> My bad... MySQL 4.1.22
>
>
> On Jan 10, 2008 11:06 AM, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Mingus Dew wrote:
> > > All,
> > >  I am running Bacula 2.2.5 on Solaris 10_x86. This morning one of
> > my
> > > incremental backups failed, thought I'm not sure why. The previous 24
> > > hours' jobs were successful however. Here is the error I received in
> > the
> > > status email.
> > >
> > > 10-Jan 10:48 mt-back4.director JobId 533: Fatal error:
> > sql_create.c:732
> > > sql_create.c:732 insert INSERT INTO batch VALUES
> > > (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A SP///7c BAA B4
> > > BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q') failed:
> > > Table 'bacula.batch' doesn't exist
> > > 10-Jan 10:48 mt-back4.director JobId 533: sql_create.c:732 INSERT INTO
> > > batch VALUES (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A
> > > SP///7c BAA B4 BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q')
> > > 10-Jan 10:48 mt-back4.director JobId 533: Fatal error: catreq.c:478
> > > Attribute create error. Query failed: DROP INDEX DelInx1: ERR=You have
> > > an error in your SQL syntax; check the manual that corresponds to your
> >
> > > MySQL server version for the right syntax to use near '' at line 1
> > > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > > 10-Jan 10:48 mt-back4.storage JobId 533: Job write elapsed time =
> > > 08:18:50, Transfer rate = 41.90 M bytes/second
> > > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > > 10-Jan 10:48 bop-prod-db2.shopbop:
> > > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 Fatal error: backup.c:860
> > > Network send error to SD. ERR=Broken pipe
> > > 10-Jan 10:49 mt-back4.director JobId 533: Error: Bacula
> > > mt-back4.director 2.2.5 (09Oct07): 10-Jan-2008 10:49:04
> > >
> > > Now this table "bacula.batch " doesn't exist, but I don't know why it
> > > should want this table now, backups have run successfully for this
> > > client before.
> >
> > You do not mention your MySQL version, which is critical if you are
> > having a MySQL problem.
> >
> > - --
> >   _  _ _  _ ___  _  _  _
> >  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
> >  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
> >  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.6 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFHhkJ8mb+gadEcsb4RAoq9AKDlLWjNKeb0S6rVB/yfdnAe5VMQ2ACeK7c6
> > TanPCMMEucaqUwLsM40Rbz8=
> > =udRI
> > -END PGP SIGNATURE-
> >
>
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Chris Hoogendyk


Jason A. Kates wrote:
> I wouldn't say that this is a bug.  The shrink wrapped backup softare
> that you will pay 10's of K for work in the same way.   If it's that
> much of an issue just do fulls for that file system.
>   -Jason
>   

Actually, some do and some don't. You have to check the documentation 
for each one to be sure.

For example, in the commercial realm, EMC Retrospect will properly 
restore incremental backups with deleted files removed. In the open 
source realm, Amanda will also properly handle deleted files in 
incremental backups.


---

Chris Hoogendyk

-
   O__   Systems Administrator
  c/ /'_ --- Biology & Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~ - University of Massachusetts, Amherst 

<[EMAIL PROTECTED]>

--- 

Erdös 4





> On Thu, 2008-01-10 at 15:16 +0100, Vladimirs Vecgailis wrote:
>   
>>> Hello.
>>>
>>> Well, this is a known limitation - see 
>>> http://www.bacula.org/?page=projects "Item 1" ;)
>>>
>>>   
>> :-[   ]
>>
>> But this bug renders the incremental backups (almost) useless...
>>
>> Imagine a Maildir-directory  with many thousands of mails.
>> Some hundrets are knowingly deleted.
>> Then a crash comes and data is restored - WITH ALL THE OLD FILES/MAILS...
>>
>>
>> Exactly this is my situation - i backup a Zimbra-Server (a mail & 
>> groupware-server).
>> It saves the mails in a maildir-like directory-structure in separate files.
>> Now i make backups of approx. 900 000 files, and the amount is bigger every 
>> day.
>>
>> Now i tried a restore it to a test-machine and got all the old data back, 
>> what was deleted weeks ago!
>>
>> Further, my database grows very fast!
>>
>>
>> What shoul be done in that kind of situation???
>>
>> :-(
>>
>>
>>
>>
>> Mit freundlichen Grüßen
>>
>> Vladimirs Vecgailis
>>
>> --
>>
>> ==
>> Vladimirs Vecgailis
>> Colocation IT
>> primacall Vertriebs-GmbH
>> Postfach 08 04 55
>> 10004 Berlin
>>
>> Leipziger Str. 124 
>> 10117 Berlin 
>> GERMANY
>>
>> Phone+49 30 206143 875
>> eMail[EMAIL PROTECTED]
>> Web  http://www.primacall.de
>> ==
>>
>> Amtsgericht und Sitz: Berlin, HRB 98348 B
>> Steuernummer: 37-199-20919
>> Geschäftsführer: M. Vukusic
>>
>> Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
>> rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
>> bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
>> Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
>> Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
>> und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
>> gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
>> verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
>> Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
>> übernommen werden.
>>
>> The information in this e-mail is confidential and may be legally
>> privileged. It is intended solely for the addressee and access to the e-mail
>> by anyone else is prohibited. If you are not the intended recipient, any
>> disclosure, distribution or any action taken or omitted to be taken in
>> reliance on it, is prohibited and may be unlawful. Common e-mails are not
>> protected against access by third persons and therefore might be lost,
>> changed or falsified, with or without any interference by third persons. We
>> cannot accept any responsibility for the integrity of e-mails or for any
>> damages resulting out of these circumstances.
>>
>>
>>
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Here you can find it
http://eole.orion.education.fr/depot/listing.php?repname=Eole&path=%2FOutils%2Feole-bacula%2Ftrunk%2Fbacula%2F&rev=0&sc=0

take a look at baculaservice.sh which is a the script used to manage 
pre/post-backup/restore (services stop and start)


Frank Sweetser a écrit :
> le dahut wrote:
>> Let me explain it all again :
>>
>> - bacula-dir uses DirStartUp.py
>> - Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
>> backup
> 
> Can you post DirStartUp.py?
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> Let me explain it all again :
> 
> - bacula-dir uses DirStartUp.py
> - Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
> backup

Can you post DirStartUp.py?

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Let me explain it all again :

- bacula-dir uses DirStartUp.py
- Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
backup
- sometimes on '/etc/init.d/bacula-dir restart' I get "Cannot bind port 
9101: ERR=Address already in use"

'netstat -anpe|grep 9101' shows that one of the stopped/started service 
by Dirstartup.py has taken the port 9101.

When I restart the service, let's say for example samba, the port is 
again available. Sometimes I have to restart several services because 
after I restarted samba, ldap ot another service (always one of those 
which are managed by DirStartUp.py) has taken the port.
And finally, I get port 9101 free and can restart bacula-dir.

As long as I don't do any backup, I can restart manually every service 
without any problem.

The file /etc/services is available here :
ftp://dev-eole.ac-dijon.fr/Dev/services
but I'm sure it is not the source of this problem.


Frank Sweetser a écrit :
> le dahut wrote:
>> It happens again during some quick test (several bacula-dir restart).
>>
>> I've written a DirStartUp.py that stops services before and starts them 
>> after backup. It seems that the services that take the bacula port are 
>> those which are stopped/started by DirStartUp.py.
> 
> Do the programs still exhibit the same behavior when started manually, rather
> than from within DirStartUp.py?
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Mingus Dew
My bad... MySQL 4.1.22

On Jan 10, 2008 11:06 AM, Ryan Novosielski <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mingus Dew wrote:
> > All,
> >  I am running Bacula 2.2.5 on Solaris 10_x86. This morning one of my
> > incremental backups failed, thought I'm not sure why. The previous 24
> > hours' jobs were successful however. Here is the error I received in the
> > status email.
> >
> > 10-Jan 10:48 mt-back4.director JobId 533: Fatal error: sql_create.c:732
> > sql_create.c:732 insert INSERT INTO batch VALUES
> > (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A SP///7c BAA B4
> > BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q') failed:
> > Table 'bacula.batch' doesn't exist
> > 10-Jan 10:48 mt-back4.director JobId 533: sql_create.c:732 INSERT INTO
> > batch VALUES (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A
> > SP///7c BAA B4 BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q')
> > 10-Jan 10:48 mt-back4.director JobId 533: Fatal error: catreq.c:478
> > Attribute create error. Query failed: DROP INDEX DelInx1: ERR=You have
> > an error in your SQL syntax; check the manual that corresponds to your
> > MySQL server version for the right syntax to use near '' at line 1
> > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > 10-Jan 10:48 mt-back4.storage JobId 533: Job write elapsed time =
> > 08:18:50, Transfer rate = 41.90 M bytes/second
> > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > 10-Jan 10:48 mt-back4.storage JobId 533: Job
> > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> > 10-Jan 10:48 bop-prod-db2.shopbop:
> > bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 Fatal error: backup.c:860
> > Network send error to SD. ERR=Broken pipe
> > 10-Jan 10:49 mt-back4.director JobId 533: Error: Bacula
> > mt-back4.director 2.2.5 (09Oct07): 10-Jan-2008 10:49:04
> >
> > Now this table "bacula.batch " doesn't exist, but I don't know why it
> > should want this table now, backups have run successfully for this
> > client before.
>
> You do not mention your MySQL version, which is critical if you are
> having a MySQL problem.
>
> - --
>   _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHhkJ8mb+gadEcsb4RAoq9AKDlLWjNKeb0S6rVB/yfdnAe5VMQ2ACeK7c6
> TanPCMMEucaqUwLsM40Rbz8=
> =udRI
> -END PGP SIGNATURE-
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help - Trying to setup weekly disk volumes with monthly recycling and migration to tape...

2008-01-10 Thread Mingus Dew
I'm having problems configuring my volumes, jobs, and pools the way I want.
I'm trying to set things up to do this:

Create a disk Volume if none exists, automatically label it
Use the volume for 7 days, then retain it for 28 days
Recycle the volume at the end of 28 days and reuse.

The way I thought it would work is that for a given week in the month (1-4
out of 4) Bacula would write the incrementals and full backup for the week
to
the disk volume. The beginning of the next week the Volume would be marked
full and either a new Volume created, or the appropriate Volume reused.

Here is my configuration:

Pool {
  Name = My_Disks
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 27d
  Volume Use Duration = 7d
  LabelFormat = "${Pool}-${NumVols}"
}

I've run into a couple of issues. First is that 5 volumes were created and
are in use, not 4. The other is that jobs seem to be running when a Volume
expires, so it tries to create another but the Storage Device is in use. I'm
really not sure how to make this setup work the way I want it to.

04-Jan 02:30 mt-back4.director JobId 425: Start Backup JobId 425,
Job=gremlin_Daily_Disk.2008-01-04_02.30.17
04-Jan 02:30 mt-back4.director JobId 425: Created new Volume "My_Disks-2" in
catalog.
04-Jan 02:30 mt-back4.director JobId 425: Using Device "ZFS_Storage"
04-Jan 02:30 mt-back4.storage JobId 425: Fatal error: acquire.c:366 Wanted
to append to Volume "My_Disks-2", but device "ZFS_Storage"
(/mnt/backup1/bacula) is busy writing on "My_Disks-1" .
04-Jan 02:30 gremlin: gremlin_Daily_Disk.2008-01-04_02.30.17 Fatal error:
job.c:1751 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

I feel that until I can get this working correctly that I can't proceed with
configuring the Migration jobs. The Migration jobs I'd like to have move the
previous week's disk jobs to tape. I have a vague idea how this is done, but
I believe that it will be dependent on how the weekly volumes are used.

Thanks
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> It happens again during some quick test (several bacula-dir restart).
> 
> I've written a DirStartUp.py that stops services before and starts them 
> after backup. It seems that the services that take the bacula port are 
> those which are stopped/started by DirStartUp.py.

Do the programs still exhibit the same behavior when started manually, rather
than from within DirStartUp.py?

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
It happens again during some quick test (several bacula-dir restart).

I've written a DirStartUp.py that stops services before and starts them 
after backup. It seems that the services that take the bacula port are 
those which are stopped/started by DirStartUp.py.

Hopping this can help.


le dahut wrote :
> Does someone see any error in my services file ?
> 
> le dahut wrote :
>> You can take a look at /etc/services here 
>> ftp://dev-eole.ac-dijon.fr/Dev/services
>>
>> Frank Sweetser a écrit :
>>> le dahut wrote:
 Has I said (not directly I assume), it is not corrupted and indeed, many 
 random processes take successively port 9101 and when I finally restart 
 all the incriminated services, it ends on a bacula-dir process that 
 seems not to have been properly killed/closed by the init script.

 So why do I get this very strange behavior ?
>>> Either a) every one of those programs has been configured to use 9101, 
>>> which I
>>> highly doubt, or b) when each one of those programs goes to look up its
>>> default port, it is always getting 9101.  Unless you have NIS configured on
>>> your system, the canonical source for service name to port number mappings 
>>> in
>>> /etc/services file.
>>>
>>> If you like, you could post your /etc/services file on a web site or
>>> pastebin.ca somewhere, and others could then take a look to see what hidden
>>> faults there might be.
>>>


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mingus Dew wrote:
> All,
>  I am running Bacula 2.2.5 on Solaris 10_x86. This morning one of my
> incremental backups failed, thought I'm not sure why. The previous 24
> hours' jobs were successful however. Here is the error I received in the
> status email.
> 
> 10-Jan 10:48 mt-back4.director JobId 533: Fatal error: sql_create.c:732
> sql_create.c:732 insert INSERT INTO batch VALUES
> (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A SP///7c BAA B4
> BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q') failed:
> Table 'bacula.batch' doesn't exist
> 10-Jan 10:48 mt-back4.director JobId 533: sql_create.c:732 INSERT INTO
> batch VALUES (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A
> SP///7c BAA B4 BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q')
> 10-Jan 10:48 mt-back4.director JobId 533: Fatal error: catreq.c:478
> Attribute create error. Query failed: DROP INDEX DelInx1: ERR=You have
> an error in your SQL syntax; check the manual that corresponds to your
> MySQL server version for the right syntax to use near '' at line 1
> 10-Jan 10:48 mt-back4.storage JobId 533: Job
> bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> 10-Jan 10:48 mt-back4.storage JobId 533: Job write elapsed time =
> 08:18:50, Transfer rate = 41.90 M bytes/second
> 10-Jan 10:48 mt-back4.storage JobId 533: Job
> bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> 10-Jan 10:48 mt-back4.storage JobId 533: Job
> bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> 10-Jan 10:48 mt-back4.storage JobId 533: Job
> bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
> 10-Jan 10:48 bop-prod-db2.shopbop:
> bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 Fatal error: backup.c:860
> Network send error to SD. ERR=Broken pipe
> 10-Jan 10:49 mt-back4.director JobId 533: Error: Bacula
> mt-back4.director 2.2.5 (09Oct07): 10-Jan-2008 10:49:04
> 
> Now this table "bacula.batch " doesn't exist, but I don't know why it
> should want this table now, backups have run successfully for this
> client before.

You do not mention your MySQL version, which is critical if you are
having a MySQL problem.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhkJ8mb+gadEcsb4RAoq9AKDlLWjNKeb0S6rVB/yfdnAe5VMQ2ACeK7c6
TanPCMMEucaqUwLsM40Rbz8=
=udRI
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Mingus Dew
All,
 I am running Bacula 2.2.5 on Solaris 10_x86. This morning one of my
incremental backups failed, thought I'm not sure why. The previous 24 hours'
jobs were successful however. Here is the error I received in the status
email.

10-Jan 10:48 mt-back4.director JobId 533: Fatal error: sql_create.c:732
sql_create.c:732 insert INSERT INTO batch VALUES
(15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A SP///7c BAA B4 BHhNjJ
BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q') failed:
Table 'bacula.batch' doesn't exist
10-Jan 10:48 mt-back4.director JobId 533: sql_create.c:732 INSERT INTO batch
VALUES (15679,533,'/var/log/','lastlog','gG BoAC IEA B A A A SP///7c BAA B4
BHhNjJ BHhNjJ BHhNjJ A A U','UVI7Ouq/KvquKKOnKbNs+Q')
10-Jan 10:48 mt-back4.director JobId 533: Fatal error: catreq.c:478
Attribute create error. Query failed: DROP INDEX DelInx1: ERR=You have an
error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '' at line 1
10-Jan 10:48 mt-back4.storage JobId 533: Job
bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
10-Jan 10:48 mt-back4.storage JobId 533: Job write elapsed time = 08:18:50,
Transfer rate = 41.90 M bytes/second
10-Jan 10:48 mt-back4.storage JobId 533: Job
bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
10-Jan 10:48 mt-back4.storage JobId 533: Job
bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
10-Jan 10:48 mt-back4.storage JobId 533: Job
bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 marked to be canceled.
10-Jan 10:48 bop-prod-db2.shopbop:
bop-prod-db2_Daily_Disk.2008-01-10_02.30.38 Fatal error: backup.c:860
Network send error to SD. ERR=Broken pipe
10-Jan 10:49 mt-back4.director JobId 533: Error: Bacula mt-back4.director
2.2.5 (09Oct07): 10-Jan-2008 10:49:04

Now this table "bacula.batch" doesn't exist, but I don't know why it should
want this table now, backups have run successfully for this client before.

Thanks
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis
В Thu, 10 Jan 2008 10:41:59 -0500
"Jason A. Kates" <[EMAIL PROTECTED]> wrote:

> 2TB of nightly backups isn't that much to backup each night.
I thing it's rather the question of your retention period.


> I upgraded from Netbackup to Bacula and each will restore the base files
> then the incremental files.
>   -Jason
You mean, Netbackup has the same limitation???


Vladimir


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Jason A. Kates
2TB of nightly backups isn't that much to backup each night.   If it's
that much of an issue I would move to fulls.

I upgraded from Netbackup to Bacula and each will restore the base files
then the incremental files.
-Jason


On Thu, 2008-01-10 at 16:34 +0100, Vladimirs Vecgailis wrote:
> В Thu, 10 Jan 2008 10:04:03 -0500
> Dan Langille <[EMAIL PROTECTED]> wrote:
> 
> > > 
> > > well, ok,
> > > 
> > > this limitation renders the incremental backups (almost) useless.
> > 
> > I can see why you think that.  Other will disagree.
> ???
> But it the situation, when a file is knowingly removed/email deleted/whatever 
> is deleted
> is in 99% of cases. Knowingly, i repeat. And if this file is still restored
> this leads the whole restore-process "ad absurdum"...
> 
> 
> V.
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread R.I. Pienaar
Hello,

> But it the situation, when a file is knowingly removed/email deleted/whatever 
> is deleted
> is in 99% of cases. Knowingly, i repeat. And if this file is still restored
> this leads the whole restore-process "ad absurdum"...

As is the case with most tools, you need to evaluate them and discover
the best way to implement in your environment.

You've done this and discovered the best solution would be full
backups each night.

I've worked with several commercial backup systems, most of them have
the same "feature" yes its annoying but its the nature of the beast.

-- 
R.I.Pienaar

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis
В Thu, 10 Jan 2008 10:04:03 -0500
Dan Langille <[EMAIL PROTECTED]> wrote:

> > 
> > well, ok,
> > 
> > this limitation renders the incremental backups (almost) useless.
> 
> I can see why you think that.  Other will disagree.
???
But it the situation, when a file is knowingly removed/email deleted/whatever 
is deleted
is in 99% of cases. Knowingly, i repeat. And if this file is still restored
this leads the whole restore-process "ad absurdum"...


V.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Dan Langille
Vladimirs Vecgailis wrote:

> As it stands at http://www.bacula.org/?page=projects the date, when
> this item/limitation was noted/registered was the "28 November 2005"
> and is now the "Item 1" on the project-list.
> 
> Maybe you know how is the stand at the moment?

To my knowledge, nobody is working on it.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Dan Langille
Vladimirs Vecgailis wrote:
>>> But this bug renders the incremental backups (almost) useless...
>> This is not a bug at all.  This is a common characteristic of many 
>> backup systems.
> 
> well, ok,
> 
> this limitation renders the incremental backups (almost) useless.

I can see why you think that.  Other will disagree.

With heavily changing file systems, a full backup is your best solution.

There is a project to achieve what you want.  To date, nobody has done 
the work.

>> BTW: when posting to a public mailing list, your huge signature is 
>> rather bulky and inappropriate.  It is certainly not confidental.  If 
>> you can spare us the legal blurb on each post, it would be appreciated:
>>
> np.

Thank you.  :)

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis

> > But this bug renders the incremental backups (almost) useless...
> 
> This is not a bug at all.  This is a common characteristic of many 
> backup systems.

well, ok,

this limitation renders the incremental backups (almost) useless.


> BTW: when posting to a public mailing list, your huge signature is 
> rather bulky and inappropriate.  It is certainly not confidental.  If 
> you can spare us the legal blurb on each post, it would be appreciated:
> 
np.

Vladimirs.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis
В Thu, 10 Jan 2008 09:34:00 -0500
"Jason A. Kates" <[EMAIL PROTECTED]> пишет:


>   If it's that
> much of an issue just do fulls for that file system.
>   -Jason
> 

Well, the problem is, the Zimbra-Server is not the only one, which
have this problem.
There are also other server, that have the same "problem"...

To do Fulls for all of them whould be the worst solution... :-\ 
There are about 2 TB of data that is written to tapes on every full-backup 
round weekly...

Vladimirs



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis
В Thu, 10 Jan 2008 09:19:40 -0500
Ryan Novosielski <[EMAIL PROTECTED]> пишет:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> I can point out that you SHOULD have read the documentation, as it is
> not like this was a secret. I'm glad that it sounds like you caught it
> before trying this on a production system. It is NOT a bug, it is the
> way things currently work, and it is a common limitation.
> 
> For a maildir store, you should be doing full backups every night.
> 

I've READ the documentation, but maybe i passed exactly this part,,,
though i remember to have read about something in this vein...


* pulling my hair out * ...

As it stands at http://www.bacula.org/?page=projects the date, when
this item/limitation was noted/registered was the "28 November 2005"
and is now the "Item 1" on the project-list.

Maybe you know how is the stand at the moment?


Greetings.

Vladimirs Vecgailis


==
Vladimirs Vecgailis
Colocation IT
primacall Vertriebs-GmbH
Postfach 08 04 55
10004 Berlin

Leipziger Str. 124 
10117 Berlin 
GERMANY

Phone   +49 30 206143 875
eMail   [EMAIL PROTECTED]
Web http://www.primacall.de
==

Amtsgericht und Sitz: Berlin, HRB 98348 B
Steuernummer: 37-199-20919
Geschäftsführer: M. Vukusic

Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
übernommen werden.

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee and access to the e-mail
by anyone else is prohibited. If you are not the intended recipient, any
disclosure, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Common e-mails are not
protected against access by third persons and therefore might be lost,
changed or falsified, with or without any interference by third persons. We
cannot accept any responsibility for the integrity of e-mails or for any
damages resulting out of these circumstances.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Dan Langille
Vladimirs Vecgailis wrote:
>> Hello.
>>
>> Well, this is a known limitation - see 
>> http://www.bacula.org/?page=projects "Item 1" ;)
>>
> 
> :-[   ]
> 
> But this bug renders the incremental backups (almost) useless...

This is not a bug at all.  This is a common characteristic of many 
backup systems.

BTW: when posting to a public mailing list, your huge signature is 
rather bulky and inappropriate.  It is certainly not confidental.  If 
you can spare us the legal blurb on each post, it would be appreciated:

> ==
> Vladimirs Vecgailis
> Colocation IT
> primacall Vertriebs-GmbH
> Postfach 08 04 55
> 10004 Berlin
> 
> Leipziger Str. 124 
> 10117 Berlin 
> GERMANY
> 
> Phone +49 30 206143 875
> eMail [EMAIL PROTECTED]
> Web   http://www.primacall.de
> ==
> 
> Amtsgericht und Sitz: Berlin, HRB 98348 B
> Steuernummer: 37-199-20919
> Geschäftsführer: M. Vukusic
> 
> Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
> rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
> bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
> Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
> Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
> und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
> gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
> verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
> Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
> übernommen werden.
> 
> The information in this e-mail is confidential and may be legally
> privileged. It is intended solely for the addressee and access to the e-mail
> by anyone else is prohibited. I you are not the intended recipient, any
> disclosure, distribution or any action taken or omitted to be taken in
> reliance on it, is prohibited and may be unlawful. Common e-mails are not
> protected against access by third persons and therefore might be lost,
> changed or falsified, with or without any interference by third persons. We
> cannot accept any responsibility for the integrity of e-mails or for any
> damages resulting out of these circumstances.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Jason A. Kates
I wouldn't say that this is a bug.  The shrink wrapped backup softare
that you will pay 10's of K for work in the same way.   If it's that
much of an issue just do fulls for that file system.
-Jason


On Thu, 2008-01-10 at 15:16 +0100, Vladimirs Vecgailis wrote:
> > Hello.
> > 
> > Well, this is a known limitation - see 
> > http://www.bacula.org/?page=projects "Item 1" ;)
> > 
> 
> :-[   ]
> 
> But this bug renders the incremental backups (almost) useless...
> 
> Imagine a Maildir-directory  with many thousands of mails.
> Some hundrets are knowingly deleted.
> Then a crash comes and data is restored - WITH ALL THE OLD FILES/MAILS...
> 
> 
> Exactly this is my situation - i backup a Zimbra-Server (a mail & 
> groupware-server).
> It saves the mails in a maildir-like directory-structure in separate files.
> Now i make backups of approx. 900 000 files, and the amount is bigger every 
> day.
> 
> Now i tried a restore it to a test-machine and got all the old data back, 
> what was deleted weeks ago!
> 
> Further, my database grows very fast!
> 
> 
> What shoul be done in that kind of situation???
> 
> :-(
> 
> 
> 
> 
> Mit freundlichen Grüßen
> 
> Vladimirs Vecgailis
> 
> --
> 
> ==
> Vladimirs Vecgailis
> Colocation IT
> primacall Vertriebs-GmbH
> Postfach 08 04 55
> 10004 Berlin
> 
> Leipziger Str. 124 
> 10117 Berlin 
> GERMANY
> 
> Phone +49 30 206143 875
> eMail [EMAIL PROTECTED]
> Web   http://www.primacall.de
> ==
> 
> Amtsgericht und Sitz: Berlin, HRB 98348 B
> Steuernummer: 37-199-20919
> Geschäftsführer: M. Vukusic
> 
> Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
> rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
> bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
> Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
> Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
> und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
> gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
> verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
> Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
> übernommen werden.
> 
> The information in this e-mail is confidential and may be legally
> privileged. It is intended solely for the addressee and access to the e-mail
> by anyone else is prohibited. If you are not the intended recipient, any
> disclosure, distribution or any action taken or omitted to be taken in
> reliance on it, is prohibited and may be unlawful. Common e-mails are not
> protected against access by third persons and therefore might be lost,
> changed or falsified, with or without any interference by third persons. We
> cannot accept any responsibility for the integrity of e-mails or for any
> damages resulting out of these circumstances.
> 
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [Fwd: Re: Restore issue]

2008-01-10 Thread Chris Sarginson
Thanks for that, I never even spotted that option before.

Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

Arno Lehmann wrote:
> Hi,
> 
> 10.01.2008 13:32, Chris Sarginson wrote:
>> Hi Guys,
>>
>> I'm currently trying to do a restore, after having to rescan in some 
>> volumes using bscan, however it's telling me that it is unable to find 
>> any full backup prior to today.
>>
>> I can see the files by performing llist files jobid=145 through 
>> bconsole, but when I try to select the most recent restore I get:
>>
>> "No Full backup before 2008-01-10 11:38:56 found."
>>
>> Does anyone have any suggestions. I'm currently also in IRC (MilkFloat 
>> in #bacula on irc.freenode.net) if anyone wants to jump on and have a 
>> word with me.
> 
> No IRC, but why don't you simply try to restore that job ID? I suspect 
> that, after bscan, the relation between jobs and the tape data is not 
> correct - I guess a look into the catalog could confirm that, but I 
> don't have time to try this today...
> 
> Arno
> 
> 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vladimirs Vecgailis wrote:
>> Hello.
>>
>> Well, this is a known limitation - see 
>> http://www.bacula.org/?page=projects "Item 1" ;)
>>
> 
> :-[   ]
> 
> But this bug renders the incremental backups (almost) useless...
> 
> Imagine a Maildir-directory  with many thousands of mails.
> Some hundrets are knowingly deleted.
> Then a crash comes and data is restored - WITH ALL THE OLD FILES/MAILS...
> 
> 
> Exactly this is my situation - i backup a Zimbra-Server (a mail & 
> groupware-server).
> It saves the mails in a maildir-like directory-structure in separate files.
> Now i make backups of approx. 900 000 files, and the amount is bigger every 
> day.
> 
> Now i tried a restore it to a test-machine and got all the old data back, 
> what was deleted weeks ago!
> 
> Further, my database grows very fast!
> 
> 
> What shoul be done in that kind of situation???
> 
> :-(

I can point out that you SHOULD have read the documentation, as it is
not like this was a secret. I'm glad that it sounds like you caught it
before trying this on a production system. It is NOT a bug, it is the
way things currently work, and it is a common limitation.

For a maildir store, you should be doing full backups every night.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhil8mb+gadEcsb4RAid4AKC8YxMFwCOolw51sInEYjv7b5KJ9wCgwjlM
KPlBBAoHB20xdMUaKfl/Kp4=
=MN8n
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis

> Hello.
> 
> Well, this is a known limitation - see 
> http://www.bacula.org/?page=projects "Item 1" ;)
> 

:-[   ]

But this bug renders the incremental backups (almost) useless...

Imagine a Maildir-directory  with many thousands of mails.
Some hundrets are knowingly deleted.
Then a crash comes and data is restored - WITH ALL THE OLD FILES/MAILS...


Exactly this is my situation - i backup a Zimbra-Server (a mail & 
groupware-server).
It saves the mails in a maildir-like directory-structure in separate files.
Now i make backups of approx. 900 000 files, and the amount is bigger every day.

Now i tried a restore it to a test-machine and got all the old data back, what 
was deleted weeks ago!

Further, my database grows very fast!


What shoul be done in that kind of situation???

:-(




Mit freundlichen Grüßen

Vladimirs Vecgailis

--

==
Vladimirs Vecgailis
Colocation IT
primacall Vertriebs-GmbH
Postfach 08 04 55
10004 Berlin

Leipziger Str. 124 
10117 Berlin 
GERMANY

Phone   +49 30 206143 875
eMail   [EMAIL PROTECTED]
Web http://www.primacall.de
==

Amtsgericht und Sitz: Berlin, HRB 98348 B
Steuernummer: 37-199-20919
Geschäftsführer: M. Vukusic

Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
übernommen werden.

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee and access to the e-mail
by anyone else is prohibited. If you are not the intended recipient, any
disclosure, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Common e-mails are not
protected against access by third persons and therefore might be lost,
changed or falsified, with or without any interference by third persons. We
cannot accept any responsibility for the integrity of e-mails or for any
damages resulting out of these circumstances.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win2003 x64 + VSS

2008-01-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthias Baake wrote:
> Hello,
> 
> I have a lot of trouble getting the VSS to work reliable. The funny
> thing is if I run the Job manual at daytime it works. If the scheduled
> job runs at night I get the following messages:
> 
> 10-Jan 02:30 bacula-fd JobId 2421: Generate VSS snapshots. Driver="VSS
> Win 2003", Drive(s)="CDE"
> 10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
> drive "c:\" failed. VSS support is disabled on this drive.
> 10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
> drive "d:\" failed. VSS support is disabled on this drive.
> 10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
> drive "e:\" failed. VSS support is disabled on this drive.
> 
> The application log from Windows says something like this
> 
> Error 10.01.2008 02:30:18 VSS 12292
> Warning 10.01.2008 02:30:18 COM+ 4830
> 
> From EventID.Net I found this
> 
> =
> I had this error on Windows 2003 when 2 services were Disabled, namely
> "Microsoft Software Shadow Copy Provider" and "Volume Shadow Copy".
> 
> Mark-Alen Perry (Last update 3/4/2005):
> I have found this error can also appear if the "Microsoft Software
> Shadow Copy Provider" service is not started.
> 
> Ionut Marin (Last update 10/14/2004):
> - Error: 0x80040154 - M246499 disscuses a problem related to this
>   error code and COM+.  
> 
> The COM+ error message says me that there is not enough memory in the
> system. 
> 
> =
> 
> Windows System is a virtual machine installed on top of a Xen
> Enterprise Dom0
> 
> Maybe someone could give me a hint.

Sounds like maybe this is not running as the same user when you run it
manually as it is when the system runs it?

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhiUJmb+gadEcsb4RAijnAJkBQqFW1+LvsO3Gw7wSt7+4jbcAYACgima/
4wjXgM68bVRiUuiq6FWQyWs=
=Nafl
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue

2008-01-10 Thread Arno Lehmann
Hi,

10.01.2008 13:32, Chris Sarginson wrote:
> Hi Guys,
> 
> I'm currently trying to do a restore, after having to rescan in some 
> volumes using bscan, however it's telling me that it is unable to find 
> any full backup prior to today.
> 
> I can see the files by performing llist files jobid=145 through 
> bconsole, but when I try to select the most recent restore I get:
> 
> "No Full backup before 2008-01-10 11:38:56 found."
> 
> Does anyone have any suggestions. I'm currently also in IRC (MilkFloat 
> in #bacula on irc.freenode.net) if anyone wants to jump on and have a 
> word with me.

No IRC, but why don't you simply try to restore that job ID? I suspect 
that, after bscan, the relation between jobs and the tape data is not 
correct - I guess a look into the catalog could confirm that, but I 
don't have time to try this today...

Arno


-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Silver Salonen
On Thursday 10 January 2008 15:44, Vladimirs Vecgailis wrote:
> Hi all!
> 
> 
> Following situation:
> 
> 1) A Full backup of a client is done.
> 
> 2) After then i create a new file
> 
> /var/log/myfile1
> 
> 3) Now i do an incremental backup.
> The new file is backuped.
> 
> 4) now i delete this file.
> 
> 5) Doing an incremental backup again.
> 
> 
> And now, when i do a restore with "restore" and choosing the
> 
> (5) - "Select the most recent backup for a client" 
> 
> the "myfile1", that is actually deleted in the "most recent version" of the 
client,
> is also restored!
> 
> 
> That's mean, that the entrys about file deletions are not updated in the 
database!
> Or am i misunterstanding something?
> 
> I mean, if i restore a most recent version of a client, then i definetly do 
not want to
> restore all deleted & old files! If i want to find some file, which is not 
present in the last
> backup, i will seek for it with
> 
> (7) - "Enter a list of files to restore"
> or
> (8) -  "Enter a list of files to restore before a specified time"
> 
> 
> Help!

Hello.

Well, this is a known limitation - see 
http://www.bacula.org/?page=projects "Item 1" ;)

-- 
Silver

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem: deleted files entrys are still in the database and are restored

2008-01-10 Thread Vladimirs Vecgailis
Hi all!


Following situation:

1) A Full backup of a client is done.

2) After then i create a new file

/var/log/myfile1

3) Now i do an incremental backup.
The new file is backuped.

4) now i delete this file.

5) Doing an incremental backup again.


And now, when i do a restore with "restore" and choosing the

(5) - "Select the most recent backup for a client" 

the "myfile1", that is actually deleted in the "most recent version" of the 
client,
is also restored!


That's mean, that the entrys about file deletions are not updated in the 
database!
Or am i misunterstanding something?

I mean, if i restore a most recent version of a client, then i definetly do not 
want to
restore all deleted & old files! If i want to find some file, which is not 
present in the last
backup, i will seek for it with

(7) - "Enter a list of files to restore"
or
(8) -  "Enter a list of files to restore before a specified time"


Help!



Mit freundlichen Grüßen

Vladimirs Vecgailis

--

==
Vladimirs Vecgailis
Colocation IT
primacall Vertriebs-GmbH
Postfach 08 04 55
10004 Berlin

Leipziger Str. 124 
10117 Berlin 
GERMANY

Phone   +49 30 206143 875
eMail   [EMAIL PROTECTED]
Web http://www.primacall.de
==

Amtsgericht und Sitz: Berlin, HRB 98348 B
Steuernummer: 37-199-20919
Geschäftsführer: M. Vukusic

Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten
bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls
Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung,
Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt
und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht
gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten
verloren gehen, verändert oder verfälscht werden. Eine Haftung für die
Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht
übernommen werden.

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee and access to the e-mail
by anyone else is prohibited. If you are not the intended recipient, any
disclosure, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Common e-mails are not
protected against access by third persons and therefore might be lost,
changed or falsified, with or without any interference by third persons. We
cannot accept any responsibility for the integrity of e-mails or for any
damages resulting out of these circumstances.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] problem with Max Wait Time and Bacula 2

2008-01-10 Thread ganiuszka
Hi All,

I have an issue with performing a backup with greater amount of data.
After a while after starting backup, the job is being stopped with
status "A". I have seen that responsible for that is option "Max wait
Time". After enlarging this option to 300s I was able to backup up to
10GB amount of data.  Otherwise if I do not use this option, the backups
work properly even with a big amount of data.  but in case of  finishing
a free space on  the tape, job is not being stopped and it is in status
"R" for infinity. Does someone know how to resolve it to:

1) Bacula wouldn't stop running backups with option "Max Wait Time"?
2) When a free space is running to the end and there is no another free
pool, the job would stop?

Additionally following issues have appeared after changing the version
from 1.38.11 to 2.2.6.

Thank you in advance for help.
ganiuszka


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] WinBacula: no more files from mounted disks are backed up...

2008-01-10 Thread Masopust, Christian

Hello Kern,

all right, I agree when you're saying that the old winbacula is
behaving wrong, but it's ok for me :-)))

To build such a configuration open "Computer Management" and 
select "Disk Management".  Choose a free disk or partion and
(with right click) start the "New Volume Wizard" with "New Volume".
When following the Wizard you then get the question for "Assign Drive
Letter or Path", choose "Mount in the following empty NTFS folder:" 
and select a folder (that already exists and is empty).
Follow the Wizard until you're finished.

Hope this helps. And also if you've a new 2.2.x version for
testing i would be glad if i could help you...

christian





--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside." 

- Unknown Unix Jedi  

> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 09, 2008 5:12 PM
> To: Masopust, Christian
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-devel] WinBacula: no more files from 
> mounted disks are backed up...
> 
> On Wednesday 09 January 2008 15:22, Masopust, Christian wrote:
> > Hello Kern,
> >
> > winbacula 1.38.10 does exactly what it should do!
> 
> Well, it is not really behaving correctly.  It should not 
> descend into mounted 
> filesystems as it is apparently doing.
> 
> On the other hand, there does seem to be a problem with 2.x 
> not descending 
> even when it should.
> 
> Can you give me detailed instructions on how you mount the 
> disk on Win32.  
> That is something I have never done and so to fix it, I will 
> very likely need 
> to reproduce the situation here.
> 
> Kern
> >
> > Fileset is now:  "D:/", estimate gives:
> >
> > Using Catalog "DefaultCatalog"
> > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> > 2000 OK estimate files=759236 bytes=367,441,140,097
> > *status client=atpcc72c-fd
> > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> >
> > atpcc72c-fd Version: 1.38.10 (08 June 2006)  VSS Windows 
> Server 2003 MVS NT
> > 5.2.3790 Daemon started 09-Jan-08 14:21, 0 Jobs run since started.
> > No Terminated Jobs.
> > Running Jobs:
> > Director connected at: 09-Jan-08 15:29
> > No Jobs running.
> > 
> >
> > so for now everything is fine for me, but as I really would like to
> > use version 2.2.x it also would be fine to fix this problem :-))
> >
> > christian
> >
> >
> > --
> > "I sense much NT in you, NT leads to Blue Screen.
> > Blue Screen leads to downtime, downtime leads to suffering. 
> NT is the path
> > to the darkside."
> >
> > - Unknown Unix Jedi
> >
> > > -Original Message-
> > > From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, January 09, 2008 1:43 PM
> > > To: Masopust, Christian
> > > Cc: bacula-users@lists.sourceforge.net
> > > Subject: Re: [Bacula-devel] WinBacula: no more files from
> > > mounted disks are backed up...
> > >
> > > On Wednesday 09 January 2008 12:46, Masopust, Christian wrote:
> > > > Hello Kern,
> > > >
> > > > thanks a lot, you can remove the 1.38.10 again, I've 
> downloaded it.
> > > >
> > > > I now did some further tests (with current installed 2.2.4).
> > > > Following there's a part of the directory-structure of the
> > >
> > > Win2k3-server:
> > > > D:\ (first disk with drive letter)
> > > > D:\OTHER SHARES (directory on first disk)
> > > > D:\SMC\ (second disk, mounted on directory D:\SMC)
> > > > D:\SMC\INTERN   (directory on second disk)
> > > > D:\SMC\SMC-CI\  (third disk ...)
> > > >
> > > > I run estimate for this server with different filesets and
> > >
> > > whill show
> > >
> > > > you the results:
> > > >
> > > > Fileset:  D:/
> > > > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> > > > 2000 OK estimate files=35 bytes=5,203,286
> > > >
> > > > Fileset:  D:/  and D:/SMC/
> > > > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> > > > 2000 OK estimate files=36 bytes=5,203,286
> > > >
> > > > Fileset:  D:/  and D:/SMC/INTERN/
> > > > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> > > > 2000 OK estimate files=37 bytes=303,868,246
> > > >
> > > > Fileset:  D:/  and D:/SMC/INTERN/ and D:/SMC/SMC-CI/
> > > > Connecting to Client atpcc72c-fd at atpcc72c.sie.siemens.at:9102
> > > > 2000 OK estimate files=38 bytes=303,868,246
> > > >
> > > > you see that when I add a directory explicitly that is in one of
> > > > the mounted disks the files are recognized and would be 
> backed up,
> > > > but it seems that winbacula is not able to list the 
> content of such
> > > > directories itself...
> > > >
> > > > I hope this makes all a little more understandable and 
> you can now
> > > > better find out what's happening here...
> > >
> > > They are probably "reparse points" or whatever Microsoft
> > > calls them, and
> > > either there is something more complicated going on or Bacula
> > >

[Bacula-users] Restore issue

2008-01-10 Thread Chris Sarginson
Hi Guys,

I'm currently trying to do a restore, after having to rescan in some 
volumes using bscan, however it's telling me that it is unable to find 
any full backup prior to today.

I can see the files by performing llist files jobid=145 through 
bconsole, but when I try to select the most recent restore I get:

"No Full backup before 2008-01-10 11:38:56 found."

Does anyone have any suggestions. I'm currently also in IRC (MilkFloat 
in #bacula on irc.freenode.net) if anyone wants to jump on and have a 
word with me.

-- 
Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win2003 x64 + VSS

2008-01-10 Thread Matthias Baake
Hello,

I have a lot of trouble getting the VSS to work reliable. The funny
thing is if I run the Job manual at daytime it works. If the scheduled
job runs at night I get the following messages:

10-Jan 02:30 bacula-fd JobId 2421: Generate VSS snapshots. Driver="VSS
Win 2003", Drive(s)="CDE"
10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
drive "c:\" failed. VSS support is disabled on this drive.
10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
drive "d:\" failed. VSS support is disabled on this drive.
10-Jan 02:30 bacula-fd JobId 2421: Warning: Generate VSS snapshot of
drive "e:\" failed. VSS support is disabled on this drive.

The application log from Windows says something like this

Error 10.01.2008 02:30:18 VSS 12292
Warning 10.01.2008 02:30:18 COM+ 4830

From EventID.Net I found this

=
I had this error on Windows 2003 when 2 services were Disabled, namely
"Microsoft Software Shadow Copy Provider" and "Volume Shadow Copy".

Mark-Alen Perry (Last update 3/4/2005):
I have found this error can also appear if the "Microsoft Software
Shadow Copy Provider" service is not started.

Ionut Marin (Last update 10/14/2004):
- Error: 0x80040154 - M246499 disscuses a problem related to this
  error code and COM+.  

The COM+ error message says me that there is not enough memory in the
system. 

=

Windows System is a virtual machine installed on top of a Xen
Enterprise Dom0

Maybe someone could give me a hint.

Greetings and Thanks
-- 
Matthias Baake
- Systemadministration -
MarcanT InterNet-Services GmbH 
Ravensberger Str 10 G 
D - 33 602 Bielefeld 
Fon: +49 5 21 - 9 59 45 - 0 
Fax: +49 5 21 - 9 59 45 - 18 
E-Mail: [EMAIL PROTECTED] 
URL: http://www.marcant.net 

Geschäftsführer: Thorsten Hojas 
Handelsregister: Amtsgericht Bielefeld, HRB 35 827 
USt-ID Nr.: DE 190203238 

___ 
VERTRAULICHKEITSHINWEIS: 
Der Inhalt dieser E-Mail ist vertraulich und fuer den Nutzer der EMail Adresse 
bestimmt, an den die Nachricht geschickt wurde; sie kann darueber hinaus durch 
besondere Bestimmungen geschuetzt sein. Wenn Sie nicht der Adressat dieser 
EMail sind, duerfen Sie diese nicht kopieren, weiterleiten, weitergeben oder 
sie ganz oder teilweise in irgendeiner Weise nutzen. Wenn Sie diese EMail 
faelschlicherweise erhalten haben, benachrichtigen Sie bitte den Absender, 
indem Sie auf diese Nachricht  antworten.

___ 
CONFIDENTIALITY NOTICE 
The contents of this email are confidential to the ordinary user of the email 
address to which it was addressed and may also be privileged. If you are not 
the addressee of this email you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever. If you have received this 
email in error please email the sender by replying to this message.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [EMAIL PROTECTED]: Re: waiting to reserve a device]

2008-01-10 Thread Marco Gaiarin

> Apart mount request (that i can accept to ignore...), there's something
> other messages that i can lost ignoring 'mount'?

No answer, i've tried. I've simply commented out:

operator = [EMAIL PROTECTED] = mount

and 'waiting to reserve a device' message are desappeared, as expected.

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-10 Thread Matthias Baake
Hi,

do you have installed the mysql devel package? If so the header should
be located somewhere in /usr/include/mysql (in my case using centos).
It maybe the case that your locate database is not up2date for
updating it read the man page of locate or give updatedb a try. 

Good Luck

On Wed, Jan 09, 2008 at 11:48:41PM -0500, Reynier Perez Mira wrote:
> Hi every:
> 
> Alter some headaches with Bacula I decide unistall using apt-get
> autoremove bacula and then compile all from source. I try this:
> 
> > ./configure -enable-bwx-console -enable-tray-monitor
> -with-mysql=/usr/share/mysql
> 
> Here appear a problem that I can't find a way to solve it.
> 
> > configure: error: Invalid MySQL directory /usr/share/mysql/ - unable
> to find mysql.h under /usr/share/mysql/
> 
> I find this file over the entire computer using this time:
> 
> > locate mysql.h 
> 
> But it doesn't appear. Can any help me here?
> 
> Cheers and thanks in advance
> 
>  
> 
>  
> 

> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Matthias Baake
- Systemadministration -
MarcanT InterNet-Services GmbH 
Ravensberger Str 10 G 
D - 33 602 Bielefeld 
Fon: +49 5 21 - 9 59 45 - 0 
Fax: +49 5 21 - 9 59 45 - 18 
E-Mail: [EMAIL PROTECTED] 
URL: http://www.marcant.net 

Geschäftsführer: Thorsten Hojas 
Handelsregister: Amtsgericht Bielefeld, HRB 35 827 
USt-ID Nr.: DE 190203238 

___ 
VERTRAULICHKEITSHINWEIS: 
Der Inhalt dieser E-Mail ist vertraulich und fuer den Nutzer der EMail Adresse 
bestimmt, an den die Nachricht geschickt wurde; sie kann darueber hinaus durch 
besondere Bestimmungen geschuetzt sein. Wenn Sie nicht der Adressat dieser 
EMail sind, duerfen Sie diese nicht kopieren, weiterleiten, weitergeben oder 
sie ganz oder teilweise in irgendeiner Weise nutzen. Wenn Sie diese EMail 
faelschlicherweise erhalten haben, benachrichtigen Sie bitte den Absender, 
indem Sie auf diese Nachricht  antworten.

___ 
CONFIDENTIALITY NOTICE 
The contents of this email are confidential to the ordinary user of the email 
address to which it was addressed and may also be privileged. If you are not 
the addressee of this email you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever. If you have received this 
email in error please email the sender by replying to this message.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Does someone see any error in my services file ?

le dahut wrote :
> You can take a look at /etc/services here 
> ftp://dev-eole.ac-dijon.fr/Dev/services
> 
> Frank Sweetser a écrit :
>> le dahut wrote:
>>> Has I said (not directly I assume), it is not corrupted and indeed, many 
>>> random processes take successively port 9101 and when I finally restart 
>>> all the incriminated services, it ends on a bacula-dir process that 
>>> seems not to have been properly killed/closed by the init script.
>>>
>>> So why do I get this very strange behavior ?
>> Either a) every one of those programs has been configured to use 9101, which 
>> I
>> highly doubt, or b) when each one of those programs goes to look up its
>> default port, it is always getting 9101.  Unless you have NIS configured on
>> your system, the canonical source for service name to port number mappings in
>> /etc/services file.
>>
>> If you like, you could post your /etc/services file on a web site or
>> pastebin.ca somewhere, and others could then take a look to see what hidden
>> faults there might be.
>>
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] "Could not hard link ..." errors during restore from "full+n*incremental"-job

2008-01-10 Thread Vladimirs Vecgailis
Hi all

I try to restore a last backup of a certain server and getting tons of errors 
like:

---
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard 
link /opt/zimbrabackup/zimbra/store/0/256/msg/0/2446-6838.msg -> 
/opt/zimbrabackup/zimbra/store/0/255/msg/1/6012-11412.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4573-17799.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5414-13581.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4583-17810.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5419-13581.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4606-17975.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5540-14100.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4621-18001.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5541-14100.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4622-18002.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5542-14100.msg: ERR=No such file or 
directory
09-Jan 03:46 zimbra-server: Common_restore_procedure.2008-01-10_10.29.23 Error: 
create_file.c:312 Could not hard
link /opt/zimbrabackup/zimbra/store/0/256/msg/1/4623-18003.msg -> 
/opt/zimbrabackup/zimbra/store/0/257/msg/1/5543-14100.msg: ERR=No such file or 
directory
---

and every first file mentioned in every error-msg isn't restored.

The restore is using one Full job and one incremental Job and 
 is running with the (default) option

"Replace: always"

These errors occurs only if i restore a server/files from a 
"full+n*incremental"-jobs.
If i restore the files from the single last FULL job, all is fine.


For example the files *on the original system* from the first error-msg are:

[The first one]
---
[EMAIL PROTECTED]:/opt/zimbra/store/0/256/msg/0# stat 2446-6838.msg
  File: `2446-6838.msg'
  Size: 9649Blocks: 24 IO Block: 4096   regular file
Device: fd01h/64769dInode: 18269157Links: 19
Access: (0640/-rw-r-)  Uid: ( 1001/  zimbra)   Gid: ( 1001/  zimbra)
Access: 2008-01-10 10:48:11.0 +0100
Modify: 2007-11-02 15:27:11.0 +0100
Change: 2008-01-03 16:28:33.0 +0100
[EMAIL PROTECTED]:/opt/zimbra/store/0/256/msg/0# 
---

[The second one]
---
[EMAIL PROTECTED]:/opt/zimbra/store/0/255/msg/1# stat 6012-11412.msg
  File: `6012-11412.msg'
  Size: 9649Blocks: 24 IO Block: 4096   regular file
Device: fd01h/64769dInode: 18269157Links: 19
Access: (0640/-rw-r-)  Uid: ( 1001/  zimbra)   Gid: ( 1001/  zimbra)
Access: 2008-01-10 10:48:11.0 +0100
Modify: 2007-11-02 15:27:11.0 +0100
Change: 2008-01-03 16:28:33.0 +0100
[EMAIL PROTECTED]:/opt/zimbra/store/0/255/msg/1# 
---



In the backup the first file *does not exists* (??ha ?? how that can be),
and the second file exists.


On the recovery-client the first file does not exists (ok, sure, it doesn't 
exists
in a backup), and the second file exists:
---
[EMAIL PROTECTED]:/opt/zimbrabackup_old/zimbra/store/0/255/msg/1# stat 
6012-11412.msg 
  File: `6012-11412.msg'
  Size: 9649Blocks: 24 IO Block: 4096   regular file
Device: 801h/2049d  Inode: 1426454 Links: 19
Access: (0640/-rw-r-)  Uid: ( 1001/  zimbra)   Gid: ( 1001/  zimbra)
Access: 2008-01-08 14:58:07.0 +0100
Modify: 2007-11-02 15:27:11.0 +0100
Change: 2008-01-09 03:28:13.0 +0100
[EMAIL PROTECTED]:/opt/zimbrabackup_old/zimbra/store/0/255/msg/1# 
---


Can someone explain me what i'm doing wrong



Mit freundlichen Grüßen

Vladimirs Vecgailis

--

==
Vladimirs Vecgailis
Colocation IT
primacall Vertriebs-GmbH
Postfach 08 04 55
10004 Berlin

Leipziger Str. 124 
10117 Berlin 
GERMANY

Phone   +49 30 206143 875
eMail   [EMAIL PROTECTED]
Web http://www.primacall.de
==

Amtsgericht und Sitz: Berlin, HRB 98348 B
Steuernummer: 37-199-20919
Geschäftsführer: M. Vukusic

Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können
rechtlich bedeutsam sein.

Re: [Bacula-users] Problem compiling Bacula

2008-01-10 Thread Arjen
Reynier Perez Mira wrote:

> I install libmysql++-dev but still without appear mysql.h. Another 
> suggestion? 
>   

You need libmysqlclient-dev (since bacula will be a mysql client). Running

apt-get install libmysqlclient-dev

will tell you that it is a virtual package after which it tells you
which package to  install. This will be something like
libmysqlclient15-dev or libmysqlclient14-dev.

I would also like to say that all your postings to this list indicate
that you are an unexperienced Linux user (let alone administrator). You
really need to get your Linux knowledge boosted since the difficulties
you experience are only the top of the iceberg of issues you will
encounter in setting up a working bacula installation. There are, for
instance, several IRC channels, often called #linux or #debian (Ubuntu
is based upon Debian) or maybe even #ubuntu where you can ask basic
questions. Up until now your questions were Linux (and mysql) related
and had nothing to do with Bacula as such.

Good luck,

Regards,
Arjen.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] A required privilege is not held by the client

2008-01-10 Thread rossi . tek
I'm trying to backup a windows vista 64 bit but i get the following error:
08-Jan 14:25 vista-fd JobId 421:  Cannot open c:/data/README.txt:
ERR=A required privilege is not held by the client.

The bacula-fd service log on as Local System account, i also tried to
log on as administrator but nothing changes. The version of bacula-fd is 2.2.7.
Do you know why? Does bacula work under vista64?

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-10 Thread Bruno Friedmann
To find a .h file you should use find /usr -name "mysql.h" just in case your 
locate doesn't index /usr/include (where .h should
be saved)
after that a --with-mysql should be enough.

as the .configure --help said
--with-mysql[=DIR]  Include MySQL support.  DIR is the MySQL base
  install directory, default is to search through
  a number of common places for the MySQL files.

/usr/share is more for doc or language
/usr/lib/mysql or /usr/lib64/mysql would normally be where lib and tools are 
recorded.

Hope you will find your way

Ryan Novosielski wrote:
> You probably need the mysql-devel package -- typically if you're missing
> a header file, you need -devel package installed.
> 
> Reynier Perez Mira wrote:
>> Hi every:
> 
>> Alter some headaches with Bacula I decide unistall using apt-get
>> autoremove bacula and then compile all from source. I try this:
> 
>>> ./configure ?enable-bwx-console ?enable-tray-monitor
>> ?with-mysql=/usr/share/mysql
> 
>> Here appear a problem that I can?t find a way to solve it.
> 
>>> configure: error: Invalid MySQL directory /usr/share/mysql/ - unable to
>> find mysql.h under /usr/share/mysql/
> 
>> I find this file over the entire computer using this time:
> 
>>> locate mysql.h
>> But it doesn?t appear. Can any help me here?
> 
>> Cheers and thanks in advance
> 
> 
> 
> 
> 
> 
>> 
> 
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> 
> 
>> 
> 
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace




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


-- 

 Bruno Friedmann  [EMAIL PROTECTED]

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger with two drives

2008-01-10 Thread Falk Sauer
Hi John,

On Donnerstag 10 Januar 2008 06:45:32 wrote:
> On Jan 10, 2008 12:31 AM, Falk Sauer <[EMAIL PROTECTED]> wrote:
> > and how you advice the changer wich volume you want to have in such a
> > individual drive?
> > If i understand your config correct you can making storage jobs directly
> > to a device, if the job is bigger as one volume you have the problem that
> > bacula cannot change the volume automaticly? Or is inside Bacula a lot of
> > magic what recognice such a nice configuration and works then magically?
>
> The drives will still use the changer to load tapes when needed. For
> about a year I ran it this way because bacula was not handling my 2
> drive changer correctly. It would often want to remove a tape from
> drive 1 to place it in drive 0 which already had a different tape
> loaded so it would have to unload that tape first and repeat this
> cycle every night. Recently that problem was fixed and I use only the
> changer resource for jobs. But things like label barcodes I can have
> it run that on drive 1 instead of drive 0 if I want by specifying the
> drive directly.

ok, for the records, the only right way to use a backup job on a x-Drive 
changer is over the changer device, not directly to a drive inside the 
changer.

then we are on the next problem described in your parallel mail:
 
> Follow the advice Arno gave about Prefer Mounted Volumes=no. A
> possible undesirable side effect of that is that you will have several
> tapes in your pool with the Append status.

i will also go this way and make backups with 4 jobs concurrently on two 
Drives in one changer. I hope (not yet tested) 2 Jobs go automatically to 
every 1 Drive. What can i do (without user interaction) after the backup 
finished (all 4 jobs or accordingly the backup-catalog job finshed!) to set 
the volumes in state Append affected by the 4 or 5 jobs set to status Used? 
Has anybody a script/idea or alternative setting for this?

Regards
   Falk


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users