[Bacula-users] configuration question: IPs and hostnames

2015-07-13 Thread Florian Schnabel
Hi,

I got a bacula setup running for several years now, sadly I hit a snag
and was hoping someone here can help me.
The setup is as follows:

* bacula-director and bacula-sd running on one box (v. 5.2.6, Debian wheezy)
* several bacula-sd (v. 5.2.6, Debian wheezy)
* one bacula-sd (v. 5.2.6, Debian jessie) (- this is the box i'm
currently making my changes to)

I doubt the versions do matter but for the sake of completion .. :-)

Now I'm in the middle of the painfull process of migration to different
IPs (from 192.168.0.0/24 to 10.0.0.0/8) and got a LAN and DMZ area too
as to make things anything but simple.

I'm trying to use hostnames everywhere now so I changed the Storage
definition for bacula-director to a FQN (host.domain.com) that is
resolvably at least for my servers. Now the bacula-director got two IPs
.. one in the old segment, one in the new. The main bunch of the
bacula-sd still got old IPs and connect to the director/storage on the
old IP. For one bacula-sd I tried switching over to the new IP (only, no
dual IP there) but then bacula won't work anymore. According to the
error message it tried sending the backup to the bacula-fd on the OLD
IP, even though on the box the hostname resolves correctly to the new IP
it SHOULD use.

I got the sneaking suspicion the hostname on the configuration gets
resolved on the director, not the sd and is wrong. Is there any way
around that? For the migration I need to be able to switch one box after
the other to the new IPs, there are a buckload of internal services on
there that i can't possibly all reconfigure at once ...

Any help would be appreciated.


Florian


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula development voting

2007-01-12 Thread Florian Schnabel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



 Priority  Project Number
 =
   1   14  (naturally, i suggested it :-))
   2   27
   3   40
   4   1
   5   22
   
 



- --

Florian Schnabel
Administrator

- ---
docufy GmbH
Kapuzinerstr. 32
96047 Bamberg
phone +49 951 20859 704
fax   +49 951 20859 777
mailto:[EMAIL PROTECTED]
http://www.docufy.de
---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFp5hNI/CN66F0268RAhUSAJ4nY8wCxcnj4kXrZiGXKq6RCTbyAACfelSM
LrhyCFA/yEajUbRB8FmtKio=
=5YgJ
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] pstgresql errors ... missing table

2006-06-21 Thread Florian Schnabel
my postgresql-log got errors about a missing table ( and an index on it)
now the wired thing is that table is not defined in the create script at 
all (checked with CVS)

wtf is wrong here ?
it's working like that but i can't backup database since postgresql is 
complaining about missing transaction logs, probably due to those errors
?

Florian



2006-06-21 09:35:39 [29672] FEHLER:  Tabelle »delcandidates« existiert 
nicht
2006-06-21 09:35:39 [29672] FEHLER:  Index »delinx1« existiert nicht
2006-06-21 09:35:39 [29672] FEHLER:  Index »delinx1« existiert nicht



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


Re: [Bacula-users] pstgresql errors ... missing table

2006-06-21 Thread Florian Schnabel

 
 No, postgresql transaction log errors have nothing to do with what's in
 your database. What exactly is the error you get about the logs?
 
 //Magnus

i'm getting errors when trying to do a pg_dump of my catalog database ...

i already deleted and re-created the database but to no avail ...

any ideas ?

i thought the reason could be bacula having errors...


2006-06-21 10:32:51 [818] FEHLER:  konnte auf den Status von Transaktion 
675100 nicht zugreifen
DETAIL:  konnte Datei »/var/lib/postgres/data/pg_clog/« nicht 
öffnen: Datei oder Verzeichnis nicht gefunden



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


Re: [Bacula-users] pstgresql errors ... missing table

2006-06-21 Thread Florian Schnabel
 
 Yikes. You have corrupt files on disk. Have you had hardware problem or
 OS crashes lately? Or running some funky beta-version of a filesystem
 ;-)
 

nah .. ext3 and no crashes


 Also, what version of pg is this? Is it a large/old database, and if so
 are you vacuum:ing regularly? 
 

vacuum stopped running because of the problem ^^

 i thought the reason could be bacula having errors...
 
 Nope, not related.
 
 
 Anyway. The proper fix is to restore a backup from before the disk
 corruption occured. If you can't do this, try to recreate the file
 using:
 dd if=/dev/zero bs=1k count=128 of=/var/lib/postgres/data/pg_clog/
 
 This only applies if the file does not exist, of course - if it does,
 and pg for some reason can't see it, you have a different problem.
 
 *WARNING* This may quite well lose data for you, because it will zero
 out the visibility info. If it works, pg_dump yuor database right away,
 re-initdb, and reload that backup.
 

well since postgresql only holds the bacula database i just did a 
reinstall and set up database from scratch, it seems to work fine now

pg_dump was also not working anymore ^^

the advice to re-initdb wa a bit too late ... did it the blunt way ;-)

 
 You'll definitly want to do an extra round of fsck on your filesystem,
 probably with badblocks checking enabled.
 
 //Magnus

can't really do that right now, and since syslog did hold 0 messages 
from disk problems i don't think it's the hardware anyway

Florian


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


[Bacula-users] request to update documentation

2006-06-13 Thread Florian Schnabel
since the debian sarge package doesn't contain the create database 
script i just noticed nowhere in documentation is database encoding 
mentioned ... at least for me it's working with LATIN1 (got german 
characters in some files) .. UTF-8 and UNICODE both fail when bacula 
tries to insert records for some files

i suggest adding some info about that to documentation :-)


Florian


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


Re: [Bacula-users] (no subject)

2006-04-05 Thread Florian Schnabel

Bart Schelstraete wrote:

Hi,

I have another question.
I want to use Bacula so that it writes the backup to a file, which isn't a
problem.
But the file should have a maximum of 70G, which is also not a problem :)
But what I want is that Bacula keeps re-using the file.
So : Take backups till the 70 G is full - remove the older parts - use the
parts which were freed up.

I thought that this could be done with pruning, but I can't get it working.
I've set the file pruning after 2days, and the job pruning after 3 days..but
the files keeps filling until the 70g is used.

Anybody who can help me?

B


i don't think this is a good idea anyway ... the file will get framented 
a LOT over time that way


Florian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileStorage into several files

2006-03-06 Thread Florian Schnabel




you'll need to set a max volume size a bit smaller than 2 GB ...
though putting your backup onto a SMB share on a windows box doesn't 
look like a good idea to me ...


also, always remember to keep a reasonably new backup off-site :-)


Well like I said, the SMB share is backed up on a physical tape, so I'm 
okay for off-site backing up.


Could you tell me which parameter i need to add to get these volume 
sizes working?


Laurent



[snip]

To limit the maximum size of each Volume, use:

Maximum Volume Bytes = .

[/snip]

of course you should enable automatic volume creation with this or be 
carefull that you got enough volumes


please note that changing that value in config does not change existing 
volumes, you need to update them manually


Florian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] first time backup erros help needed

2006-03-03 Thread Florian Schnabel

david robert wrote:

Hi Guys,
  I have scheduled jobs for the first time yesterday night and my storage 
daemon was stopped automatically i don't know why.I am have started the 
staorage daemon and i am checking the status using bcosole for director it is 
showing like this
   
  Scheduled Jobs:

Level  Type Pri  Scheduled  Name   Volume
===
Full   Backup11  04-Mar-06 00:40NightlySavemain2   *unknown*
Full   Backup12  04-Mar-06 01:10NightlySavedirector2 *unknown*
Full   Backup13  04-Mar-06 02:30BackupCatalog  *unknown*

  Running Jobs:
No Jobs running.

   
  Terminated Jobs:

 JobId  Level Files  Bytes Status   FinishedName

 1  Full  0  0 Error03-Mar-06 02:10 NightlySavemain2
 2  Full  0  0 Error03-Mar-06 03:40 
NightlySavedirector2
 3  Full  0  0 Error03-Mar-06 04:10 BackupCatalog
   
  I am not sure why it is showing volume name unkown.I am running out of ideas and when i can check the error messages for bacula.
   
  My director setting for jods and schedules are correct i think
   
  How to get the volume name under volume.
   


volume *unknown* means bacula not no empty volume it is allowed to 
recycle or append to and is not allowed to create a new volume either 
... so it just doesn't know where it could put that backup.


obviously your volume/pool settings aren't working out

florian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] regular error message ...

2006-02-27 Thread Florian Schnabel
didn't find the time to get the info you requested but i found out 
something now just now ...


if i use the bacula console and do a status director it takes a bit 
because it i get message like


27-Feb 11:13 erde-dir: Max configured use duration exceeded. Marking 
Volume HD03 as Used.

27-Feb 11:15 erde-dir: Pruned 6 Jobs on Volume HD01 from catalog.
27-Feb 11:15 erde-dir: Recycled volume HD01

then, the next day i don't get the error message ...

maybe this helps ?

Florian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file count mismatch by restore

2006-02-24 Thread Florian Schnabel



Why is thois mismatch? What can i do?

Dear
Florian



obviously you got a msimatch .. you wanted to restore 1 file and 
restored 0 ^^


check the location bacula should write those files to, if it got write 
access there at all etc.


florian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] A script to ease the pain of switching from SQLite to PostgreSQL

2006-02-23 Thread Florian Schnabel

Russell Howe wrote:

Well, the time is nigh. Our SQLite database has hit 1.3GB and creates a
900MB dump file, which is big enough to cause our bacula Xen virtual
machine to run out of space when running a catalog backup.

We have a Postgres (7.4) server with plenty of space, so I thought I'd
try importing the catalog into that.. things didn't go so smoothly, so I
ended up knocking up a script to do the import.

I haven't actually finished it yet, and I know there are some
optimisations which could be made, but I hope this is useful to someone:

What could be better:

* Automatic reorganisation of CREATE statements so that they execute in
the correct order
* Commandline parameters
* Handling of arbitrary conversions (Postgres - MySQL, MySQL -
Postgres, SQLite - MySQL, MySQL - SQLite, Postgres - SQLite)

Note that it would be a good idea to turn off the fsync stuff on
Postgres while you do the import - I haven't benchmarked, but it should
make things go a good bit quicker.

I haven't actually tested this yet, so it's probably broken and riddled
with bugs. Still, enjoy :)



not it wouldn't be nice to have scripts for most database changes (no 
need from anything to change to sqLite though)
but i would just change the database and wait for it to be populated 
with the new entries .. no real need to import data since you can 
restore without having it in the database


Florian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] regular error message ...

2006-02-01 Thread Florian Schnabel

i still didn't find a reason for my problem ...
bacula prunes old jobs, then i get an error no volume available, THEN 
the volume gets recycled and backup starts


i'll attach the messages, maybe someone can help me with that;
i don't really like to get an error message every couple days


Florian

---

31-Jan 21:00 erde-dir: Start Backup JobId 1108, 
Job=Cetus_Job.2006-01-31_21.00.00
31-Jan 21:00 erde-dir: Max configured use duration exceeded. Marking 
Volume HD03 as Used.

31-Jan 21:01 erde-dir: Pruned 6 Jobs on Volume HD01 from catalog.
31-Jan 21:01 erde-sd: Job Cetus_Job.2006-01-31_21.00.00 waiting. Cannot 
find any appendable volumes.

Please use the label  command to create a new Volume for:
Storage:  FileStorage
Media type:   File
Pool: DaylyPool
31-Jan 22:01 erde-dir: Recycled volume HD01
31-Jan 22:02 erde-sd: Recycled volume HD01 on device /opt/baculaHD, 
all previous data lost.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Time taken to purge/prune volumes

2006-01-25 Thread Florian Schnabel

Juliet Kemp wrote:

Hi,

How long is it normal for pruning/purging a volume to take?  I have 
found that it takes several hours, even if only purging 2 or 3 jobs ( 
incremental jobs, rather than full ones) - this obviously can delay 
backups quite significantly.


Does the purge/prune actually require interaction with the tape?  Or 
just the database?


I'm running 1.36.3, on Linux,  using MySQL as the backend.  It's quite 
an old machine, as well.  My backup is to LTO-3 tapes in an autochanger 
(backing up etc works fine).



Thanks for any help/comments!


Juliet Kemp


pruning shouldn't take hours ...
i can get 6 jobs pruned in about 5-10 minutes ...
i suggest checking your database layout, there were ppl on the mailing 
list that were missing indices in the database, that would explain why 
it takes so long for you.


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] different questions and feature requests...

2006-01-19 Thread Florian Schnabel

Timo Eissler wrote:

Hello list,

we use bacula in our firm and it work great, but we had a lot of 
questions before we can
install bacula at our customers. The problem is that bacula needs in our 
mind a system operator to
control bacula and we are our customers operator, but normally they want 
to change their tapes themselves

because every hour we work for them costs money.

We think these features should be added to bacula before we can install 
bacula at our customers and let
a normal user change tapes and control the backup. A normal user we 
think could not work with the bconsole, he just can read emails

and change tapes.

1. It should be possible to show the tapes who should go into an 
fireproof safe or another building with which a complete restore

   of all data (regardless how much pools or jobs exist).

2. Which tapes should be inserted for the next jobs (maybe the hole week).
I think the best way to realise this is to get a list with all tapes 
from all pools in the order bacula wants to use them. Now the normal 
user can choose which
tapes he must insert (he will know how much tapes from which pool 
because we can say it to him or he can read it in our documenation).


3. Automatically cleaning of the tape drive. (after x used tapes, x GB 
or maybe every saturday)
I think this can be scripted and scheduled with an admin job, but we 
think this should be a function of bacula.




no.
new tape drives aks for cleaning tape with a special LED, also 
manufacurer tells you only to use cleaning tape when asked for it


  Another problem we had is the way bacula will check the Volume Use 
Duration. In our case we change tapes mondays for the differential data 
backups
which run Monday till Friday. We want every day to go on another Volume, 
so we set Volume Use Duration to 23hours. The Problem is that bacula 
checks the Volume Use Duration only after a Backup, so we tried to let 
an admin job which run with that pool set the VolStatus for the used 
tape to Used, but this wouldnt work. A quick fix will be an job which 
run on that pool and just backup a small file to close the tape.
We think it would be a great feature to choose if the Duration check 
should be made after, before or after and before the backup.



I think this was all... No :) we want to thank everybody who contribute 
something to bacula for this really great piece of software!


Thanks and regards,
Timo



Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to speed up the backup.

2006-01-18 Thread Florian Schnabel

Marcin Wasilewski wrote:


- Original Message - From: Florian Schnabel 
[EMAIL PROTECTED]

To: bacula-users@lists.sourceforge.net
Sent: Wednesday, January 18, 2006 11:53 AM
Subject: Re: [Bacula-users] How to speed up the backup.



Marcin Wasilewski wrote:

Hello,

I wonder if You have any ideas how to speed up my bacula backup.
I'm using Bacula 1.36.3 on Debian with MySQL 4.1.15 on machine 
2x1.4GHz, 2Gb RAM, 2x80Gb HDD RAID1.

Network connection is:

FD Files Written: 515,401

SD Files Written: 515,401

FD Bytes Written: 232,278,974,474

SD Bytes Written: 232,353,930,829

Rate: 11186.1 KB/s

It took about 6 hours to backup it..


are you using spooling ?

Florian


I don't use spooling now, i tried this but the backup time was similar...

Marcin



well for one spooling lowers the stress on your tape drive so i suggest 
using that for everything thats not stored on the same box :-)


also check what write speed your tape (u using tape?) got
doesn't look that slow to me

Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Intervention needed for BackupCatalog

2006-01-18 Thread Florian Schnabel

Jesús Arnáiz wrote:

Hi there,
I don't stop to get this error, although I have every Pool with the 
LabelFormat directive, like:




Pool {
  Name = Full-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 3 months
  Accept Any Volume = yes
  Maximum Volume Jobs = 2
  LabelFormat = Full-
  Maximum Volumes = 10
}

--

So, why he ask to use label every time I want to do this backup?

 Original Message 
18-Jan 20:31 ctsnas-sd: Job BackupCatalog.2006-01-18_20.30.52 waiting. 
Cannot find any appendable volumes.

Please use the label  command to create a new Volume for:
Storage:  nas1-device
Media type:   File
Pool: Full-Pool


---


Thanks in advance


am getting this type of error too about once a week ... seems it's 
pruning the catalog and not waiting for that when checking for free volume


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] regular error message ...

2006-01-16 Thread Florian Schnabel
now .. my bacula setup works really nicely except for the following 
message i recieve every couple days .. it works one hour later when 
bacula retries.


it looks like it takes to prune/purge old data and thus the first try fails.

is this a design flaw or did i do something wrong in my config ?

Florian


---
15-Jan 21:00 erde-sd: Job Cetus_Job.2006-01-15_21.00.01 waiting. Cannot 
find any appendable volumes.

Please use the label  command to create a new Volume for:
Storage:  FileStorage
Media type:   File
Pool: DaylyPool
---


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job pruning taking ages...

2006-01-09 Thread Florian Schnabel

Will McDonald wrote:

Hi all,

can anyone give me any insight as to why I'm seeing Volume pruning
taking so long?  I'm running bacula-mysql-1.36.3-1 on White Box
Enterprise Linux release 4 (effectively RHEL4). Is something messed up
in my Pool definitions?



you are aware that pruning will remove the job from the catalog ?
thus it is depending on your database seed ...

you didn't post that part of your config but i assume you are using 
sqlight since it takes so long and got a huge DB file ...


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Finding redundant volumes

2005-12-21 Thread Florian Schnabel

Dominic Marks wrote:

Hello,

On our main backup server the disc array is filling up. I need to delete
some of the old volumes which are no longer required. How can I get a list
of volumes which have been pruned from the catalogue so I can actually
delete them?

Thanks,
Dominic Marks


try rading up about the recycle options .. bacula can do that automatically

--

Florian Schnabel


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Finding redundant volumes

2005-12-21 Thread Florian Schnabel

Andreas Freyvogel wrote:

Is there any way to have the listing done a page at a time? Similar to
piping the outcome through more. As it is now, the listing goes flying by
and I am unable to view all of what is listed.

Thank you.


if you are using wx-console you can just scroll back !?

--

Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] AutoLabel not working (HELP!!!)

2005-12-20 Thread Florian Schnabel

Pedro Henrique Morsch Mazzoni wrote:

Hi,

I'am using bacula since last month, and ir runs smoothly.
But my strategy is to use a volume for 1 month and then prune it, and create
a new volume.
It works, but it is not autoLabeling a new volume for this storage.
And it seems strange cause it autolabeled the volume last month when I start
to use bacula.



uhm ... for one you sould definetely NOT only use incremental backups
also one month fitting on one tape sounds really fishy ..

how much do you backup anyway ?

Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] AutoLabel not working (HELP!!!)

2005-12-20 Thread Florian Schnabel

Pedro Henrique Morsch Mazzoni wrote:

First, I'm backing up to disk.
As long as I know, when there is no prior backup bacula will upgrade the job
to Full, so what's the problem?

Thanks,
Pedro Mazzoni


you could have mentioned that you use disk volumes .. ^^

also you did set maxvolumes to 2, so bacula won't create or label new 
volumes of course since it can't delete the old volumes.


why don't you use one volume per week and set maxvolumes to 4 or 
something so they can acutally be recylced ?


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] tape woes

2005-12-19 Thread Florian Schnabel

my tape was running fine with bacula for several months now ...

now i entered the office this morning and the tape light was off, i 
can't eject the tape and i got errors in the log ...


bacula says

3901 open device failed: ERR=dev.c:289 stored: unable to open device 
/dev/nst0: ERR=Input/output error



kerne.log says

Dec 19 10:38:52 erde kernel: st0: Error 1 (sugg. bt 0x0, driver bt 
0x0, host bt 0x1).



i would says now wither my tape died on me (that won't be nice) or it 
just hung up ... had that with a CD-ROM once .. got no reaction out of 
it even with rebooting untill i turned power of for about a minute ...


i treid playing around with sg3-utils e.g. sg_reset but no luck so far ..


any tips ?

Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] suggestions for backup hardware

2005-12-19 Thread Florian Schnabel
since out Tandberg DLT VS 80 just died over the weekend and this is 3rd 
tape DRIVE that failed in my company in 5 years ...


i could use suggestions for hardware to use ... preferably no more tapes ^^

i need to be able to take one backup each week offsite .. so it should 
be at least a combination including something i can take with me :-)


my thoughts tend to multiple file storages combined with a USB-HD for 
offsite storage, but i'd prefer some more professional version


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] suggestions for backup hardware

2005-12-19 Thread Florian Schnabel

Florian Schnabel wrote:
since out Tandberg DLT VS 80 just died over the weekend and this is 3rd 
tape DRIVE that failed in my company in 5 years ...


i could use suggestions for hardware to use ... preferably no more tapes ^^

i need to be able to take one backup each week offsite .. so it should 
be at least a combination including something i can take with me :-)


my thoughts tend to multiple file storages combined with a USB-HD for 
offsite storage, but i'd prefer some more professional version


Florian


oh .. i forgot ...
full backup is currently 25 GB, media should support at least 40 GB of 
uncompressed data, options for incremental backups are limited since the 
data change is pretty high ...


Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula error using SQLite -- database is locked

2005-12-15 Thread Florian Schnabel

Ken Lupo wrote:

Has anyone received this error:

failed. ERR=database is locked


How do you correct that?


Thanks in advance,

Ken



if the box crashed there coule be a lock file left .. jsut delete it

Florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Daemon 'Replication'

2005-12-01 Thread Florian Schnabel

that is on the wanted-feature-list already

use rsync -Wt for now

Florian

McCann, Brian wrote:

Hi all...this may sound silly...but is there a way to have the SD send
whatever is written to one device, also to another device or SD?  All
our backups right now go to one server, and I'd like them to be
replicated to a 2nd server in another building (I've got a gigabit link
between them).  I know I can accomplish this with cron and rsync, I was
just wondering if anything was built in to do this.  I didn't see
anything in the documentation...but since Bacula does so much, I figured
I'm probably missing it. :)

Thanks,
--Brian



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] default UID/GID for bacula?

2005-11-24 Thread Florian Schnabel

Aleksandar Milivojevic wrote:

Is there default UID/GID that could be used for bacula?  If not, it might be
nice if Bacula could get default UID and GID assigned at least in several major
distributions (such as Red Hat, Debian, Suse, Mandrake).



it's using bacula:bacula in debian ...
don't know about otheres

florian


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] default UID/GID for bacula?

2005-11-24 Thread Florian Schnabel

checked my installations since they are all debian.
doesn't look like it got a fixed UID/GID ...
got 104/104 twice and twice 105/105 ^^

just curious .. but what good would a fixed UID/GID do ?

Florian


Kern Sibbald wrote:

On Thursday 24 November 2005 15:54, Aleksandar Milivojevic wrote:

Is there default UID/GID that could be used for bacula?  If not, it might
be nice if Bacula could get default UID and GID assigned at least in
several major distributions (such as Red Hat, Debian, Suse, Mandrake).


Yes, not a bad idea.  Since, as far as I know, Debian is the only distribution 
to officially support Bacula (thanks to José Luis), we probably should adopt 
what they have chosen, assuming they have chosen something ...   The RedHat, 
SuSE, and Mandrivia packages are all built by Scott ...


This will have to be organized by someone other than me ...




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Slow restore

2005-11-21 Thread Florian Schnabel
i noticed lately that finding the file in the database can take quite 
some time 
try a handfull of bigger files to make sure it's not just counting 
search time ...


Florian


Pedro Henrique Morsch Mazzoni wrote:

Hi,

My restore jobs are very slow!
For example, a job to restore 1 file of 8kb it takes six minutes!

fs1-fd: -rw-r--r--   1 mazzoni  graduand8011 2005-07-04 05:17:24 
/users/mazzoni/fsdd.pbm

21-Nov 13:37 backup-dir: Bacula 1.38.1 (14Nov05): 21-Nov-2005 13:37:57
  JobId:  78
  Job:fs1Restore.2005-11-21_13.31.36
  Client: fs1-fd
  Start time: 21-Nov-2005 13:31:38
  End time:   21-Nov-2005 13:37:57
  Files Expected: 1
  Files Restored: 1
  Bytes Restored: 8,011
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK


I'm using mysql database and File backups. The network is ok(100MB/s tested).

Any ideas?

Thanks,
Pedro Mazzoni




---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Appendable volumes

2005-11-15 Thread Florian Schnabel

[EMAIL PROTECTED] wrote:

El Martes, 15 de Noviembre de 2005 14:18, Florian Schnabel escribió:

[EMAIL PROTECTED] wrote:

Hi there.

I'm looking for the method to do the next action:

When I do the backup I want to save the files in tapes and in 
the hard
disk. I want that the files backed up in the HD have the files retained
only for the last 15 days, and then I want bacula will recicle the volume
(or volumes). But I found two problems:

1º I want to make one file (volume) for day but I dont found the way
2º I want to recycle volumes but I dont found the way to configure
bacula to use file as no appendable.

Can somebody help me?

Greetings.

1) setting a MaxUseDuration can help you there a lot :-)

When you say MaxUseDuration want to say Volume Use Duration?

2) setting a Recycle to yes and setting an appropriate Volumeretention
will help there
	I Think there's no solution because if bacula have appendable volumes don't 
look for recyclable volumes, and I think that the files ever are 
appendables. Isn't it?




if MaxUseDuration is over bacula will NEVER use that volume again, it 
can only recycle and then re-use it


si it doesn't matter if it is still appendable


--

Florian


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Appendable volumes

2005-11-15 Thread Florian Schnabel

[EMAIL PROTECTED] wrote:

El Martes, 15 de Noviembre de 2005 16:07, Florian Schnabel escribió:

MaxUseDuration


Sorry Florian but, What is MaxUseDuration? I have been looking for this term 
in last manual (October 31 2005) and I have used google (bacula 
MaxUseDuration) and have not been able to find the term. You can explain to 
me to that you talk about?





sorry its VolumeUseDuration

http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000141


--

Florian Schnabel



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula not using a tape for some reason.

2005-11-11 Thread Florian Schnabel

Beren Gamble wrote:

Ok, this rewind error isn't going away.

I've tried changing the sleep timer to 180 in mtx-changer. No luck..

Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ...
Sending label command for Volume 000106L2 Slot 4 ...
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3304 Issuing autochanger load slot 4, drive 0 command.
3305 Autochanger load slot 4, drive 0, status is OK.
3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No 
medium found.


Any ideas? Thanks!


you checked if the tape is okay ?
maybe it's physically broken ?

Florian



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Database locked

2005-11-11 Thread Florian Schnabel

Pedro Henrique Morsch Mazzoni wrote:

Hi,

I am using sqlite and I'm receiving a lot of messages of the error:
database is locked
Any ideas?

Thanks,
Pedro Mazzoni



checked file permissions ?

also i would advise you to switch to postgresql if your DB is over 500 
MB you using bacula productive



--

Florian Schnabel


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: Fw: Re: [Bacula-users] mail notifications

2005-10-31 Thread Florian Schnabel

Viktorija wrote:

Thanks,

yes this looks very easy to configure. But if one of my user will get something 
like this:

29-Oct 00:16 vessel-dir: Start Backup JobId 3163, 
Job=revenger.2005-10-28_21.06.18
29-Oct 00:17 vessel-dir: revenger.2005-10-28_21.06.18 Fatal error: bnet.c:775 
Unable to connect to File daemon on 21.21.16.143:9102. ERR=Operation timed out
29-Oct 00:17 vessel-dir: revenger.2005-10-28_21.06.18 Error: Bacula 1.36.3 
(22Apr05): 29-Oct-2005 00:17:41
  JobId:  3163
  Job:revenger.2005-10-28_21.06.18
  Backup Level:   Incremental, since=2005-10-28 00:55:53
  Client: revenger-fd
  FileSet:revenger 2005-09-17 00:17:18
  Pool:   revenger
  Storage:File
  Start time: 29-Oct-2005 00:16:15
  End time:   29-Oct-2005 00:17:41
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0
  SD Bytes Written:   0
  Rate:   0.0 KB/s
  Software Compression:   None
  Volume name(s): 
  Volume Session Id:  1146

  Volume Session Time:1129015322
  Last Volume Bytes:  0
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  
  SD termination status:  Waiting on FD

  Termination:*** Backup Error ***

He will be shocked and every day will ask email description. So if is there a 
way to make these messages like this:

Hello, Dear user!

Your workstation backup failed tonight. Please check is bacula running, if not 
start it.
For more information contact you administrator by phone:


Your administrator


Is it possible?


Viktorija




of course that is possible .. worst case may be you have to do some 
custiom scripting though


Florian


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] File based backups

2005-10-25 Thread Florian Schnabel


i'm just answering a couple of your questions ...

Jason Tan wrote:

Hi All,

I'm wondering if anyone who uses file based backups (instead of tapes) 
could tell me if the volumes for their files get VolumeBytes, 
VolumeFiles and LastWritten recorded.




yes, yes and yes

My catalog shows 11 jobs on Volume BaculaQuickFile-0001 (ie Volume Id 
50).
However these is apparently no data and no files recorded on the Volume 
in the catalog (at least not that part of the catalog that bconsole 
displays).


In addition a file listing shows the volume to have been written to the 
tune of about 2.3G.
What I am trrying to do is get backups working on a pair of remoavvable 
USB disks.


The data gets written to the volume, but the volume never changes, 
despite the fact that Max Volumes Jobs for the pool is exceeded and 
other labelled volumes exist in the pool.


I also get an error listed below, about an Invalid Catalog Request.
I'm not sure how to interpret this other than quick's sd cant write to 
radio's sd.
However it is possible to open a socket from quick to radio:9101 which 
is what I assume is required for quick's sd to communicate with radio's 
dir.


Various data below.



i suggest u either use MaxVolumeBytes or MaxUseDuration to limit backups 
to a HD file ...


Florian


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-25 Thread Florian Schnabel




It's only three indexes!! Probably that's the reason! There's indexes
missing! I'll look in the bacula source an create all the missing
indexes! I expect this to fix the problem!



yes :-)

for comparison:

i'm using postgresql now ... total database size is 1.3 GB, about 500k 
files backed up every day, and index age of max a week.


database cleanup usually takes 5-10 minutes, CPU less that 1, seems to 
be only limited by HD speed ...


Florian


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Vacation option ...

2005-10-25 Thread Florian Schnabel

now i got a bacula setup running smooth ...
i got daily tapes mo-fr and an additional backup to HD

nwo i was wondering if there was any way to tell it to skip backup to 
tape (e.g. the jobs for it) on a certain day so it gives no error 
messages when i got a day off or there is a vacation and noone is here 
to change the tape every day ?


i searched the documentation but didn't find anything of that sort.
since my backup got so large (or the old tape is too small ^^) there 
won't even fit 2 days on a tape ...


Florian


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Connection to remote Storage Daemon hangs

2005-10-17 Thread Florian Schnabel

frank wrote:

Hi there,

I try to setup Bacula to backup via an OpenVPN tunnel connection, so far 
without luck. If I backup locally to a mounted file it works without problems 
however whenever I try to run that same job to store its data to a remote SD, 
the connection to the SD somehow stops responding. When I retrieve a status 
from the client it hangs always at the same point “SDReadSeqNo=5 fd=7”:

Running Jobs:
Director connected at: 17-Oct-05 22:55
JobId 29 Job Client1.2005-10-17_22.49.05 is running.
Backup Job started: 17-Oct-05 22:49
Files=340 Bytes=289,365 Bytes/sec=817
Files Examined=360
Processing file: /var/www/html/images/favicon.ico
SDReadSeqNo=5 fd=7

When I try to ask for the status of the SD, the connection hangs, however when 
no jobs are running I can successfully query the status of the SD.

After some time the job terminates with the error message “Broken Pipe”. As 
indicated in the documentation, I played around with the heartbeat parameter 
however without success.

Full log result of a job failure:

17-Oct 21:19 host1-dir: No prior Full backup Job record found.
17-Oct 21:19 host1-dir: No prior or suitable Full backup found. Doing FULL 
backup.
17-Oct 21:19 host1-dir: Start Backup JobId 21, Job=Client1.2005-10-17_21.19.54 17-Oct 
21:20 host2-sd: Volume Subversion previously written, moving to end of data.
17-Oct 21:38 host1-fd: Client1.2005-10-17_21.19.54 Fatal error: backup.c:477 
Network send error 4298 to SD. ERR=Broken pipe 17-Oct 21:39 host1-dir: 
Client1.2005-10-17_21.19.54 Error: Bacula 1.36.3 (22Apr05): 17-Oct-2005 21:39:02
  JobId:  21
  Job:Client1.2005-10-17_21.19.54
  Backup Level:   Full (upgraded from Incremental)
  Client: host1-fd
  FileSet:Full Set 2005-10-15 20:27:09
  Pool:   Default
  Storage:File
  Start time: 17-Oct-2005 21:19:56
  End time:   17-Oct-2005 21:39:02
  FD Files Written:   359
  SD Files Written:   0
  FD Bytes Written:   358,575
  SD Bytes Written:   0
  Rate:   0.3 KB/s
  Software Compression:   1.2 %
  Volume name(s): 
  Volume Session Id:  1

  Volume Session Time:1129555063
  Last Volume Bytes:  1
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Running
  Termination:*** Backup Error ***

I run bacula version 1.36.3 on Fedora Core 4 installed from the RPM from 
Sourceforge. The /lib/tls is disabled using LD_ASSUME_KERNEL=2.4.19 from the 
boot scripts.

I’m running out of options, any pointers are appreciated.

regards
Frank



the broken pipe means only your client closed the connection 
ungracefully .. i.e. you jsut closed it without using quit


try to wait, it may jsut take a while

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Large network bacula tips?

2005-10-14 Thread Florian Schnabel

Lyle Vogtmann wrote:

Hello fellow Bacula users!

I've only been lurking on this list for a little while, please excuse
me if this topic has been covered previously.

I've got what I would consider a large network of machines each
hosting many virtual private servers with Virtuozzo. 
http://www.swsoft.com/en/products/virtuozzo/  (19 servers, each

hosting an average of 65 virtual environments, average 160GB data per
server.   Total data to back up ~ 3TB.  Generous estimate to allow for
growth.)

I've been tasked with replacing an aging Amanda install that has been
backing them up to disk daily.

I've done some testing already with a couple of the servers, and have
recently started a backup of all systems.  Ran into a small problem
with the catalog where the File table grew to 4GB and claimed to be
full, easily fixed by switching from MyISAM to the InnoDB engine.  It
got me thinking though, are there any other gotchas or caveats
anyone else has overcome in backing up such a large quantity of data?

We have a gigabit Ethernet network over which the backups are run, but
it still seems to take an inordinate amount of time to complete a full
backup.  Currently filling a two gigabyte volume every 6 minutes on
average.  At that rate, it will take 6 days to finish a full backup?! 
Maybe I'm doing the math wrong (I already know I haven't taken

compression into account), but I think I'm missing something.

Comments and suggestions welcome!  Thanks for such a great project! 
(It's backing up my home network of 3 Macs handily!)


Oh yeah:
Director is running on a FreeBSD 5.4 box, all other clients are Linux.
 Bacula version 1.36.3 compiled from source (ports tree on director).

Thanks in advance,
Lyle Vogtmann


i could be wrong, but it sounds to me like that would be about the 
maximum write speed of regular HDs ...


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Hi I'm a Newbie

2005-10-14 Thread Florian Schnabel

Paul Burton wrote:
Hello Guys as I'm a newbie here and I hope I'm not going over old rope, 
but i have just set up bacula for the first time on CentOS release 4.1
The problem i have is that when i attempt a backup nothing actually 
happens and i get the message : as below

*status dir
orinoco-dir Version: 1.36.3 (22 April 2005) i686-redhat-Linux-gnu red 
hat Enterprise 3.0

Daemon started 13-Oct-05 15:44, 3 Jobs run since started.

Scheduled Jobs:
Level Type Pri Scheduled Name Volume
=== 


Incremental Backup 10 15-Oct-05 01:05 rroom *unknown*
Full Backup 11 15-Oct-05 01:10 BackupCatalog *unknown*



the *unknown* entry tells you bacula doesn't know what media to use ..
maybe you didn't add a volume to your pool yet ?
or you got one that hasn't had his redemption period run out so it can 
be recycled ?


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] hey guy's whats this..

2005-10-14 Thread Florian Schnabel

Paul Burton wrote:

Does anyone know what this is ???

4-Oct 13:00 orinoco-dir: ERROR in authenticate.c:187 UA Hello from 
client:10.10.1.18:36131 is invalid. Len=-720899






obviously a failed client-auth

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backupstrategies with Bacula

2005-10-14 Thread Florian Schnabel

Achim Schmidt [Bacula] wrote:

Hi all,

I've a question relating backupstrategies and the posibilities to build
those with bacula.

in general i like to do the following:

- all backup's will be written to diskspaces (or lets say storage A)
- all data, older than a given time will be moved from storage A to
storage B)
- after an other given time those data will be moved from storage B to
storage C (ie. Tape)


After looking to the doc's at this time I dont see how I could do this
with bacula. Do you know any solutions ?

thx  rgds,

Achim


now moving data to another storage is not a feature of baculy yet but is 
worked on AFAIK


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] changing volumes on disk

2005-10-12 Thread Florian Schnabel

Marek Simon wrote:

Hi,
I have one machine with data and one backup machine with bacula dir, 
both linux. I want to do backups on disk on backup machine. I have one 
default pool and few volumes on same disk. Bacula appends to one volume 
until it is full, then it searches for other volumes which are null 
sized, but full as well. I would like to dispense jobs to volumes day by 
day to allow bacula delete the old ones. I set max job per volume 
parameter, but it did not help. I dont want to take x pools for x days, 
it must be possible to solve it other way, like with tapes. Can someone 
advice me?

Marek



why are you aking the same thing again ?
i already answered it ^^

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about Bacula tape handling.

2005-10-11 Thread Florian Schnabel

Erik P. Olsen wrote:

How does Bacula handle foreign tapes? I am currently using Amanda for
back-up but planning to switch to Bacula and sometimes I erroneously
leave an Amanda labeled tape in the tape drive. I see the error when
Bacula complains about the tape and pull it out, but later when Amanda
recycles the tape it cannot read it and reports i/o error. 
dd if=/dev/nst0 cannot read it either and the only way to recover the

tape is to erase it and relabel.

Shouldn't Bacula leave the tape untouched when it sees that it does not
carry the correct Bacula label?



that depends on your settings ...
there is an auto label option you know ..

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help Understanding Auto Pruning?

2005-10-11 Thread Florian Schnabel

Drew Tomlinson wrote:

Maria McKinley wrote:

Is it possible the volumes in the pool still have the old retention 
period?  Have you looked at list volumes to see if it gives you what 
you expect?  Updating the config file won't change the parameters 
already set on existing volumes.



I didn't change the volume retention times in the config file as I set 
them as I wished initially.  Then when the jobs that used the Default 
pool (which was set at 100 years) disappeared, I looked into the matter 
further.  That's when I changed the job and file retention times in my 
client resources and SIGHUPed the bacula-dir process.  Next I ran bscan 
to rebuilt the job and file records.  But every night the associated job 
and file records still get pruned.


Thanks for your help!

Drew



for one setting something to 100 years could easily hit a number border 
somewhere and cause unexpected behaviour
why don't you just turn off auto pruning and set a reasonable retention 
period (that is as long as you intend to actually keep your backups)


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] separated config files

2005-10-11 Thread Florian Schnabel

Arno Lehmann wrote:

Hello,

On 10.10.2005 11:59, Paulo Carvalho wrote:


Hello,
I manage a park of over 30 servers of whom I need to backup daily wich 
different configurations, so as you may guess my 'bacula-dir.conf' 
get's pretty big !
I would like to know if there's someway to define a separate config 
file for each server, so i could edit that file instead of messing 
with bacula-dir.conf all the time.


There is such a possibility:

use a notation of @file-name and the file given will be read when 
parsing the configuration file.


I noticed that this is only mentioned in the FileSet explanation, but it 
should probably go to the general director configuration section in the 
manual.


Arno



since you are on the topic and i noticed some time ago bacula-director 
config gets pretty big fast ...


how about adding an option to just include every file (maybe in a 
particular format) in a directory


so you could f.ex make seperate folders for jobs, clients etc. as you 
like and it all will get included.


could be that is too much work to implement or you say it's not needed, 
just though it might be a good idea


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] rotate volumes on disk

2005-10-11 Thread Florian Schnabel

Marek Simon wrote:
I have one machine with data and one backup machine with bacula dir, 
both linux. I want to do backups on disk on backup machine. I have one 
default pool and few volumes on same disk. Bacula appends to one volume 
until it is full, then it searches for other volumes which are null 
sized, but full as well. I would like to dispense jobs to volumes day by 
day to allow bacula delete the old ones. I set max job per volume 
parameter, but it did not help. I dont want to take x pools for x days, 
it must be possible to solve it other way, like with tapes. Can someone 
advice me?

Marek



there are several ways to achieve that.
i got 2 HD files, doing a daily backup on the older one

so i set max use duration to 20 hours, max volumes in pool to 2 to 
prevent it from creating new volumes and recyle to on


works fine, if you want the detailed config files just ask :-)

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] purge jobs volume

2005-10-05 Thread Florian Schnabel

Sebastian Stark wrote:

I want to manually recycle a volume and I did like the manual said:

--
*purge jobs volume=000129

This command is can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
for retention periods. Normally you should use the
PRUNE command, which respects retention periods.
--

But this is already taking over half an hour and mysqld takes lots of CPU. Is 
that normal? Is a purge jobs volume=... an expensive database operation? 
Our catalog has 3 or 4 gigs.


Just wanted to ask if I should wait or look for any problems.


-Sebastian
 



it removes all informations about jobs on that volume from your database 
.. so that can take quite a while ...


Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] volumes on a pool

2005-10-05 Thread Florian Schnabel

Jesús Arnáiz wrote:

Hi.

I use Disk files as storage media and I have the next Pool configuration:

--
# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
Volumes

  AutoPrune = yes # Prune expired volumes
  Volume Retention = 90 days # 90 days
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Bytes = 53687091200  # 50Gb
  Volume Use Duration = 23h
  LabelFormat = Vol
}
--

The problem is that I see a new volume is created whenever a jobs starts 
like this:


--
-rw-r-1 root wheel428151308 Sep  8 01:11 Vol0016
-rw-r-1 root wheel490936060 Sep  9 01:18 Vol0017
--

But I see there is no max volumes on the Pool:

--

*list pools
++-+-+-+--+-+
| PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat |
++-+-+-+--+-+
| 1  | Default | 43  | 0   | Backup   | Vol |
++-+-+-+--+-+

--

So my question is, ¿what will happen when the disk gets full? ¿It will 
try to recycle old volumes or it will fail? Should I set a maximun 
volumes on the pool?, How?


Thanks in advance for your help

Jesus Arnaiz



if bacula finds a media inserted that is recyclabe it will use it .. 
however my experience tells it is a good idea to set MaximumVolumes. 
otherwise it will create a new volume if it can't recyle the inserted 
one, that may happen if a backup got delayed and the redemption period 
isn't reached f.ex.


since you use HD backup it could fill up your HD otherwise.

Florian


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] moving database

2005-09-26 Thread Florian Schnabel

Maria McKinley wrote:

Hi there,

My /var directory is on a partition that is rather small and I keep 
running out of room, so I would like to move my database directory to 
somewhere else in the root directory, which has plenty of room.  I 
assume I should just move the whole diretory.  Where all do I have to 
change the directory information, is changing the database directory 
likely to cause any problems, and does it matter where I move the 
directory to?


I am using sqlite on a debian machine.

thanks a bunch,
maria



as long as you remember to make a symlink so the normal paths works it 
should not be any problem at all


Florian


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] migration sqlite postgresql

2005-09-23 Thread Florian Schnabel

now ... i decided to migrate to postgresql ...
did set up the database and tried to import the .sql
about every line gives an error ^^

f.ex.

psql:/var/lib/bacula/test.sql:8: FEHLER:  Fehler »Syntaxfehler« bei 
»UNSIGNED« at character 44
psql:/var/lib/bacula/test.sql:8: ZEILE 2:BaseId INTEGER UNSIGNED 
AUTOINCREMENT,


is there any way to convert it so postgres likes it ?
don't really want to start with an empty database ...

--

Florian Schnabel


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] choice of database

2005-09-22 Thread Florian Schnabel

further note: i'm using bacula on debian if that makes any difference
got a big sqlite database i want to transfer to postgresql if possible ...


Florian


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume config problem

2005-09-20 Thread Florian Schnabel

okay, i think it's time to bug you guys here with this ...

i though i had figured bacula configuration out for my need but i guess
i was wrong.

yesterday it tried to append to a volume that should have been recycled
... ^^
thus failing misserably because the volume was almost full.

now the question is what did i do wrong there ?
weired thing is it worked a couple times already.

i did set recycle flag to yes,
volume retention to 6 days,
maximum use duration to 6 days
and i change the tape every day ..

any flaws there ?

my setup for 2 HD storages where always the older one gets recyled is
working like a charm ^^

Florian



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume config problem

2005-09-20 Thread Florian Schnabel

okay, i think it's time to bug you guys here with this ...

i though i had figured bacula configuration out for my need but i guess 
i was wrong.


yesterday it tried to append to a volume that should have been recycled 
... ^^

thus failing misserably because the volume was almost full.

now the question is what did i do wrong there ?
weired thing is it worked a couple times already.

i did set recycle flag to yes,
volume retention to 6 days,
maximum use duration to 6 days
and i change the tape every day ..

any flaws there ?

my setup for 2 HD storages where always the older one gets recyled is 
working like a charm ^^


Florian


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debugging bacula

2005-09-19 Thread Florian Schnabel

Christoph Klünter wrote:


Hello

Bacula was running here fine for about two months in our test environment.
Now there are some problems I can't solve.

1: When entering status dir in bconsole, it hangs forever.
   After that,  it can't connect to any client anymore.
2: bacula-dir hangs when trying to make a differential backup.

How can I find the error ? The logs aren't very helpful and starting the
daemon with -d 20 doesn't give anything helpful either.

Any hint would be nice

Regards,
Christoph Kluenter


 

please note that status director can trigger a database cleanup which 
can easily take 15 minutes or longer if you back up a lot of files


so try and just wait patiently untill it's done.

Florian


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42 plasma tv or your very

own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running out of disk space.

2005-09-06 Thread Florian Schnabel

Gert Burger wrote:


Hi

My first post to this list so be mercyfull please ;P

What is the correct procedure to follow when one runs out of disk space?

All my backups of a few servers are done to one machine that has a raid
5 system running.

A day or so ago I ran out of disk space.
I tried to recycle/prune the oldest volume but it had no effect.

Any ideas might be helpfull.

Thanks
Gert Burger

 

uhm .. so your setup just makes a new file for every backup with ever 
deleting old ones ?
i would suggest to set up a pool of somewhere between 7 and 30 files, 
set up so each is uesed only for one backup in rotation and a redemption 
period and auto-prune so the oldest one gets recycled.


also you should calculate in some extra space so the backups can grow 
some more ...


Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] critical problem ...

2005-09-05 Thread Florian Schnabel
dunno if i missconfigured something but certain commands on the console 
seem to get it stuck ..


can't do a status director f.ex. or prune my volumes ...

what to do ?

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What DB should i use/speed question

2005-09-05 Thread Florian Schnabel

Since i do a daily backup on Tape (weekly rotation) and one other on HD
(2 Files in rotation)
with about 250k files i stated to wonder if sqllite is the right way to
store my data ...

any suggestions about this ?

Florian



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tape ejecting problem

2005-08-31 Thread Florian Schnabel



seems an access right problem on /dev/st0.
I think the simpler is to add in your Device configuration in
bacula-sd.conf the directive : OfflineOnUnmount = yes
Then you can remove the shell commands with 'mt' in your script.
This directive will eject the tape if an 'umount'  or a 'release' is issued.

 Hope it helps.


 Loïs Lherbier

 


always full fo surprises ...
that did work, but bacula ejected the tape after job 1 of 5 ^^
thus failing the other jobs .. ah well ..

will have to see that the command is run once and only after the last job ^^

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] critical problem ... - solved ^^

2005-08-31 Thread Florian Schnabel

Florian Schnabel wrote:


dunno if i missconfigured something but certain commands on the console
seem to get it stuck ..

can't do a status director f.ex. or prune my volumes ...

what to do ?

Florian


sorry for bugging u guys ...
pruning the volume helped, though it took freakisch long ...
about 30 mins i think ..

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tape ejecting problem

2005-08-30 Thread Florian Schnabel

now for my (hopefully) last problem with bacula :-)

the guy who had this job bevore me (he's not available for questions 
right now ..)
did set it up so the tape gets ejected after the daily backup .. for 
some reason this doesn't work
i don't know if it could have worked at all, i just know that some time 
ago when he was still here the tape did eject correctly .. dunno if he 
broke it ...


snipet from bacula-dir.conf

# Backup the catalog database (after the nightly save)
Job {
 Name = BackupCatalog
 Type = Backup
 Level = Full
 Client = -fd
 FileSet = Catalog
 Schedule = WeeklyCycleAfterBackup
 Storage = Tape
 Messages = Standard
 Pool = Default
# This creates an ASCII copy of the catalog
 RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula
 RunAfterJob  = /etc/bacula/eject_tape
 Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr
 Priority = 11   # run after main backup
 Max Start Delay = 22h
}

snipet from bacula report

 Termination:Backup OK

30-Aug 01:04 erde-dir: Begin pruning Jobs.
30-Aug 01:04 erde-dir: No Jobs found to prune.
30-Aug 01:04 erde-dir: Begin pruning Files.
30-Aug 01:04 erde-dir: No Files found to prune.
30-Aug 01:04 erde-dir: End auto prune.

30-Aug 01:04 erde-dir: RunAfter: Connecting to Director xxx.xxx.xxx.xxx:9101
30-Aug 01:04 erde-dir: RunAfter: 1000 OK: -dir Version: 1.36.3 (22 April 
2005)
30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command.
30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape
30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula
30-Aug 01:04 erde-dir: RunAfter: 3901 Device /dev/nst0 is already unmounted.
30-Aug 01:04 erde-dir: RunAfter: You have messages.
30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied
30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied
30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning: RunAfterJob 
error: ERR=Child exited with code 1


any clues to that ?

all help appreciated :-)

Florian



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tape ejecting problem

2005-08-30 Thread Florian Schnabel

LHERBIER Lois wrote


Hello,

Can you show us the content of the file '/etc/bacula/eject_tape', please ?

 Loïs Lherbier
 


whoops .. sorry, of course :-)

#!/bin/sh
bconsole -c /etc/bacula/bconsole.conf END_OF_DATA
unmount storage=Tape
END_OF_DATA
# the following is a shell command
mt -f /dev/st0 rewind
mt -f /dev/st0 eject



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Q: how does bacula verify tape write ?

2005-08-29 Thread Florian Schnabel

i'm curious ..
what mechanism(s) uses bacula to verify that the tape (or any other 
storage medium) has written the data correctly ?

e.g. would it notice if my tape is damaged ?

--

Florian Schnabel



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] urgent question .. lil' help please

2005-08-26 Thread Florian Schnabel
1st: i'm sorry to bug you guys on the mailing list with soemthing i 
probably could solve re-reading all the bacula documentation .

but i'm in a sort of hurry here and i didn't find what i need so far

situation:
gut a running and working set up of bacula collecting files from several 
machines and coying all that to tape


what i want:
i want bacula to save (leave ?) the last 2 or 3 backup sets to HD also

how do i get that ??

thx in advance


--

Florian Schnabel



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] urgent question .. lil' help please

2005-08-26 Thread Florian Schnabel

nope .. i want the RECENT backup on tape
it's just that i also want the last 2 backups on HD
for quicker restore, in case the tape fails etc.

Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] urgent question .. lil' help please - job migration and copy

2005-08-26 Thread Florian Schnabel

Arno Lehmann wrote:


Hi,

Florian Schnabel wrote:


nope .. i want the RECENT backup on tape
it's just that i also want the last 2 backups on HD
for quicker restore, in case the tape fails etc.



Now, that doesn't much change what I wrote about bacula not allowing 
this. But I think your ideas could perhaps contribute to the migration 
discussion...


Basically, what would be needed for something like this is a job copy 
function and modifying the retention periods for the resulting jobs, I 
think.


Arno


just to make sure ..
* i can't make bacula backup to HD ?
* i can't copy the backup elsewhere bevore writing to tape and deleting
afterwards ?

because one of the two things would effectively do what i need done

Florian



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] urgent question .. lil' help please - job migration and copy

2005-08-26 Thread Florian Schnabel
i solved the problem for now defining to torage devices, tape and HD and 
duplicating the jobs and set the copy to hd.

works so far ...

not very effective though since all the files must be copied over 
network twice


Florian


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] hm .. backup seems to be donw but i still get an error at the end ?

2005-08-19 Thread Florian Schnabel

somone got a clue what THAT means ??
as far as i can tell backup is don, that was the last job completing with OK

also, tape doesn't get ejected as i would expect it ...

help kindly appreciated

Florian




SD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Backup OK

19-Aug 03:54 erde-dir: Begin pruning Jobs.
19-Aug 03:54 erde-dir: Pruned 1 Job for client erde-fd from catalog.
19-Aug 03:54 erde-dir: Begin pruning Files.
19-Aug 03:54 erde-dir: No Files found to prune.
19-Aug 03:54 erde-dir: End auto prune.

19-Aug 03:54 erde-dir: RunAfter: Connecting to Director 192.168.12.200:9101
19-Aug 03:54 erde-dir: RunAfter: 1000 OK: erde-dir Version: 1.36.3 (22 April 
2005)
19-Aug 03:54 erde-dir: RunAfter: Enter a period to cancel a command.
19-Aug 03:54 erde-dir: RunAfter: unmount storage=Tape
19-Aug 03:54 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula
19-Aug 03:54 erde-dir: RunAfter: 3901 Device /dev/nst0 is already unmounted.
19-Aug 03:54 erde-dir: RunAfter: You have messages.
19-Aug 03:54 erde-dir: RunAfter: /dev/st0: Permission denied
19-Aug 03:54 erde-dir: RunAfter: /dev/st0: Permission denied
19-Aug 03:54 erde-dir: BackupCatalog.2005-08-18_23.15.00 Warning: RunAfterJob 
error: ERR=Child exited with code 1



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users