Re: [Bacula-users] Include Dir Containing?

2011-02-22 Thread Marc Schiffbauer
* Christian Manal schrieb am 22.02.11 um 12:43 Uhr:
 Am 22.02.2011 12:26, schrieb Phil Stracchino:
  On 02/22/11 06:07, Christian Manal wrote:
  That's right, but not what I need. I want to include the directory
  containing the specific file, not the file itself like it is shown in
  the examples.
 
  To give an example: By default, nothing under
 
 /export/home
 
  will be backed up. Now a user foo creates a file .backmeup in his
  home directory or a subdirectory of it. For example
 
 /export/home/foo/important/.backmeup
 
  The next backup should then include the directory
 
 /export/home/foo/important
  
  There is not, to my knowledge, any built-in functionality to do this at
  this time.  You'd have to use a script to generate the fileset on demand.
  
 
 I feared as much. Thanks for the replies anyway.

Christian,

before bacula had the Exclude Dir Containing feature I used
something very similra to you example like that:

File = \\|sh -c 'for D in /home; do find $D -xdev -name .BACULA_NO_BACKUP \
-type f -printf \%h\\n\; done | tee /root/bacula_excluded_dirs.log'

That worked very well over years.

So I think something like that for include should work well for you.

File = \\|sh -c 'for D in /home; do find $D -xdev -name .BACULA_BACKUP \
-type f -printf \%h\\n\; done | tee /root/bacula_included_dirs.log'


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Index, Search  Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula pruning too much?

2011-02-02 Thread Marc Schiffbauer
* John Drescher schrieb am 02.02.11 um 02:43 Uhr:
 What about the media retention? The media retention periods have
 highest priority and can be pruned regardless of the what the file or
 job retention periods are. Also remember with media the settings in
 the bacula-dir.conf files only apply to new volumes so changing volume
 retention periods on a pool will not take effect on already labeled
 volumes. You must apply the new settings in a bacula console.


Thanks John, the Volume Retention was indeed set to 3 months.
Now I set it to 1 year and updated the pool as well as all volumes.

Do you know of any way how to tell bacula that it keeps at least one
full backup for a client regardless of the retention periods?


Thanks
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula pruning too much?

2011-02-01 Thread Marc Schiffbauer
Hi all,

Bacula 5.0.3.

I have a client for which I do not run a backup job on a scheduled
basis but only when I start it manually.

Today I wanted to restore a file from the last backup. But there is
no backup left in the catalog!

How can that happen?

I know that there are different retention periods. But according to
the docs there should *always* be a valid backup, right?

The docs say:

  File Retention = time-period-specification
  [...]
  When this time period expires, and if AutoPrune is set to yes,
  Bacula will prune (remove) File records that are older than
  the specified File Retention period. The pruning will occur at
   ^
  the end of a backup Job for the given Client.
  

Even if the last backup I had may be expired: Why would it have been
removed from the database then?

There has no job been run since then for that client. And if there
would have, then that last job must be in the database at least.

The last backup was:
12-Sep-2010 13:23:22 - bart-Data.2010-09-12_13.02.01_10 - Full (upgraded from 
Incremental)

And: The retension periods for that client are configure to 12
months:

Client {
  [...]
  File Retention = 12 months
  Job Retention = 12 months
  AutoPrune = yes
}

Any hints?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 Truncate feature not working

2010-06-21 Thread Marc Schiffbauer
* Mingus Dew schrieb am 21.06.10 um 19:43 Uhr:
 I am running 5.0.2 on Solaris 10 x86 edition. I upgraded to 5.0.2
 specifically to use the Truncate volumes on purge feature.
 I have setup Pool and updated volumes and followed the manual, but still my
 volumes do not seem to be truncating.
 
 I was wondering if anyone has this setup and working and could share their
 relevant config and experiences.


Hi Shon,

I was having the same problem. 

To actually truncate volumes you have to manually run the bconsole
command mentioned in the docs or let bacula run it with a RunScript.

For example:
  *purge volume action=truncate storage=File allpools

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] ActionOnPurge=Truncate does not work automatically

2010-06-08 Thread Marc Schiffbauer
Hi all,

maybe I have just some problems understanding the ActionOnPurge
feature.

In one of my file pools (VestaFtp) I have set 

  Action On Purge = Truncate

I have updated existing volumes, so actiononpurge is set to 1 for
all volumes in the pool.

What is NOT working:
  * volumes are never truncated automatically by the storage daemon
when it recycles a volume.
Is it intended that recycled volumes will not be truncated before
writing to them again?
  * volumes are never truncated if I manually purge them with bat
for example


The only thing that DOES WORK is:
  * When I enter the following command in bconsole manually:

  purge volume action=truncate storage=vesta-sd pool=VestaFtp

That way the storage deamon will truncate every vol with status
purged:

 [...]
 3000 OK label. VolBytes=197 DVD=0 Volume=FtpVol-0085 Device=FtpFileStorage 
(/mnt/backup)
 The volume FtpVol-0085 has been truncated
 3000 OK label. VolBytes=197 DVD=0 Volume=FtpVol-0030 Device=FtpFileStorage 
(/mnt/backup)
 The volume FtpVol-0030 has been truncated
 3000 OK label. VolBytes=197 DVD=0 Volume=FtpVol-0004 Device=FtpFileStorage 
(/mnt/backup)
 The volume FtpVol-0004 has been truncated
 [...]


What is the Action On Purge = Truncate config option actually good for if 
truncating of 
volumes only happens on a manual purge with explicit action=truncate?

TIA
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is it possible to run bconsole without libtermcap?

2010-03-08 Thread Marc Schiffbauer
* Steen Meyer schrieb am 09.03.10 um 00:44 Uhr:
 Termcap is not in Archlinux anymore, nor is termcat-compat, is it possible to 
 compile it in a way that it can run without it?

Yes. 

A little hacky, but worked for me on gentoo:

Replace every -ltermcap by -lncurses in the configure script, then
configure and compile.

And you have to enable readline and disable conio support.

(Assuming you want tab completion support)

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula and curlftpfs 0.9.2 does not work (anymore)

2010-03-04 Thread Marc Schiffbauer
* Dennis Petschull schrieb am 04.03.10 um 08:04 Uhr:
 Hey Marc,


Hi Dennis,

 
 Yes, using curlftpfs 0.9.1 would be an option, but when I tried it, I ran 
 into 
 this bug, http://bugs.gentoo.org/223239, which prohibits me to upload large 
 files to the FTP storage.
 So this makes this version unusable for me, too.

Thanks for the info, I was not aware of this bug. As it seems the
files must be larger than 500M to hit the bug, so it might work if
you set the maximum file size to 499M in Bacula?

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Shell script question.

2010-03-04 Thread Marc Schiffbauer
* Martin Simmons schrieb am 04.03.10 um 11:40 Uhr:
  On Thu, 4 Mar 2010 03:41:36 +0100, Marc Schiffbauer said:
  
  * Phil Stracchino schrieb am 03.03.10 um 20:18 Uhr:
   On 03/03/10 14:05, Brian Debelius wrote:
Hi,

   Looking at Bacula scripts and other scripts, I see a test for an 
empty string performed by adding an 'x' before the variable, and then 
comparing this to another string that is just an 'x'.

   The shell test function has a -z string test that returns true if 
the 
string is empty.

It appears to me that more people use the 'x' comparison.  Is there a 
technical reason why one would be preferable to the other?

Why would you do this:

if [ x$var = x ]; then
...
fi

   Instead of this:

if [ -z $var ]; then
   
   more properly:  if [ -z $var ]; then
  
  
  Why not use 
  
if [ $var =  ]; then
  
  if -z may not be available?
 
 Because $var might be set to something like ! which would cause a syntax
 error.

Thx Martin, I did not know this. Is it only ! because of some job
control stuff or everything that is not [:alnum:]?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula and curlftpfs 0.9.2 does not work (anymore)

2010-03-03 Thread Marc Schiffbauer
* Dennis Petschull schrieb am 03.03.10 um 20:54 Uhr:
 Hi,
 
 I am still very interested in this topic.
 Is anyone using Bacula with FTP as storage backend? How do you handle this 
 situation?
 
 Thanks for your help!


Why not use 0.9.1 then instead? I do so and it works.

-Marc

-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Shell script question.

2010-03-03 Thread Marc Schiffbauer
* Phil Stracchino schrieb am 03.03.10 um 20:18 Uhr:
 On 03/03/10 14:05, Brian Debelius wrote:
  Hi,
  
 Looking at Bacula scripts and other scripts, I see a test for an 
  empty string performed by adding an 'x' before the variable, and then 
  comparing this to another string that is just an 'x'.
  
 The shell test function has a -z string test that returns true if the 
  string is empty.
  
  It appears to me that more people use the 'x' comparison.  Is there a 
  technical reason why one would be preferable to the other?
  
  Why would you do this:
  
  if [ x$var = x ]; then
  ...
  fi
  
 Instead of this:
  
  if [ -z $var ]; then
 
 more properly:  if [ -z $var ]; then


Why not use 

  if [ $var =  ]; then

if -z may not be available?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and deduplication

2010-03-02 Thread Marc Schiffbauer
* Carlo Filippetto schrieb am 02.03.10 um 14:27 Uhr:
 Hi,
 bacula have a feature for the deduplication?

yes.


-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and deduplication

2010-03-02 Thread Marc Schiffbauer
* Carlo Filippetto schrieb am 02.03.10 um 16:44 Uhr:
 very verbose
 :)
 
 This feature is available only with the last version?
 
 I have the 2.4 and 3.0.3


As mentioned in other posts: Its only in Bacula 5. And its not
(yet?) hash based, which would be very good indeed.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 5.0.1 installation errors

2010-03-02 Thread Marc Schiffbauer

Hi Jerry,

this is a known issue on F12 because they use the beta of openssl
1.0 which had some incompatible API-changes.

AFAIK there is work going on to fix this. Until a fix is released
you might want to disable SSL or use some 0.9.x version of
SSL or use another distro(-version) which has version 0.9.x of
OpenSSL

-Marc


* Jerry Lowry schrieb am 02.03.10 um 20:27 Uhr:
 Hi, I am trying to install bacula 5.0.1 on a new backup server.  I have 
 attached the error that I am getting during the make and the 
 config.out.  The server configuration is:
 
 fedora 12 x86_64
 mysql 5.1.42
 bacula src 5.0.1
 
 Any ideas as to why this is failing?  Also, if I include 'enable-bat' 
 after installing depkgs-qt and sourcing the qt directories the bacula 
 configure does  not see that qt is installed.
 -- 
 
 ---
 Jerold Lowry
 IT Manager / Software Engineer
 Engineering Design Team (EDT), Inc. a HEICO company
 1400 NW Compton Drive, Suite 315
 Beaverton, Oregon 97006 (U.S.A.)
 Phone: 503-690-1234 / 800-435-4320
 Fax: 503-690-1243
 Web: _www.edt.com http://www.edt.com/_
 
  
 
 

 
 Configuration on Tue Mar  2 10:02:32 PST 2010:
 
Host:  x86_64-unknown-linux-gnu -- redhat 
Bacula version:Bacula 5.0.1 (24 February 2010)
Source code location:.
Install binaries:  /usr/bacula/bin
Install libraries: /usr/lib64
Install config files:/usr/bacula/bin
Scripts directory: /usr/bacula/bin
Archive directory: /tmp
Working directory: /var/run/bacula/working
PID directory: /var/run/bacula
Subsys directory:  /var/run/bacula/working
Man directory: ${datarootdir}/man
Data directory:/usr/share
Plugin directory:  /usr/lib64
C Compiler:gcc 4.4.2
C++ Compiler:  /usr/lib64/ccache/g++ 4.4.2
Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions 
 -fno-rtti
Linker flags:   
Libraries: -lpthread -ldl 
Statically Linked Tools: no
Statically Linked FD:no
Statically Linked SD:no
Statically Linked DIR:   no
Statically Linked CONS:  no
Database type: MySQL
Database port:  
Database lib:  -L/usr/lib64/mysql -lmysqlclient_r -lz
Database name: bacula
Database user: bacula
 
Job Output Email:  jlo...@edt.com
Traceback Email:   jlo...@edt.com
SMTP Host Address: mailhost.edt.com
 
Director Port: 9101
File daemon Port:  9102
Storage daemon Port: 9103
 
Director User: 
Director Group:
Storage Daemon User: 
Storage DaemonGroup: 
File Daemon User:  
File Daemon Group: 
 
SQL binaries Directory   /usr/bin
 
Large file support:yes
Bacula conio support:yes -ltermcap
readline support:  no 
TCP Wrappers support:no 
TLS support:   yes
Encryption support:yes
ZLIB support:  yes
enable-smartalloc: yes
enable-lockmgr:no
bat support:   no
enable-gnome:  no 
enable-bwx-console:no 
enable-tray-monitor: yes
client-only:   no
build-dird:yes
build-stored:  yes
Plugin support:yes
ACL support:   yes
XATTR support: yes
Python support:no 
Batch insert enabled:yes
 
   

 
 CLFLAGS=-g -02 ./configure --sbindir=/usr/bacula/bin 
 --sysconfdir=/usr/bacula/bin --with-pid-dir=/var/run/bacula 
 --with-subsys-dir=/var/run/bacula/working --enable-smartalloc --with-mysql 
 --with-working-dir=/var/run/bacula/working --with-dump-email=jlo...@edt.com 
 --with-job-email=jlo...@edt.com --with-smtp-host=mailhost.edt.com 
 --docdir=/var/run/bacula/doc --enable-tray-monitor
 
 
 
 make[1]: Entering directory `/database/bacula-5.0.1/src/lib'
 Compiling attr.c
 Compiling base64.c
 Compiling berrno.c
 Compiling bsys.c
 Compiling bget_msg.c
 Compiling bnet.c
 Compiling bnet_server.c
 Compiling runscript.c
 Compiling bsock.c
 Compiling bpipe.c
 Compiling bsnprintf.c
 Compiling btime.c
 Compiling cram-md5.c
 Compiling crc32.c
 Compiling crypto.c
 crypto.c: In function ‘ASN1_OCTET_STRING* openssl_cert_keyid(X509*)’:
 crypto.c:333: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ 
 to ‘X509V3_EXT_METHOD*’
 crypto.c: In function ‘CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, 
 alist*)’:
 crypto.c:1102: error: cannot convert ‘unsigned char*’ to 
 ‘EVP_PKEY_CTX*’ for argument ‘1’ to ‘int 
 EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, const unsigned 
 char*, size_t)’
 crypto.c: In function ‘crypto_error_t crypto_session_decode(const 
 u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)’:
 crypto.c:1226: error: 

Re: [Bacula-users] What diffing algorithm does Bacula use for incremental backups?

2010-03-01 Thread Marc Schiffbauer
* Richard Hartmann schrieb am 01.03.10 um 18:08 Uhr:
 Hi all,
 
 I have been wondering what algorithm is used to detect changed files for
 incremental backups. The answer will be in between atime  full copy and
 binary diffs, but I'd like to be sure :)

This is configurable and well documented on bacula.org
(The FileSet Resource)

See mtimeonly option or accurate backup for example.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to make setip console command work?

2010-02-23 Thread Marc Schiffbauer

Is setip working for anybody in bacula 5.0.0 ?

TIA
-Marc

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to make setip console command work?

2010-02-22 Thread Marc Schiffbauer
* Craig White schrieb am 22.02.10 um 02:11 Uhr:

Hi Craig,

 shouldn't this...
  and with this in bconsole.conf on the client:
  
  Console {
Director = lisa-dir
Name = bart-fd
Password = password2
  }
 
 be
 Console {
   Director = bart-dir
   Name = bart-dir
   Password = password1
 }
 
 ?
 

I think not. lisa is the server (dir) and bart is the client (fd /
console)

-Marc


-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to make setip console command work?

2010-02-21 Thread Marc Schiffbauer
Hi all,

does anybody have an idea of what I must do to be able to use the
setip command from within a client's console?


I can access the director through a console on the client:

# On Director (bacula-dir.conf):
Director {
  Name = lisa-dir
[...]
  Password = password1
}

# On the client (bconsole.conf):
Director {
  Name = lisa-dir
[...]
  Password = password1
}


from the client:

Connecting to Director lisa:9101
1000 OK: lisa-dir Version: 5.0.0 (26 January 2010)
Enter a period to cancel a command.
[ all kinds of commands working, but: ]
*setip
Unauthorized command from this console.
*

What console rsources must I set up and how?


I already tried this in bacula-dir.conf:
Console {
  Name = bart-fd
  Password = password2
  CommandACL = SetIP  # I also tried 'setip' (lowercase)
}

 and with this in bconsole.conf on the client:

Console {
  Director = lisa-dir
  Name = bart-fd
  Password = password2
}

Now, I cannot do anything on the director from the client:

client:# bconsole
Connecting to Director lisa:9101
1000 OK: lisa-dir Version: 5.0.0 (26 January 2010)
Enter a period to cancel a command.
*setip
Unauthorized command from this console.
*status
status: is an invalid command.
*help
help: is an invalid command.
*

So it seems to use the new configuration where only setip should work, not?

TIA
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Feature / Project request - support for file-system / volume / san dedup for file devices

2010-02-10 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 10.02.10 um 08:56 Uhr:
 Hello,
 

Hi Kern,

very interesting to hear that more dedup features are in the queue! Great
news!

[...]

 With all the above, I do not think that it is yet time to discuss changing 
 the 
 Bacula Volume format (though a new (second) Volume format is one of the 
 options I am considering for item 3.

I think to make that filesystem-based dedup actually work, only a new
Volume format would do the job. With blocks aligned and metadata
seperated from the bulk data.
In that case bacula does not even have to care about dedup.

-Marc
-- 
:: WSS://WebServices Schiffbauer ::
Domains :: DNS ::  eMail :: Hosting

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bat 5.0.0 not showing Console

2010-01-26 Thread Marc Schiffbauer
* Richard Scobie schrieb am 26.01.10 um 03:54 Uhr:
 Have just updated all components to 5.0.0 and a remote bat connection 
 does not display the console window - it just stays on the last selected 
 page.
 
 When starting bat, it just goes up with a blank page, but all other 
 pages display correctly.
 
 Anyone else seeing this?

Yes, I saw this here, too. Then on another startup of bat, it worked
properly.

So now, If that happens, I close bat and start it again until the
console is there...

Using QT4.6.1 here.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot restore VMmware/ZFS

2009-12-28 Thread Marc Schiffbauer
* Paul Greidanus schrieb am 28.12.09 um 23:44 Uhr:
 I'm trying to restore files I have backed up on the NFS server that I'm using 
 to back VMware, but I'm getting similar errors to this every time I try to 
 restore:
 
 28-Dec 12:10 krikkit-dir JobId 1433: Start Restore Job 
 Restore.2009-12-28_12.10.28_54
 28-Dec 12:10 krikkit-dir JobId 1433: Using Device TL2000-1
 28-Dec 12:10 krikkit-sd JobId 1433: 3307 Issuing autochanger unload slot 11, 
 drive 0 command.
 28-Dec 12:11 krikkit-sd JobId 1433: 3304 Issuing autochanger load slot 3, 
 drive 0 command.
 28-Dec 12:12 krikkit-sd JobId 1433: 3305 Autochanger load slot 3, drive 0, 
 status is OK.
 28-Dec 12:12 krikkit-sd JobId 1433: Ready to read from volume 09L4 on 
 device TL2000-1 (/dev/rmt/0n).
 28-Dec 12:12 krikkit-sd JobId 1433: Forward spacing Volume 09L4 to 
 file:block 473:0.
 28-Dec 12:15 krikkit-sd JobId 1433: Error: block.c:1010 Read error on fd=4 at 
 file:blk 475:0 on device TL2000-1 (/dev/rmt/0n). ERR=I/O error.
 28-Dec 12:15 krikkit-sd JobId 1433: End of Volume at file 475 on device 
 TL2000-1 (/dev/rmt/0n), Volume 09L4
 28-Dec 12:15 krikkit-sd JobId 1433: End of all volumes.
 28-Dec 12:15 krikkit-fd JobId 1433: Error: attribs.c:423 File size of 
 restored file 
 /backupspool/rpool/vm2/.zfs/snapshot/backup/InvidiCA/InvidiCA-flat.vmdk not 
 correct. Original 8589934592, restored 445841408.
 
 Files are backed up from a zfs snapshot which is created just before the 
 backup starts. Every other file I am attempting to restore works just fine... 
 
 Is anyone out there doing ZFS snapshots for VMware, or backing up NFS servers 
 that have .vmdk files on it?

No, but I could imagine that this might have something to do with
some sparse-file setting.

Have you checked how much space of your 8GB flat vmdk is aktually being
used? Maybe this was 445841408 Bytes at backup time?

Does the same happen if you do not use pre-allocated vmdk-disks?
(Which is better anyway most of the times if you use NFS instead of vmfs)


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] specifying non-existant files or directories?

2009-08-05 Thread Marc Schiffbauer
* Toni Mueller schrieb am 05.08.09 um 11:15 Uhr:
 
 
 Hi,
 
 my backups appear to basically work now (no frills, though), but I've
 got some questions left.
 
 I'd like to simplify my configuration by merging some FileSet
 resources. This would requrire me to specify non-existant directories
 in one of the FileSet specifications. Maybe the same effect can be
 accomplished by generating a complex regex pattern to generate the
 actual file list, but I'd like to stick to the better readable simple
 file and directory listing. Is it safe to specify directories to be
 included that don't exist on the target system?
 
 I'm still using 2.4.4, as provided by the operating system.

Yes. But bacula will print a warning if finds something it should
backup but that is not there.

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] disk full, need to reset and upgrade

2009-08-04 Thread Marc Schiffbauer

Hi Thomas,

there is an exclude feature in previous bacula versions as well. And
if you are talking about the new Exclude Dir Containing feature:

You can achieve the same behavior in 2.x versions of bacula with an 
Exclude setting like this:

FileSet {
  Name = MyFileSet
  Include {
Options {
  ...
}
File = ...
  }
  Exclude {
File = \\|sh -c 'for D in / /var /home; do find $D -xdev -name 
.BACULA_NO_BACKUP -type f -printf \%h\\n\; done | tee 
/root/bacula_excluded_dirs.log'
  }
}

You have to put the relevant filesystems into the list of the for-loop. In this 
case all dirs containing a file .BACULA_NO_BACKUP within
the /, /var or /home filesystem will not be backed up. And you will find a list 
of directories that have been excluded this way in 
/root/bacula_excluded_dirs.log

I am using this mechanism since years and it works very well.

-Marc

* Thomas Manson schrieb am 04.08.09 um 09:58 Uhr:
 Hi,
 
   I've been using bacula to backup remote hosts through ssh connection.
 
   It works well except that :
 
 
- a lot of data is backed up on remote host uselessly (as log file ...)
- I need to upgrade to bacula 3.x to have the exclude feature... but I'm
running on ubuntu and would like to keep the apt-get update feature working
for bacula
- My hardrives are full. While I didn't have a NAS ready, I set the
backup directory to /backup on my primary disks (raid1).
I now have 2.7TB in Raid5 on a nas mounted in /mnt/backup
 
 
 What I would like is :
 
 
- upgrade to v3 and backup only what is needed (with the exclude feature)
- delete all existing backup in /backup (150GB)
- start backing up on /mnt/backup
 
 my filesystem is almost full (96%) ...
 
 Thanks for any help ;)
 Thomas.

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] exim4 and bsmtp on same machine

2009-07-07 Thread Marc Schiffbauer
* John Kennedy schrieb am 07.07.09 um 10:27 Uhr:
 Will there be any conflict if I install/configure exim4 on a machine
 running bacula 2.2.6 which uses bsmtp to send Bacula status emails?
 Thanks,
 John

No.

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Firewall woes

2009-06-12 Thread Marc Schiffbauer
* Ken Barclay schrieb am 12.06.09 um 11:56 Uhr:
 Don't you just love firewalls!
 
  
 
 Today received this error on a newly installed client -
 
  
 
 12-Jun 16:27 KenTest-dir JobId 8309: Fatal error: Unable to authenticate
 with File daemon at 192.168.2.130:9102. Possible causes:blah,etc
 
  
 
  
 
 On this client the iptable entry reads as follows:  1ACCEPT
 tcp  --  192.168.2.1460.0.0.0/0   tcp dpt:9102 state NEW


You need state ESTABLISHED and RELATED for the other direction, not?


 
  
 
 On the director the iptable entry reads: 11   ACCEPT tcp  --
 0.0.0.0/00.0.0.0/0   tcp dpts:9101:9103 state NEW

same here.

-Marc

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Verify job after Filesystem Errors

2009-06-10 Thread Marc Schiffbauer
Hi all,

I have had some bad filesystem errors detected after a fsck of a
servers /home partition and I think some files might be gone.

I have a recent backup of everything important on that partition.

Now I want to know if important files have vanished.

I do not have a Verify job created yet and so do not have done an
InitCatalog with a Level = Verify job.

Is it possible to do/create a verify job based on the other catalog
information that is there from the daily backups?

I just want to check the Catalog against the Filesystem.

Will I just have to create a Verify job with a Fileset from a Backup
job and run it?

Thanks
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BAT for windows ?

2009-06-05 Thread Marc Schiffbauer
* Robert LeBlanc schrieb am 05.06.09 um 18:05 Uhr:
 I believe bat has a too big dependency on qt and qt is not easily ported to
 Windows yet. You may still have to wait a while for a Windows port.

??? qt runs fine on windows since many years.

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What flags a file to be backed up ?

2009-05-04 Thread Marc Schiffbauer
* Jacques Botha schrieb am 04.05.09 um 11:23 Uhr:
 Hi All
 
 If I have a file, the file size, content, and checksum does not change
 from yesterday to today, _but_ the file system permissions change, does
 it get flagged to be backed up ?

To do this you must tell bacula to look for ctime changes.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Deduplication feature

2009-04-08 Thread Marc Schiffbauer
* Corneliu P schrieb am 08.04.09 um 15:08 Uhr:
 Hi all,
 
 Does Bacula support deduplication feature?
 
 That is, for the backup software to detect duplicate files and not
 actually backup duplicates, but store a pointer to original backed up
 file, and make all this transparent on restore operations?


No. But it may be listed in the feature request list...

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bat help files

2009-03-23 Thread Marc Schiffbauer

I think I misunderstood you sorry. I read bacula help files not
bat help files ;)

It seems like bat only looks for an index.html in the current
working directory which is not good ;)

I would say /usr/share/doc/bat/

-Marc


* Kern Sibbald schrieb am 23.03.09 um 16:42 Uhr:
 Hello,
 
 It appears that the bat help files are not getting properly installed -- at 
 least in version 2.5 (I never really thought about it in 2.4.x).  Can anyone 
 tell me what is the default location that applications such as Bacula are 
 supposed to install their help files?
 
 Regards,
 
 Kern
 
 --
 Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
 powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
 easily build your RIAs with Flex Builder, the Eclipse(TM)based development
 software that enables intelligent coding and step-through debugging.
 Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
 ___
 Bacula-devel mailing list
 bacula-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-devel

-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bat help files

2009-03-23 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 23.03.09 um 16:42 Uhr:
 Hello,
 
 It appears that the bat help files are not getting properly installed -- at 
 least in version 2.5 (I never really thought about it in 2.4.x).  Can anyone 
 tell me what is the default location that applications such as Bacula are 
 supposed to install their help files?

Are you talking about man-pages under linux?

If yes it is /usr/share/man/manman section/manpage.man-section

Sections (copied from wikipedia ;)):

--
Section Description
1   General commands
2   System calls
3   C library functions
4   Special files (usually devices, those found in /dev) and drivers
5   File formats and conventions
6   Games and screensavers
7   Miscellanea
8   System administration commands and daemons
--

Other help files would go to /usr/share/doc/package-name in debian
based distros and to /usr/share/doc/packages/package-name/ in Red
Hat or SuSE for example.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bat help files

2009-03-23 Thread Marc Schiffbauer
* Kevin Keane schrieb am 23.03.09 um 20:36 Uhr:

  I think I misunderstood you sorry. I read bacula help files not
  bat help files ;)
 
  It seems like bat only looks for an index.html in the current
  working directory which is not good ;)
 
  I would say /usr/share/doc/bat/
 
  
 
 It's really up to the packager whether or not /usr/share/doc/bat exists. 
 It is a good idea, of course, in case somebody ever comes up with an 
 actual package named bat.

I was assuming that.

 
 That said, I think the /usr/share/doc location is really not so much for 
 help files that are called at runtime, as for general documentation 
 files such as readme. 

Hm. I think you are right.


 I'm thinking that the installation directory would 
 probably be the best place. Either that, or create a directory 
 /usr/share/bacula (not under the doc directory). Maybe even 
 /usr/lib/bacula although I think that's a stretch.
 
 Obviously, all that should be configurable at compile time so that 
 different distributions can put it wherever they feel appropriate.

I would vote for /usr/share/package-name then, so as you say this
should be configurable at compile time


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Remote storage

2008-12-17 Thread Marc Schiffbauer
* Sergio Belkin schrieb am 17.12.08 um 13:53 Uhr:
 How Can I define a remote storage in bacula-sd.conf ?  namely a tape
 device that is in another host that bacula director.

I think you ned to run the bacula-sd on that remote host, not on the
host that runs bacula-dir.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Copy jobs in Bacula version 3.0.0

2008-12-15 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 15.12.08 um 21:52 Uhr:
 Hello,

Hi Kern,

 I've been discussing with Eric how we might handle Copy jobs in our 
 development version.
[...]

 A few things seem obvious:
 
 1. Any restore where Bacula automatically selects the jobs to be restored 
 (e.g. a restore to the current state -- #5 on the restore prompt menu) should 
 be done by default using the original backups.
 
 2. If a job has been copied, Bacula should probably display an information 
 message during the restore that indicates that the JobIds to be used have 
 Copies.
 
 3. The restore command should allow the user to select any Copy job or jobs.

1..3 ACK!

 I am proposing to change the current way that Copy jobs are handled.
[...]
 
 I propose that we modify the Jobs to look like the following:
 
 +---+--+-+--+---+--+---+---+
 | JobId | Name | StartTime   | Type | Level | JobFiles | 
 +---+--+-+--+---+--+---+---+
 | 1 | CopyJobSave  | 2008-12-15 20:38:28 | B| F | 7020 | 
 | 5 | CopyJobSave  | 2008-12-15 20:38:28 | C| F | 7020 | 
 | 2 | CopyJobSave  | 2008-12-15 20:38:32 | B| I  | 999 | 
 | 6 | CopyJobSave  | 2008-12-15 20:38:32 | C| I  | 999 | 
 | 3 | copy-job | 2008-12-15 20:41:05 | c| F | 0| 
 | 4 | copy-job | 2008-12-15 20:41:50 | c| F | 0| 
 | 8 | RestoreFiles | 2008-12-15 20:42:39 | R| F | 7020 | 
 +---+--+-+--+---+--+---+---+
 
 Now here, JobIds 5 and 6 no longer appear to Bacula like they are Backup 
 jobs, 
 rather they are marked as Type=C (i.e. a Copy job), and so they will never be 
 considered for restoration by default.

This is just what I thought before reading your proposal to this:
So ACK!

 I've give the Copy control jobs the 
 Type 'c' to distinguish them from the real copy -- they exist just to record 
 the actual time the copy was made.


Some thoughts on this:
 * How can you be 100% sure that 5 is a copy of 1?
   On a really fast machine two Origian jobs might be created within the
   same second... not?

 * How can the copy-job (c) be associated to the real Copy (C)?
   Especially if there are two or more copies of the original.

 * Will a Copy of a Copy be possible? How will this be done then?

 * There should always be a real association between the Origianl and a
   Copy that will always make it clear which job is a copy of what job.
   This might be done only by connecting the JobIds somehow, right?

 * How about adding a new Table that is used to store these
   associations? That way it will be possible in the future to have
   more complex dependencies between jobs like
   * Copies of Copies
   * More than one Copy of an Original
   * VirtualFullBackups (sorry i do not know the current state of
 these) might work this way...

Table JobAssociations
 +---+--+-+
 | JobId | AssocJobId   | AssocTime   |
 +---+--+-+
 | 5 | 1| 2008-12-15 20:41:05 |
 | 6 | 2| 2008-12-15 20:41:50 |
 +---+--+-+

 This will tell us clearly that Job 5 is a Copy of Job 1 and Job 6
 is a Copy of Job 2 given the Facts that Job 5 and 6 are of Type C.

 This might sound a bit too much for what should be done right know,
 but OTOH it might make future features easier to implement if
 different jobs can have a direct association to each other.

 Now by modifying the restore code in Bacula, we should be able to provide 
 features that allow the user to know that there is a Copy of JobId 1 (i.e. 5) 
 and a copy of JobId 2 (i.e. 6) and allow him/her to choose which copy to use.

It just tells that there actually *is* a copy. But how do you
determine which copy is choosen if you have more than one copy and
want to know which copy has been made at which time?

[...]
 
 Any comments?
 
 Best regards,
 
 Kern
 

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula Status

2008-10-07 Thread Marc Schiffbauer
* Martin Simmons schrieb am 07.10.08 um 13:00 Uhr:
  
  I voted for putting it into the Exclude section because this
  directive is about *excluding* directories from the backup.
 
 True, but...
 
  So if
  someone uses this directive it has the same effect then the file =
  /foo in the Exclude section.
 
 ...that's not true and is exactly the confusion I was talking about!  The
 Exclude section is only consulted if none of the Include Options clauses
 match.  It does not override a +ve Include match, unlike ignoredir which does.

Thanks. I did not know that. Then you are right of course.
But when I think about the behavior you described and I find it a bit
strange...

There are several ways to include/exclude files and directories in a
bacula fileset.

Is there some document somewhere which describes the order in which
the different types are being processed and if it does work with first-match
or last-match etc?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula Status

2008-10-07 Thread Marc Schiffbauer
* Martin Simmons schrieb am 07.10.08 um 13:23 Uhr:
  On Tue, 7 Oct 2008 07:37:36 +0200, Kern Sibbald said:
  
  
  I personally don't find it that confusing, but am willing to admit that 
  some 
  would.  So, what is the solution?   
  
  Drop the feature?
  
  Change the feature?
 
 Putting it outside the Include option and making it truely apply to the whole
 fileset would at least make it easier to define what it does.
 
 
  If it involves programming, please realize that this is contributed code, 
  and 
  so any changes would have to be agreed on by some sort of consensus, and 
  then 
  done by someone other than the developers or perhaps by the author.
 
 I think the fileset syntax needs a complete overhaul.  

I thought about this some time now. Conclusion: The current
FileSet{} Syntax is good, but IMO with some changes/improvements
it would be much more logical and easier to understand.

So I did a bit of a Mockup what I think how the FileSet would be
better structured maintaining the same flexibility:

Some definitions (many apply to the current syntax):

 * There are two possible sections in FileSet: Include and Exclude
   There can be one or more Include and zero or one Exclude
   statements.
 * NEW: FileWild and FileRegex, not only File can be used to select
   files in Include and Exclude
 * All files matching one of the File* statements will be included into or
   excluded from the backup accordingly.
 * Any File/FileRegex/FileWild statements can begin with a ! to
   negate it.
 * What will be backed up or not can never be controled from within
   an Options section.
 * Options sections will always only set/change parameters of
   files to selected for that particular include statement.

# Example fileset with comments:

---
FileSet {
  Name = MyFileSet

  Ignore FileSet Changes = yes|no # no change
  Enable VSS = yes|no # no change

  Include {# include /dev/sdf raw with sparse option

Options {  # this option matches all File* statements
  Sparse = YES # within this Include statement
}

File = /dev/sdf
  }

  # include some dirs, SHA1 for every file,
  # compress all files not matching .*\.(gz|bz2|tgz|tbz2)
  Include {
Options {# this option matches all File* statements
  Signature   = SHA1 # within this Include statement
}

# compress all files in this include section
# _not_ matching .*\.(gz|bz2|tgz|tbz2)
Options {
  WildRegex  = !.*\.(gz|bz2|tgz|tbz2)
  Compression = GZIP
}
File  = / # begin at root, stay in FS
File  = /usr  # additional FS mounted on /usr
FileWild  = /lib* # include /lib, /lib32, /lib64, ...
FileWild  = /usr/lib* # include /usr/lib, /usr/lib64, ...
FileRegex = /home/[a-f]*  # include all home dirs beginning
# with one of a,b,c,d,e,f
  }

  # exclude some of the previous selected files that we do not want
  # to backup:
  # everything in /tmp and every cache dir in user home dirs
  # this applies to any files that matched previously because this
  # section is at the end and thus processesd when!
  Exclude {
File = /tmp
FileRegex = /home/*/[Cc]ache
  }
}
---

Comments please!


Regards
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula Status

2008-10-06 Thread Marc Schiffbauer
* Martin Simmons schrieb am 06.10.08 um 22:04 Uhr:
 
 If it hasn't been done already, it could be useful to consider how this
 affects the mental model that users have of the include/exclude algorithm
 (which is already a source of some difficulty).  This applies to the fstypes
 and drivetypes directives as well.
 
 There are two things about these directives that make them different from
 others:
 
 1) The current implementation is within the Options clause, so the config can
potentially have more than one per fileset.  Is that desirable or does it
just over-complicate the issue?

Look a bit closer. Its not within the Options section. Currently its
in the Include section.

 
 2) The directories are excluded *after* being included in the backup according
to the Options matching.  In all other cases, an exclude cannot override a
matching include.
 
 I may be less confusing to put the new directive at the top level of the
 fileset directive, outside any of the Include or Exclude clauses.


I voted for putting it into the Exclude section because this
directive is about *excluding* directories from the backup. So if
someone uses this directive it has the same effect then the file =
/foo in the Exclude section.

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Improving job scheduling flexibility

2008-02-23 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 23.02.08 um 12:40 Uhr:
 Hello,

Hi Kern,

 
 As you know, current job scheduling has a few deficiencies, particular if for 
 some reason your backups get blocked (a bad tape driver or operator 
 intervention required), which can lead to a big pile of duplicate jobs being 
 scheduled.
 
 We have previously discussed ways of fixing this, with some really good ideas.
 
 I am now ready to take a stab at implementing it, and would like to present 
 the current design and let some of you help in the design process.  I am 
 currently pretty busy with my own project and helping with two major projects 
 that are making very nice progress, so I would appreciate some input.
 
 My current idea is to create a new DuplicateJobs resource and a new 
 Duplicate Jobs directive which would point to the duplicate jobs resource.
 The reason for the resource is that there are just too many different 
 variations that it would require a lot of new directives, and it seems a 
 shame to add them to every Job.

How about creating a sub-resource in Job that could be put into
JobDefs then too?

Or maybe better a sub-resource of the Schedule resource? (As this is
about scheduling...)

Creating a new major resource seems to make it too complicated for what it
provides IMO. - Keep it simple.


 
 My current design calls for a Duplicate Jobs resource that looks something 
 like the following:
 
 DuplicateJobs {
   Name = xxx
 
   Allow = yes|no  (no = default)
 
   AllowHigherLevel = yes|no(no)
 
   AllowLowerLevel = yes|no (no)
 
   AllowSameLevel = yes|no

Maybe Allow* could be simplified as

AllowLevel = equal|higher|lower or just =||

where one or more of the keywords may be specified.

 
   Cancel = Running | New(no)

Maybe better CancelJob or JobToCancel


 
   CancelledStatus = Fail | Skip  (fail)

CancelledJobStatus ?

 
   Job Proximity = time-interval  (0)


Maybe better: 

Allow Job Overlap = time-interval

or 

Minimum Duplicate Time = time-interval


 The first Allow directive is probably not needed, but it does make it more 
 complete.  If this directive is set to yes, all the other directives would be 
 ignored, which would be the same as today and with no Duplicate Jobs 
 directive in the Job resource.
 
 The AllowXXX directives are to try to define what job will be allowed to 
 continue when there is one job running or waiting and a new one arrives.
 For example AllowHigherLevel = yes, would mean to allow the higher level job 
 to continue.
 
 The Cancel directive specifies which job to cancel (the new job or the job 
 already there.  I think there is probably a logic conflict between this 
 directive and the AllowXXX directives, but I have not thought this through 
 carefully enough.
 
 The CancelledStatus is an attempt to tell Bacula to either fail one of the 
 two 
 jobs or to Skip it, which means to kill it but without a lot of noise.  Some 
 options I could think of here that are not yet clearly specified are:
 
 Do not kill a running job in favor of a newly scheduled job.
 Do not print any messages about cancelling a job (I don't particularly 
like this idea).
 Do not record any cancelled job in the catalog
 ...
 
 Finally Job Proximity is to allow a bit of overlap.  For example, if a job 
 has 
 been running 20 minutes or ran 20 minutes ago, you might want to not apply 
 the rules.

I think a job that ran (=finished?) 20 Minutes ago should never be
handled like a duplicate job. Because it is not. For this a Min Time Between 
Jobs
directive would we better IMO (maybe in the Schedule Resource?)


 
 As you can see, there is a lot of room for clarification of what should be 
 done, and also a need for a bit more functionality ... -- in other words a 
 bit more design is needed before beginning the implementation.
 
 Comments?

As stated above I think it *might* make sense to create new
directoves for Jobs or Schedules instead of a whole new resource. For things 
that you
do *not* want to put in every Job{} again and again there is
JobDefs{} then.. 

It could look like this:


Job/JobDef or Schedule {

Duplicate Jobs {
AllowLevel = equal|higher|lower or just =||

Cancel Job = Running | New

Cancelled Status = Fail | Skip

Minimum Duplicate Time = time-interval

}

}


Comments?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Improving job scheduling flexibility

2008-02-23 Thread Marc Schiffbauer
* Marc Schiffbauer schrieb am 23.02.08 um 19:14 Uhr:

 Job/JobDef or Schedule {
 
 Duplicate Jobs {
 AllowLevel = equal|higher|lower or just =||
 
 Cancel Job = Running | New

   Waiting | New

   - even better IMO!


 
 Cancelled Status = Fail | Skip
 
 Minimum Duplicate Time = time-interval
 
 }

-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: no fsf on restore?

2008-02-09 Thread Marc Schiffbauer
* Peter Much schrieb am 09.02.08 um 15:54 Uhr:
 
 Hello Dan!
 
 |Now I know what you meant by directly.
 
 Good. :)
 Now how do You call this kind of asychronus-disk-Pool-buffered 
 strategy? So that we know what we are talking about?

I know this as 

B2D2T

(Backup - to Disk - to Tape)


google lists many enterprise backup solutions when searching for
it

-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: no fsf on restore?

2008-02-08 Thread Marc Schiffbauer
* Peter Much schrieb am 08.02.08 um 02:58 Uhr:
 [EMAIL PROTECTED] aka John Drescher schrieb
 mit Datum Thu, 7 Feb 2008 20:10:41 -0500 in m2n.bacula.users:
 
 |   Fast Forward Space File = no
 |
 |Here is the problem. Set this to yes (provided your system supports
 |this) and it will skip over the other jobs.
 
 Whew, but that is the official recommendation for FreeBSD from the 
 Bacula Users Guide:
 
   Hardware End of Medium = no
   BSF at EOM = yes
   Backward Space Record = no
   Backward Space File = no
   Fast Forward Space File = no
   TWO EOF = yes
 
 Besides that, I am very sure that this is NOT a problem of tape
 configuration. It is a problem of wrong data getting inserted into
 the catalog.
 As soon as I correct the catalog data, it DOES skip over the
 other jobs just fine, no matter the tape configuration.
 
 And, I have just noticed, that if I would write the backup directly 
 to tape, then the catalog entries are created correct!
 
 Only as I write all backups to disk storage, and then migrate
 the jobs from disk storage to tape storage, this does happen.
 
 It seems to be simply a bug in the migration handling code.

I think you are right. Sounds like this is something for a bugreport.

-Marc

-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Debian and Ubuntu Packages updated

2008-01-31 Thread Marc Schiffbauer
Hi all,

I just uploaded updated bacula packages to the packman package
repository (Version 2.2.8)

These will be available in about 4-5 hours from now on.

There are now packages for:

- Debian * sarge - i386
 *
 * etch  - i386, x86_64 (amd64)

- Ubuntu * edgy   (6.10) - i386, x86_64 (amd64)
 *
 * feisty (7.04) - i386, x86_64 (amd64)
 *
 * gutsy  (7.10) - i386, x86_64 (amd64)

(BAT is not included in the sarge build)

Instructions for the repo can be found here:
http://wiki.links2linux.de/wiki/PackMan_repo_instructions_for_Debian/Ubuntu


Comments / Suggestions welcome.

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] php guru

2008-01-28 Thread Marc Schiffbauer
Hi Kern,

first of all sorry for the TOFU ;-)

I'd suggest something like that:

Using mod_rewrite you can redirect a user at the first stage by the
language the browser sends.

Something like that in the VirtualHost config or the .htaccess file
should do the job:

IfModule mod_rewrite.c
  RewriteEngine On

  # german
  RewriteCond %{HTTP_USER_AGENT}  ^.*\(.*de.*\).*
  RewriteRule ^$ /de  [L]

  # french
  RewriteCond %{HTTP_USER_AGENT}  ^.*\(.*fr.*\).*
  RewriteRule ^$ /fr  [L]

  # default language: en
  RewriteRule ^$ /en  [L]
/IfModule

Cheers
-Marc


* Kern Sibbald schrieb am 28.01.08 um 17:05 Uhr:
 Hello,
 
 I'm having a small problem reorganizing the Bacula web site so that it is 
 more 
 language neutral and am hoping that someone can provide me a little help with 
 php or apache.
 
 The current directory is:
 
 /var/www/bacula
   images
   presentations
   ...
   a-bunch-of-English-files
   de
  a-bunch-of-German-files
   fr
 a-bunch-of-French-files
 
 and I would like to convert the above into:
 
 /var/www/bacula
   en
  a-bunch-of-English-files
   de
  a-bunch-of-German-files
   fr
 a-bunch-of-French-files
 
 where en, de, and fr are directories which hold the various files related to 
 the particular translation.
 
 The DocumentRoot is /var/www/bacula, which I would like to keep unchanged so 
 that each language can easily reference the images and other directories.  
 
 When the user enters the site and clicks on the German or French flag, it 
 executes code such as a href='/de' and all is OK because Apache puts 
 descends into www.bacula.org/de.   However, this requires the user to click 
 on a flag.
 
 Now the problem I have is: How do I do that by default so that the user types:
 
   www.bacula.org
 
 but gets dropped into
 
   www.bacula.org/en
 
 as if he had initially clicked on the English flag?
 
 I have created an index.php file in the main directory that is:
 
 ?php
 http_redirect('http://www.bacula.org/en');
 ?
 
 but either my php function call is incorrect (php v 5.1.6) or the function 
 just is not doing what I wanted it to.
 
 Does anyone know how to accomplish this?
 
 Thanks,
 
 Kern
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] incremental backup of hard links

2008-01-16 Thread Marc Schiffbauer
* Ingo Jochim schrieb am 16.01.08 um 17:39 Uhr:

[...]

 
 Good idea.
 So what is important for the backup? ctime or mtime?

Both. But you can configure bacula to ignore the ctime.

-Marc

 I't not able to reset the ctime.
 How can I have ls give me the time format I will need for touch to reset 
 the time?

Use find for that instead.

-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with Automatic Mount = yes

2007-09-30 Thread Marc Schiffbauer
Hi all,

I am using bacula 2.2.4.

I have a SD that stores backups to a disk that will be mounted at
backup time (FTP storage mounted with curlftpfs).

In previous versions of bacula there was no way to make the SD
unmount that disk after finishing a job.

This has been fixed in the current release and works great now.

But now another problem has risen instead:

If a disk volume is full (if Maximum Volume Bytes is reached) it
asks for the next volume to be mounted instead of doing it
automatically like before:

30-Sep 13:41 vesta-sd: Please mount Volume FtpVol-0033 or label a new one for:
Job:  vesta-ImportantData.2007-09-30_03.05.02
Storage:  FtpFileStorage (/mnt/backup)
Pool: VestaFtp
Media type:   File


This did not happen with previous versions.

What is a bit strange: After waiting several hours and sending
several mails with the message above it *will* do the mount
automatically and finish the backup successfully.


Any hints someone what could be the cause for this?


This is the Device config in bacula-sd.conf:

Device {
  Name = FtpFileStorage
  Device Type = File
  Media Type = File
  Requires Mount = Yes
  Mount Point = /mnt/backup
  Mount Command = /usr/bin/curlftpfs -o allow_root **:[EMAIL PROTECTED] %m
  Unmount Command = /usr/bin/fusermount -u %m
  Archive Device = /mnt/backup
  LabelMedia = yes  # lets Bacula label unlabeled media
  Random Access = Yes
  Automatic Mount = yes # mount new volumes automatically
  RemovableMedia = yes
}

This is the pool config in bacula-dir.conf:

Pool {
  Name = VestaFtp
  Storage = vesta-sd
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 6 months

  Label Format = FtpVol-

  Maximum Volume Bytes = 1073639424
  Maximum Volumes = 50
}

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with Automatic Mount = yes

2007-09-30 Thread Marc Schiffbauer
* Paul Johnson schrieb am 30.09.07 um 20:18 Uhr:
 Marc Schiffbauer wrote:
 If a disk volume is full (if Maximum Volume Bytes is reached) it
 asks for the next volume to be mounted instead of doing it
 automatically like before:
   
 I used to have this problem with my USB disks.  Here is the relevant bit 
 of bacula-sd.conf
 
 Device {
  Name = BACKUP1
  Media Type = File
  Archive Device = /media/BACKUP1
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
 }
 
 I believe its the RemovableMedia = no that does the trick.

Thanks, I will try that and let you know the results.

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula performance with a 64512 block size

2007-09-18 Thread Marc Schiffbauer
* Chris Howells schrieb am 18.09.07 um 16:14 Uhr:
 Hi,
 
 Marc Schiffbauer wrote:
 
 Finally got around to messing around with bacula again...
 
  The manual says that nnn being the same number for both settings
  means fixed blocksize.
  
  As I understand it, your solutions should be to just set the
  Minimum Block Size so you get a good perfromance.
  
  Minimum Block Size = 1048576
 
 Unfortunately just setting a Minimum Block Size does not work. btape for 
 instance will not work then. It dies with a glibc error. (See end of 
 mail for full trace.
 
 For instance with the following setting:
 
 Minimum Block Size = 256000
 
 [EMAIL PROTECTED]:/etc/bacula# btape -c bacula-sd.conf /dev/nst0
 snip
 test
 snip
 *** glibc detected *** malloc(): memory corruption: 0x080d9d90 ***
 
 Setting both a Minimum Block Size and Maximum Block Size to the same 
 value *does* seems to work with btape.
 
 BTW, I tried using 1048576. Unfortunately this does not work. From 
 src/stored/dev.c:
 
 if (dev-max_block_size  100) {
Jmsg3(jcr, M_ERROR, 0, _(Block size %u on device %s is too 
 large, using default %u\n),
   dev-max_block_size, dev-print_name(), DEFAULT_BLOCK_SIZE);
 
 Oops.
 
 Why can I not use  100 bytes? This seems a *really* strange 
 restriction. I can happily use blocks of several megabytes using tar.

Indeed. 
I discuss that on the devel list and/or maybe open a
bugreport in the bacula BTS.

And btape crashing is a bug as well...

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-sd always crashing on job start

2007-09-15 Thread Marc Schiffbauer
* Dan Langille schrieb am 15.09.07 um 05:04 Uhr:
 On 15 Sep 2007 at 4:59, Marc Schiffbauer wrote:

Hi Dan,

 
  Hi,
  
  I have a problem with one of my SD's.
  
  Since upgrade from 2.0.3 to 2.2.3 it is always segfaulting when a
  job starts to use it.
 
 I suggest upgrading to 2.2.4 released today, and check the release 
 notes (see announce mailing list) for possible bug fixes related to 
 this issue.

I am using 2.2.4 now and it is still crashing. I found out that it
crashes even if I try to relabel a tape.

I recompiled bacula and use an unstripped version of bacula-sd now.
Using the btrcaeback script I got the backtrace in the mail
attached.

This is the console output:
[EMAIL PROTECTED]:~# bacula-sd -f -d50 -c /etc/bacula/bacula-sd.conf
lisa-sd: stored.c:480 SD init done /dev/nst0
lisa-sd: stored.c:493 calling first_open_device DLT8000 (/dev/nst0)
lisa-sd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
lisa-sd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
lisa-sd: dircmd.c:574 Found device DLT8000 lisa-sd: cram-md5.c:71 send: auth 
cram-md5
[EMAIL PROTECTED] ssl=0 lisa-sd: dircmd.c:574 Found device DLT8000
lisa-sd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
lisa-sd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0
lisa-sd: dircmd.c:574 Found device DLT8000

Volume Label:
Id: Bacula 1.0 immortal
VerNo : 11
VolName   : Tape_13_2
PrevVolName   :
VolFile   : 1
LabelType : PRE_LABEL
LabelSize : 0
PoolName  : Default
MediaType : DLT-IV
PoolType  : Backup
HostName  : lisa
Date label written: 15-Sep-2007 14:27
lisa-sd: reserve.c:313 jid=0 reserve_volume Tape_13_2
lisa-sd: reserve.c:238 jid=0 new Vol=Tape_13_2 at 80d9910 dev=DLT8000 
(/dev/nst0)
lisa-sd: reserve.c:181 jid=0 List from end new volume: Tape_13_2 at 80d9910 on 
device DLT8000 (/dev/nst0)
15-Sep 14:28 lisa-sd: ABORTING due to ERROR in smartall.c:215
Buffer overrun called from mem_pool.c:213
Kaboom! bacula-sd, lisa-sd got signal 11 - Segmentation violation.
Attempting traceback.
Kaboom! exepath=/root
Calling: /root/btraceback /root/bacula-sd 1493

^^ this last line is wrong, and I called it manually as
/usr/bin/btraceback /usr/local/sbin/bacula-sd 1493

This is the output on bconsole:

Connecting to Storage daemon lisa-sd at lisa:9103 ...
Sending relabel command from Tape_13 to Tape_13_2 ...
block.c:990 Read error on fd=8 at file:blk 0:0 on device DLT8000 (/dev/nst0). 
ERR=Cannot allocate memory.
3000 OK label. VolBytes=102400 DVD=0 Volume=Tape_13_2 Device=DLT8000 
(/dev/nst0)


Is this useful?


 
 If you are getting .core files, try supplying the output of this:
 
 # gdb bacula-sd bacula-sd.core
 backtrace
 
 FWIW, we've been working on a core of bacula-sd the past couple of 
 days.
 


Thanks for helping
-Marc
-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-sd always crashing on job start

2007-09-15 Thread Marc Schiffbauer
* Dan Langille schrieb am 15.09.07 um 05:04 Uhr:
 On 15 Sep 2007 at 4:59, Marc Schiffbauer wrote:

Ooops. forgot the backtrace, here it is.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134
From [EMAIL PROTECTED] Sat Sep 15 14:29:39 2007
Return-path: [EMAIL PROTECTED]
Delivery-date: Sat, 15 Sep 2007 14:29:39 +0200
Received: from localhost ([127.0.0.1] helo=lisa.schiffbauer.lan)
by lisa.schiffbauer.lan with smtp (Exim 4.50)
id 1IWWmH-P8-Uh
for [EMAIL PROTECTED]; Sat, 15 Sep 2007 14:29:38 +0200
From: [EMAIL PROTECTED]
Subject: Bacula GDB traceback of bacula-sd
Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 15 Sep 2007 14:29:37 +0200 (CEST)
Message-Id: [EMAIL PROTECTED]
Status: RO
Content-Length: 5326
Lines: 107

Using host libthread_db library /lib/libthread_db.so.1.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1493)]
[New Thread 32769 (LWP 1495)]
[New Thread 114690 (LWP 1541)]
[New Thread 32771 (LWP 1497)]
0x404a0001 in select () from /lib/libc.so.6
$1 = lisa-sd, '\0' repeats 22 times
$2 = 0x80cbbf8 bacula-sd
$3 = 0x80cbc58 /root/bacula-sd
$4 = 0x0
$5 = 0x80bb304 2.2.4 (14 September 2007)
$6 = 0x80b6230 i386-pc-linux-gnu
$7 = 0x80b6229 debian
$8 = 0x80b6269 3.1
#0  0x404a0001 in select () from /lib/libc.so.6
#1  0x0007 in ?? ()
#2  0x in ?? ()
#3  0x404fec80 in ?? () from /lib/libc.so.6
#4  0x in ?? ()
#5  0x08086d30 in bnet_thread_server (addrs=0x0, max_clients=-514, 
client_wq=0x80cab00, handle_client_request=0xfdfe) at bnet_server.c:161
#6  0x0804d384 in main (argc=0, argv=0x804dec0) at stored.c:263

Thread 4 (Thread 32771 (LWP 1497)):
#0  0x40168456 in nanosleep () from /lib/libpthread.so.0
#1  0x0001 in ?? ()
#2  0x4016452a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0x40161122 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0x080a2dfd in watchdog_thread (arg=0x0) at watchdog.c:307
#5  0x40161e51 in pthread_start_thread () from /lib/libpthread.so.0
#6  0x404a68aa in clone () from /lib/libc.so.6

Thread 3 (Thread 114690 (LWP 1541)):
#0  0x40168c0b in waitpid () from /lib/libpthread.so.0
#1  0xbf7fdf20 in ?? ()
#2  0x in ?? ()
#3  0x0809e908 in signal_handler (sig=11) at signal.c:167
#4  0x40167825 in __pthread_sighandler () from /lib/libpthread.so.0
#5  signal handler called
#6  e_msg (file=0x80bce57 smartall.c, line=215, type=1, level=-1082137772, 
fmt=0x0) at message.c:1053
#7  0x0809f84e in sm_free (file=0xd7 Address 0xd7 out of bounds, line=213, 
fp=0x80ea880) at smartall.c:215
#8  0x080990cb in sm_free_pool_memory (fname=0x80ab5a6 block.c, lineno=171, 
obuf=0xd5 Address 0xd5 out of bounds) at mem_pool.c:213
#9  0x08057694 in free_block (block=0x80e9f30) at block.c:171
#10 0x080539d8 in free_dcr (dcr=0x80da090) at acquire.c:701
#11 0x080647e8 in do_label (jcr=0x80d8fd8, relabel=1) at dircmd.c:398
#12 0x080644ea in relabel_cmd (jcr=0x0) at dircmd.c:341
#13 0x08063d4a in handle_connection_request (arg=0x80ea430) at dircmd.c:224
#14 0x080a3839 in workq_server (arg=0x80cab00) at workq.c:357
#15 0x40161e51 in pthread_start_thread () from /lib/libpthread.so.0
#16 0x404a68aa in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 1495)):
#0  0x4049da5a in poll () from /lib/libc.so.6
#1  0x40161b50 in __pthread_manager () from /lib/libpthread.so.0
#2  0x404a68aa in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 1493)):
#0  0x404a0001 in select () from /lib/libc.so.6
#1  0x0007 in ?? ()
#2  0x in ?? ()
#3  0x404fec80 in ?? () from /lib/libc.so.6
#4  0x in ?? ()
#5  0x08086d30 in bnet_thread_server (addrs=0x0, max_clients=-514, 
client_wq=0x80cab00, handle_client_request=0xfdfe) at bnet_server.c:161
#6  0x0804d384 in main (argc=0, argv=0x804dec0) at stored.c:263
#0  0x404a0001 in select () from /lib/libc.so.6
#0  0x404a0001 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x0007 in ?? ()
No symbol table info available.
#2  0x in ?? ()
No symbol table info available.
#3  0x404fec80 in ?? () from /lib/libc.so.6
No symbol table info available.
#4  0x in ?? ()
No symbol table info available.
#5  0x08086d30 in bnet_thread_server (addrs=0x0, max_clients=-514, 
client_wq=0x80cab00, handle_client_request=0xfdfe) at bnet_server.c:161
161 bnet_server.c: No such file or directory.
in bnet_server.c
Current language:  auto; currently c++
maxfd = 8
sockset = {fds_bits = {128, 0 repeats 31 times}}
newsockfd = 6
stat = 8
clilen = 16
cli_addr = {sa_family = 2, sa_data = \200\\��\001\001��\000}
tlog = 0
turnon = 1
request = {fd = 6, user = '\0' repeats 127 times, daemon = lisa-sd, '\0' 
repeats 120 times, pid = 1493\000\000\000\000\000, client = {{
  name = '\0' repeats 127 times, addr = '\0' repeats 127 times, sin = 
0x401b7fa0, unit = 0x0, request = 0xb7a0}}, server = {{
  name = '\0' repeats 127 times, addr = '\0' repeats 127 times, sin = 
0x401b8020, unit = 0x0

Re: [Bacula-users] [Bacula-devel] Debian and Ubuntu Packages available

2007-09-14 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 14.09.07 um 10:00 Uhr:
 On Friday 14 September 2007 01:51, Marc Schiffbauer wrote:
  Hi all,
 
  this is to let you know that I have finished packaging Bacula 2.2.3
  for the following distros:
 
  * Debian sarge (i386)
  * Debian etch (i386 and amd64)
  * Ubuntu edgy (i386 and amd64)
  * Ubuntu feisty (i386 and amd64)
 
  The packages are based on the debian unstable packages by John
  Goerzen (thanks John)
 
  Please note that these packages are being built using pbuilder which
  allows to build very clean packages regarding package dependencies
  and the like, however:
 
  Although the packages did build clean I have not tested them on
  every platform so if you want to use them in production:
  Please test them first. Also it would be useful to have some
  feedback here that they are working.
 
  I built a bat package (bacula-console-qt) for distros that have at
  least recent qt4 packages available. (libqwt5 is builtin statically
  on systems where it is not available)
 
  There is an issue on ubuntu left: Stopping bacula-fd does not work
  with the init script, so on upgrades you have to manually
  killall bacula-fd one time. Patch would be welcome.
 
 Can you send a copy of the init script to the bacula-devel list.  Maybe we 
 can 
 see what is wrong with it.  

I looked into this. As it seems there *was* an issue with older
packages: Pid Directory in bacula-fd.conf was wrong in a previous 
version of the bacula-fd package. And as I upgraded the existing config 
was not touched.

I checked that the default config coming with the packages is ok now.
And after updating my bacula-fd.conf to have 

  Pid Directory = /var/run/bacula 
  
everything is fine.

So people having had the same issue in the past should just update
their config.

-Marc
-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-sd always crashing on job start

2007-09-14 Thread Marc Schiffbauer
Hi,

I have a problem with one of my SD's.

Since upgrade from 2.0.3 to 2.2.3 it is always segfaulting when a
job starts to use it.

- SD startup
- job starts
- Tape is being requestet
- mount
- SD positions tape
- kaboom


Device status:
Device DLT8000 (/dev/nst0) is not open.
Device is BLOCKED waiting for mount of volume Tape_12,
   Pool:Default
   Media type:  DLT-IV


In Use Volume status:
Tape_12 on device DLT8000 (/dev/nst0)
Reader=0 writers=0 reserved=1



mount storage=lisa-sd
3001 OK mount. Device=DLT8000 (/dev/nst0)
15-Sep 04:09 lisa-sd: Ready to append to end of Volume Tape_12 at file=52.
15-Sep 04:12 lisa-sd: Job write elapsed time = 00:02:56, Transfer rate = 4.149 
M bytes/second
15-Sep 04:12 lisa-sd: Sending spooled attrs to the Director.  Despooling 25,139 
bytes ...
15-Sep 04:12 lisa-dir: lisa-ImportantData.2007-09-15_03.23.10 Error:
Bacula lisa-dir 2.2.3 (09Sep07): 15-Sep-2007 04:12:57
  Build OS:   i386-pc-linux-gnu debian 3.1
  JobId:  525
  Job:lisa-ImportantData.2007-09-15_03.23.10
  Backup Level:   Incremental, since=2007-09-14 03:06:16
  Client: lisa-fd 2.2.3 (09Sep07)
i386-pc-linux-gnu,debian,3.1
  FileSet:lisa ImportantData FileSet 2007-03-29
13:23:26
  Pool:   Default (From Job resource)
  Storage:lisa-sd (From command line)
  Scheduled time: 15-Sep-2007 03:22:44
  Start time: 15-Sep-2007 03:58:10
  End time:   15-Sep-2007 04:12:57
  Elapsed time:   14 mins 47 secs
  Priority:   10
  FD Files Written:   98
  SD Files Written:   0
  FD Bytes Written:   730,370,516 (730.3 MB)
  SD Bytes Written:   0 (0 B)
  Rate:   823.4 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Volume name(s): Tape_12
  Volume Session Id:  1
  Volume Session Time:1189819221
  Last Volume Bytes:  39,001,374,720 (39.00 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  Error
  Termination:*** Backup Error ***

= Then on stdout/stderr:

Kaboom! bacula-sd, lisa-sd got signal 11 - Segmentation violation.
Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 9140
Traceback complete, attempting cleanup ...
Orphaned buffer:  lisa-sd528 bytes buf=80cd248 allocated at jcr.c:255
Orphaned buffer:  lisa-sd272 bytes buf=80d6738 allocated at jcr.c:253
Orphaned buffer:  lisa-sd528 bytes buf=80eb818 allocated at bnet.c:674
Orphaned buffer:  lisa-sd528 bytes buf=80eba48 allocated at bnet.c:673
Orphaned buffer:  lisa-sd128 bytes buf=80ec130 allocated at bnet.c:667
Orphaned buffer:  lisa-sd  7 bytes buf=80daa58 allocated at bnet.c:675
Orphaned buffer:  lisa-sd 12 bytes buf=80dace8 allocated at bnet.c:676
Orphaned buffer:  lisa-sd  8 bytes buf=80ec1d0 allocated at workq.c:167
Orphaned buffer:  lisa-sd 16 bytes buf=80ec1f8 allocated at jcr.c:247
Orphaned buffer:  lisa-sd 24 bytes buf=80d88a8 allocated at dircmd.c:185
Orphaned buffer:  lisa-sd146 bytes buf=80dbfa8 allocated at job.c:114
Orphaned buffer:  lisa-sd146 bytes buf=80dc058 allocated at job.c:117
Orphaned buffer:  lisa-sd146 bytes buf=80dc108 allocated at job.c:120
Orphaned buffer:  lisa-sd146 bytes buf=80dc1b8 allocated at job.c:128
Orphaned buffer:  lisa-sd 40 bytes buf=80dc2c0 allocated at job.c:140
Orphaned buffer:  lisa-sd 24 bytes buf=80daa80 allocated at reserve.c:583
Orphaned buffer:  lisa-sd 40 bytes buf=80dc550 allocated at alist.c:53
Orphaned buffer:  lisa-sd 24 bytes buf=80dc598 allocated at reserve.c:606
Orphaned buffer:  lisa-sd  8 bytes buf=80dc5d0 allocated at reserve.c:621
Orphaned buffer:  lisa-sd 40 bytes buf=80dc5f8 allocated at alist.c:53
Orphaned buffer:  lisa-sd528 bytes buf=80dcda0 allocated at bnet.c:674
Orphaned buffer:  lisa-sd128 bytes buf=80dcd00 allocated at bnet.c:667
Orphaned buffer:  lisa-sd  7 bytes buf=80dcb90 allocated at bnet.c:675
Orphaned buffer:  lisa-sd 12 bytes buf=80dcb60 allocated at bnet.c:676
Orphaned buffer:  lisa-sd  65652 bytes buf=80fc180 allocated at bsock.c:583


Any hints what to do now? I never had such segfaults before. Its
since the upgrade to 2.2.3.

-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

[Bacula-users] Debian and Ubuntu Packages available

2007-09-13 Thread Marc Schiffbauer
Hi all,

this is to let you know that I have finished packaging Bacula 2.2.3
for the following distros:

* Debian sarge (i386)
* Debian etch (i386 and amd64)
* Ubuntu edgy (i386 and amd64)
* Ubuntu feisty (i386 and amd64)

The packages are based on the debian unstable packages by John
Goerzen (thanks John)

Please note that these packages are being built using pbuilder which
allows to build very clean packages regarding package dependencies
and the like, however:

Although the packages did build clean I have not tested them on
every platform so if you want to use them in production:
Please test them first. Also it would be useful to have some
feedback here that they are working.

I built a bat package (bacula-console-qt) for distros that have at
least recent qt4 packages available. (libqwt5 is builtin statically
on systems where it is not available)

There is an issue on ubuntu left: Stopping bacula-fd does not work
with the init script, so on upgrades you have to manually 
killall bacula-fd one time. Patch would be welcome.

Find instructions to use the packages here:

http://wiki.links2linux.de/en/index.php/PackMan_repo_instructions_for_Debian/Ubuntu_%28en%29

Cheers
-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula performance with a 64512 block size

2007-09-10 Thread Marc Schiffbauer
* Chris Howells schrieb am 10.09.07 um 16:47 Uhr:
 Arno Lehmann wrote:
 
 Thanks for your reply.
 
  I'd suggest to do some tests with Bacula, and after you found your 
  best settings, clearly mark all tapes with their respective block sizes.
 
 Will do.
 
 Are you basically suggesting that I should use the following sd directives:
 
 Minimum Block Size = nnn
 Maximum Block Size = nnn
 
 I am *slightly* concerned about operating the drive in fixed block mode, 
 given the dire warnings in the manual.

The manual says that nnn being the same number for both settings
means fixed blocksize.

As I understand it, your solutions should be to just set the
Minimum Block Size so you get a good perfromance.

Minimum Block Size = 1048576

won't this fix your performance?

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto download RedHat RPMS?

2007-09-10 Thread Marc Schiffbauer
* Adam Cécile schrieb am 10.09.07 um 17:36 Uhr:
 Hi,
 
 I don't understand at all where I can grab bacula rpms.
 I saw fschwarz announce but can't find any RPM anywhere...
 
 Help would be appreciated.

You should wait until bacula 2.2.3 is realeased which fixes a
serious restore bug. Kern has hidden several downloads due to this
issue.

I guess the release will be today or tomorrow if all goes well.

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Critical Bacula Bug

2007-09-10 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 10.09.07 um 18:49 Uhr:
 On Monday 10 September 2007 16:39, Ryan Novosielski wrote:
  Kern Sibbald wrote:
   On Monday 10 September 2007 04:27, Ryan Novosielski wrote:
   Kern Sibbald wrote:
   At this time, I do not have a patch for 2.0.x versions, and unless
   there is some really compelling reason to create one, I would prefer
   not -- it would not be a huge effort to back port the patch, but it
   would require rather extensive testing.  Though it is hard to make a
   specific recommendation, I believe that it probably will be the wisest
   and simplest to either patch version 2.2.x if that is what you are
   currently running, or upgrade to version 2.2.3 when it is released.
  
   My personal recommendation would be to release a patch to all versions
   back to at 1.38.x if the bug can be verified. I know that not too many
   people are running that version anymore, but if this bug is serious
   enough that the software will not work, I would personally be worried
   that someone will use one of these versions (the latest available of the
   minor release, eg. the latest 1.38.x) and not know that this is a
   problem.
  
   Yes, notifying users is a problem.  If they are not subscribed to either
   the bugs database or the announce list, they are out of luck :-(
  
   I'm considering adding a feature that the user could enable that would
   automatically notify him of critical problems, but that won't help in
   this case.
 
  The website would be another place. I also applaud the decision to
  remove the affected versions for the time being. I guess the final risk
  here now is installing many current distributions will get you an
  affected version.
 
 Yes, unfortunately.  Hopefully the downstream packagers are plugged into the 
 project.

I removed the affected packages from the packman repository as well.

-Marc

-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto download RedHat RPMS?

2007-09-10 Thread Marc Schiffbauer
* Adam Cécile schrieb am 10.09.07 um 18:19 Uhr:
 Marc Schiffbauer a écrit :
  * Adam Cécile schrieb am 10.09.07 um 17:36 Uhr:

  Hi,
 
  I don't understand at all where I can grab bacula rpms.
  I saw fschwarz announce but can't find any RPM anywhere...
 
  Help would be appreciated.
  
 
  You should wait until bacula 2.2.3 is realeased which fixes a
  serious restore bug. Kern has hidden several downloads due to this
  issue.
 
  I guess the release will be today or tomorrow if all goes well.
 
  -Marc

 Thanks.
 
 However, I'm working on the really small setup this time, just one 
 external LTO2 drive.
 So, 2.0.3 would be fine for me.
 
 Any link?

This version is affected as well. On a small setup you will not hit
the bug I guess.. but sorry I have no link as I am personally not
using the redhat packages.

-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify reports always OK

2007-09-05 Thread Marc Schiffbauer
* Thomas Glatthor schrieb am 05.09.07 um 18:42 Uhr:
 is no one using verify jobs with bacula?
 can no one confirm that verify is working as expected in 2.2.0 and it must be 
 my problem instead of a serious bug?

You might open a bug report if noone can verify here.

-Marc

-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum concurrent jobs

2007-08-29 Thread Marc Schiffbauer
* James Harper schrieb am 26.08.07 um 14:56 Uhr:
 I had the following configuration:
 
 
 Director
  Max Concurrent Jobs = 1
 
 Job1
  Client = Client1
  Storage = Storage1
 
 Job2
  Client = Client2
  Storage = Storage2
 
 
 Then it occurred to me that it would be perfectly reasonable to run 2
 jobs at the same time if they were both using completely different
 Client and Storage resources, so I set Max Concurrent Jobs = 2 in the
 Director and issued a 'reload'. But Job1 and Job2 don't seem to run
 concurrently. If I start Job1 and then Job2, Job2 sits at waiting
 execution.

I have the same problem.
One director, but two jobs that use completely different FD and SD
do not run parallel, (Maximum Concurrent Jobs = 10 in
bacula-dir.conf's Director{} stanza)

I tried several things but I would assume that concurrency for those
kind of jobs should *always* run in parallel or at least if the
central Maximum Concurrent Jobs in bacula-dir.conf is 1

Which behavior is expected?


thanks in advance
-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.2.0 packages for Debian

2007-08-24 Thread Marc Schiffbauer
* James Harper schrieb am 24.08.07 um 11:50 Uhr:
 Has anyone packaged 2.2.0 for Debian yet?

I am currently building them again for sarge and etch. 

I think they will be finished next
week as I am on vacation this weekend.

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems building BAT

2007-08-13 Thread Marc Schiffbauer
* Florian Schürfeld schrieb am 13.08.07 um 15:29 Uhr:
 Hi there,
 
 i got some problems while building BAT from source.
 During make i encounter the following errors:
 
 [...]
 Makefile:1340: Warnung: Die Befehle für das Ziel »moc/moc_help.cpp«
 werden überschrieben
 Makefile:1268: Warnung: Alte Befehle für das Ziel »moc/moc_help.cpp«
 werden ignoriert
 /usr/share/qt3/bin/uic run/estimate.ui -o ui/estimate.h
 uic: File generated with too recent version of Qt Designer (4.0 vs.
 3.3.7)
 make[1]: *** [ui/estimate.h] Fehler 1
 make[1]: Leaving directory `/usr/src/bacula-2.2.0/src/qt-console'
 
 I use a Debian Etch i386 and tried both with the Debian qt4/qwt Packages
 and the depkgs-qt-30Jul07.tar.gz from sourceforge.
 


Hi Florian,

it is very likely that your system uses the wrong (== old 3.x)
versions of qmake and friends.

See update-alternatives to make it use the qt4 versions.

-Marc

-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Concurrency not working properly?

2007-08-09 Thread Marc Schiffbauer
Hi all,

my director (2.0.3) does not run two independent jobs
simultaneously.

I have set Maximum Concurrent Jobs = 10 in the Director{}
ressource, but this seems to have no effect.

The strange thing is that I only try to run two different jobs which
write to two different storages at the same time, which should be no
problem at all.

My setup is like that:

+--+  +--+
| Client-1 |  | Client-2 |
+--+  +--+
 |  |
   Job1Job2
 |  |
 v  v
  +--+
  | Director |
  +--+
 |  |
   Job1Job2
 |  |
 v  v
+---+  +-+
| TapeDrive |  | DiskStorage |
+---+  +-+

The two jobs use the same Schedule{}

At 3:05 Job1 starts but Job2 only starts as soon as Job1 has
finished. So if Job1 is waiting for a new Tape all night long, Job2
is still waiting for execution in the morning...

What could be wrong with my setup?

Here is the relevant parts of the bacula-dir.conf file:

Schedule {
  Name = WeeklyCycle
  Run = Level=Full SpoolData=no  1st sun at 03:05
  Run = Level=Differential SpoolData=yes 2nd-5th sun at 03:05
  Run = Level=Incremental  SpoolData=yes mon-sat at 03:05
}

Director {# define myself
  [...]
  Maximum Concurrent Jobs = 10
  [...]
}

JobDefs {
  Name = DefaultBackupJob
  Type = Backup
  Level = Incremental
  # Tape Storage:
  Storage = lisa-sd
  # Client1:
  Client = lisa-fd
  Messages = Standard
  Pool = Default
  Priority = 500
  Spool Attributes = yes
  # SpoolData = yes
  # (will be set on Schedule basis)
  Maximum Concurrent Jobs = 10
}

Job {
  # Job1
  Name = lisa-ImportantData
  JobDefs = DefaultBackupJob
  Schedule = WeeklyCycle
  FileSet = lisa ImportantData FileSet
  Write Bootstrap = /var/lib/bacula/Client_lisa.bsr
}

Job {
  # Job2
  Name = vesta-ImportantData
  JobDefs = DefaultBackupJob
  Schedule = WeeklyCycleNoSpooling
  Type = Backup
  # Client2:
  Client = vesta-fd
  Level = Incremental
  # DiskStorage:
  Storage = vesta-sd
  Messages = Standard
  Pool = VestaFtp
  Priority = 500

  FileSet = vesta ImportantData FileSet
  Write Bootstrap = /var/lib/bacula/Client_vesta.bsr
  Spool Data = no
  Spool Attributes = no

  RunScript {
Runs When = Before
Command = /usr/local/sbin/bacula-run_before_job.sh
  }

  RunScript {
Runs When = After
Command = /usr/local/sbin/bacula-run_after_job.sh
  }
}

Greetings
-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] spooling attributes to the director too slow

2007-05-22 Thread Marc Schiffbauer
* Manuel Wolff schrieb am 22.05.07 um 22:20 Uhr:
 Hi List
 
 One of our servers with about 3.5 millions of files produces a
 spool file for the attributes of about 1GB.
 
 status storage at 20:30
 Attr spooling: 1 active jobs, 523,898,883 bytes; 10 total jobs, 
 1,078,726,662 max bytes.
 At 17:30 it was about 720MB
 
 Somewhere seems to be a bottleneck.
 
 The version of bacula is 2.0.3 The director the storage-daemon and
 the catalog (mysql 5.0.32) are running on the same machine.
 The OS is debian etch on a Xeon 1,8 GHz 1,5 GB RAM 10krpm Disks SCSI.
 
 Perhaps its the mysqld. The actual Parameters are:
 table_cache = 256
 sort_buffer_size = 1M
 read_buffer_size = 1M
 read_rnd_buffer_size = 4M
 key_buffer  = 256M
 max_allowed_packet  = 16M
 thread_stack= 128K
 thread_cache_size   = 8
 table_cache= 8
 thread_concurrency = 3
 query_cache_limit   = 1M
 query_cache_size= 16M
 ---
 
 Any ideas? TIA

Perhaps you should try to use a PostgreSQL database as it is often much
faster than mysql. Especially with many inserts.


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Dead server and restore not going so well

2007-05-18 Thread Marc Schiffbauer
* Paul Waldo schrieb am 18.05.07 um 18:00 Uhr:

[...]

 
 A fun added wrinkle is that the ubuntu dapper bacula packages don't 
 contain bscan :-O

Sure? Is bacula-sd-pgsql or bacula-sd-mysql installed?

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Wilddir

2007-04-26 Thread Marc Schiffbauer
* Xeos Laenor schrieb am 26.04.07 um 10:42 Uhr:
 Hum, I've understood my problem
 I must obligatority define File = / in include :-\
 it's a really problem for me because that forces me to exclude explicitly
 all wrong directories and i don't know what i must exclude before.

I suggest you first read the docs as it seems to me you have not
done so. And if you did, do it again carefully. Everything you have
to know could be found there.


 Does anyone have an another solution?

Why did you not like my solution?


-Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Press Questions about Bacula

2007-04-26 Thread Marc Schiffbauer
* Dan Langille schrieb am 26.04.07 um 14:02 Uhr:
Content-Description: Mail message body
 Folks,
 
 I need help please.  I'm rather busy for the next few weeks and 
 cannot answer these questions. They are from a journalist writing 
 about Bacula.
 
 If you could fill in what you know, and someone else can fill in the 
 rest.  Thank you.

Here are some answers. (In brackets if I am not 100% sure)

 
 
 --- Forwarded message follows ---
 Date sent:Thu, 26 Apr 2007 13:53:57 +0200
 From: Joachim Clemens
 To:   press
 Subject:  Questions about Bacula
 
 Dear Dan Langille,
 
 I am doing a research for the german Linux Technical Review, a sister 
 publication of the Linux-Magazine, about commercial and open-source 
 Backup- and Storage-Solutions. 
 
 In spite of my extensive online research about Bacula 2.0.3, the 
 following open questions remain:
 
 
 - is the NDMP protocol supported?

no.

 
 - are LAN-free and/or Serverless backups possible?

(yes AFAICT, if all 3 deamons run on the same machine)

 
 - does Bacula support centralized management and is it possible to 
 use storge devices attached to another server than the one with 
 Bacula installed?

Yes and yes. You can run the Storage Daemon on a foreign machine
which will then accept data over the wire to store it on the backup
media.


 
 - can the bandwidth be limited, that is used by the backup process?

(no)

 
 - is it possible to use the built-in snapshot functionality of hard 
 or software for automated backups?

AFAIK: bacula has no built-in snapshot functionality but you can
combine it with system snapshot capabilities (VSS onw indows, LVM
snapshots on unix systems)

 
 - does your software supports the creation of user groups with 
 specific privileges?

(maybe with console ACLs)

 
 - are multiple data streams to the backup medium supported 
 (multiflow, multiplexing)?

yes

 
 - are Virtual Tape Libraries supported?

yes

 
 - is there a disaster recovery function for the Bacula server for 
 other operation systems than Linux available?

(its based on linux, but you can restore any system (AFAIKT))

 
 - are there modules to back up specific applications like databases 
 without shutting them down?
 
 - is it possible to clone backup media?
 
 - is disk-to-disk-to-tape supported?
 
 
 I would appriciate if you could help me answering the open questions 
 to describe your product as detailed as possible.
 
 Thank you in advance for your help.
 
 Yours faithfully,
 Joachim Clemens
 
 
 --- End of forwarded message ---


hth
-marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Wilddir

2007-04-25 Thread Marc Schiffbauer
* Xeos Laenor schrieb am 25.04.07 um 23:46 Uhr:
 I have some problem to make Wilddir work
 i don't really understand the part of doc about it
 Does anyone can give me an example of FileSet for that :
 I want to save all directories that start with /script*

Hi Xeos,

what in the docs you did not understand?

I guess you want sowmething like that:
(And there is an example for something like that in the docs...)

Untested:

FileSet {
  Include {
Options {
  WildDir = /script*
}
Options {
  Exclude = yes
  WildFile = *
}
File = /
  }
}


-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2007-04-23 Thread Marc Schiffbauer
* Arno Lehmann schrieb am 23.04.07 um 00:59 Uhr:
 Hi,
 
 On 4/23/2007 12:06 AM, Marc Schiffbauer wrote:
  * Christopher Rasch-Olsen Raa schrieb am 22.04.07 um 23:25 Uhr:
  On Sunday 22 April 2007 19:17:52 Marc Schiffbauer wrote:
  Hi all,
 
  one of my SD's stores backups to a disk.
  This disk is an FTP Storage mounted via fuse (curlftpfs).
 
  Making bacula mount the disk when opening the device works fine.
  (using Requires Mount / Mount Command)
  Doing backups and restores works fine too.
 
  But: Is there any way to make bacula unmount it again after
  finishing the backup?
 

[...]

 
  I thought Unmount Command would do the trick, but this seems to be
  a NOOP option because it is *never* used for disk backups AFAICT.
 
 Yes, as far as I know.
 

[...]

 
 Try to add 'echo umount sd=...|bconsole -c ...' to your script before 
 you execute the umount command.

I did not try it so far, but my guess it that it will not work
because if the job has finished I am able to unmount the disk
manually. I think this is due to AlwaysOpen = no being set.

 
 By the way: I wouldn't call this a bad hack, but rather a valid and 
 reliable work-around for something not implemented in Bacula.

OK, I will try it to be sure...


 
 Of course, having the unmount capability in the SD by using the umount 
 command when the device type is file and automaticmount is set would be 
 preferrable...

Yes, and I have been a bit confused because I found that in the
docs:

http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html

Unmount Command = name-string
This directive specifies the command that must be executed to
unmount devices such as DVDs and many USB devices. [...]

That 'many USB devices' made me think that this should work...

Do you think this would be worth a bug report?

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-Packages for Debian and Ubuntu available at packman

2007-04-23 Thread Marc Schiffbauer
Hi all,

I have built a couple of bacula deb-packages based on the debian SID
packages.

Thanks to John Goerzen for that great work!

My packages are backports of these packages and are available
through our PackMan repository which has mirrors all over world.

I want to keep building these packages as new Bacula releases are
being made.

Right now Bacula 2.0.3 is available for these 
Distributions / Architectures:

Debian: 
  3.1 (sarge) - i386 
  4.0 (etch)  - i386, amd64

Ubuntu:
  6.10 (edgy)   - i386, amd64
  7.04 (feisty) - i386, amd64


Instructions to use the repo can be found here:
http://wiki.links2linux.de/en/index.php/PackMan_repo_instructions_for_Debian/Ubuntu_%28en%29


Feedback very welcome!

I hope you find those packages useful.

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2007-04-23 Thread Marc Schiffbauer
* Arno Lehmann schrieb am 23.04.07 um 14:34 Uhr:
 Hi,

Hi Arno,

 
 On 4/23/2007 1:34 PM, Marc Schiffbauer wrote:
  * Arno Lehmann schrieb am 23.04.07 um 00:59 Uhr:
 [...]
  
  Try to add 'echo umount sd=...|bconsole -c ...' to your script before 
  you execute the umount command.
  
  I did not try it so far, but my guess it that it will not work
  because if the job has finished I am able to unmount the disk
  manually. I think this is due to AlwaysOpen = no being set.
 
 Yes, but the umount from bconsole should or might release the device... 
 if umount doesn't wor, the release command might be worth a try, too.

I tried to unmount/release it with a RunScript after the job through
the director. It seems On the client = yes always runs before 
On the client = no and I have not configured a console on the
SD-Server (DIR is on a different machine)

But I guess this will be at all of no success, because when I tried
the following:

- run backup: OK.

- in bconsole: unmount sd:
3901 Device FtpFileStorage (/mnt/backup) is already unmounted.

- in bconsole: release sd:
3921 Device FtpFileStorage (/mnt/backup) already released.

... disk is still mountet on the SD's machine

- as root: umount /mnt/backup - OK.

- run backup again: ERROR!
-
23-Apr 22:24 vesta-sd: vesta-ImportantData.2007-04-23_22.24.49
Error: Could not open device FtpFileStorage (/mnt/backup):
ERR=dev.c:483 Could not open: /mnt/backup/BaculaVolume-0003, ERR=No
such file or directory

23-Apr 22:24 vesta-sd: vesta-ImportantData.2007-04-23_22.24.49 Fatal
error: Could not ready device FtpFileStorage (/mnt/backup) for
append.
23-Apr 22:24 vesta-fd: vesta-ImportantData.2007-04-23_22.24.49 Fatal
error: job.c:1758 Bad response to Append Data command. Wanted 3000
OK data
, got 3903 Error append data

23-Apr 22:24 lisa-dir: vesta-ImportantData.2007-04-23_22.24.49
Error: Bacula 2.0.3 (06Mar07): 23-Apr-2007 22:24:58
-

So on a second run, although the SD has been released and
unounted the SD does not try to mount the disk again until it is
restarted.

 
  
  Do you think this would be worth a bug report?
 
 Yes. Kern says so :-)
 
 If you report this as a bug at bugs.bacula.org, be sure to have the 
 necessary information added - especialy the configuration and the debug 
 output will be useful.
 
 I'm sure you would have added that, but everyone forgets things now and 
 then :-)

ok, will do.

-Marc

-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2007-04-23 Thread Marc Schiffbauer
* Ryan Novosielski schrieb am 23.04.07 um 22:58 Uhr:

Hi Ryan,

thanks for your answer.

[...]

  
  So on a second run, although the SD has been released and
  unounted the SD does not try to mount the disk again until it is
  restarted.
 
 I think you're confusing mount in the operating system with mount inside
 Bacula; one has very little effect on the other. IMO, you need to do the
 process in reverse when starting a backup up again.

I know that bacula uses mount an unmount terminology internally
and that his is something different than mounting a filesystem.

Nevertheless bacula supports storage on filesystems and so, might
use the words mount and unmount for what it means in the system
environment as well.

And when I read the docs it seems to confirm my assumption:


Requires Mount = Yes|No
When this directive is enabled, the Storage daemon will submit a
Mount Command before attempting to open the device. You must set
this directive to yes for DVD-writers and removable file systems
such as USB devices that are not automatically mounted by the
operating system when plugged in or opened by Bacula. [...]

Mount Point = directory
...

Mount Command = name-string
This directive specifies the command that must be executed to
mount devices such as DVDs and many USB devices. [...]

Unmount Command = name-string
This directive specifies the command that must be executed to
unmount devices such as DVDs and many USB devices.

And the examples use /bin/mount and so on so this *might* really
have to do something with what I want to do, right? ;-)


 
 You might want to see the Removable Disk HOWTO. I don't know where it
 lives at present, but it's been linked from the list.

That is really interesting, but not what I need in my case here.

Regards
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Howto make bacula unmount a disk after backup?

2007-04-22 Thread Marc Schiffbauer
Hi all,

one of my SD's stores backups to a disk.
This disk is an FTP Storage mounted via fuse (curlftpfs).

Making bacula mount the disk when opening the device works fine.
(using Requires Mount / Mount Command)
Doing backups and restores works fine too.

But: Is there any way to make bacula unmount it again after
finishing the backup?

I thought Unmount Command would do the trick, but this seems to be
a NOOP option because it is *never* used for disk backups AFAICT.

Also AutomaticMount seems to have no effect at all. Does anybody know
what this option is good for? It appears in examples, but is
otherwise not documented anywhere.

I ran the SD with -f -d300 and could not find the SD trying to use the
unmount command, neither after backup nor with a manual unmount
from within bconsole.

Any hints someone?

this is my SD's device resource:

Device {
  Name = FtpFileStorage
  Device Type = File
  Media Type = File
  Requires Mount = Yes
  Mount Point = /mnt/backup
  Mount Command = /usr/bin/curlftpfs user:password@host %m
  Unmount Command = /usr/bin/fusermount -u %m
  Archive Device = /mnt/backup
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = no   # I also tried yes here...
  RemovableMedia = no   # I also tried yes here...
  AlwaysOpen = no
}

-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2007-04-22 Thread Marc Schiffbauer
* Christopher Rasch-Olsen Raa schrieb am 22.04.07 um 23:25 Uhr:
 On Sunday 22 April 2007 19:17:52 Marc Schiffbauer wrote:
  Hi all,
 
  one of my SD's stores backups to a disk.
  This disk is an FTP Storage mounted via fuse (curlftpfs).
 
  Making bacula mount the disk when opening the device works fine.
  (using Requires Mount / Mount Command)
  Doing backups and restores works fine too.
 
  But: Is there any way to make bacula unmount it again after
  finishing the backup?
 
  I thought Unmount Command would do the trick, but this seems to be
  a NOOP option because it is *never* used for disk backups AFAICT.
 
  Also AutomaticMount seems to have no effect at all. Does anybody know
  what this option is good for? It appears in examples, but is
  otherwise not documented anywhere.
 
  I ran the SD with -f -d300 and could not find the SD trying to use the
  unmount command, neither after backup nor with a manual unmount
  from within bconsole.
 
  Any hints someone?
 
  this is my SD's device resource:
 
  Device {
Name = FtpFileStorage
Device Type = File
Media Type = File
Requires Mount = Yes
Mount Point = /mnt/backup
Mount Command = /usr/bin/curlftpfs user:password@host %m
Unmount Command = /usr/bin/fusermount -u %m
Archive Device = /mnt/backup
LabelMedia = yes
Random Access = Yes
AutomaticMount = no   # I also tried yes here...
RemovableMedia = no   # I also tried yes here...
AlwaysOpen = no
  }
 
 How about runAfter? Just have a script do it.

Hi Christopher,

thanks for your answer.

Although I'd consider something like that a bad hack I already
tried this with a Script configured like that:

RunScript {
  Runs When = After
  Command = /usr/local/sbin/bacula-run_after_job.sh
}

but without luck: The unmount command failed with Resource busy.

I wonder if there is a bug in bacula or if this is just not
implemented yet.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] relabel command not working with Offline On Unmount = Yes set

2007-04-15 Thread Marc Schiffbauer
Hi all,

I am trying a second approach to understand how relabeling a tape
using the relable command from the console is supposed to work.

 * I have a single tape drive setup, no autochanger.
 * I am using bacula 2.0.3
 * labeling tapes works fine
 * backups work fine
 * restores work fine

But I do not manage it to relable a tape using the relabel command.
At this point I still believe it might be a bacula bug.

Maybe I am using an untested combination of settings in the Device
configuration of the SD?

It would be great if someone yould tell me what I am doing wrong
here:

My SD's Device Resource:

Device {
  Name = DLT8000
  Media Type = DLT-IV
  Archive Device = /dev/nst0
  AutomaticMount = yes
  AlwaysOpen = yes
  RemovableMedia = yes
  RandomAccess = no
  Offline On Unmount = Yes
  Spool Directory = /home/bacula-spool
  Maximum Spool Size = 10 g
  Maximum Job Spool Size = 2 g
}


Now I am in the console. I just inserted a known Tape into the tape
drive called Tape_20. I purged this tape using the purge command.


*status sd
[...]
Device status:
Device DLT8000 (/dev/nst0) is not open.
[...]
*


The tape drive needs some time to load the tape... I wait for it to
finish this.

 * tape is inserted
 * that volume is pruned
 * tape is *not* mounted

Now I should be able to use the relabel command, right?

I would expect that I send the relabled command, bacula woul read
the current label, then rewind, that write the new label.

Now what happens is that:


*relabel oldvolume=Tape_20 volume=Tape_Test
Automatically selected Storage: lisa-sd
Automatically selected Pool: Default
Connecting to Storage daemon lisa-sd at lisa:9103 ...
Sending relabel command from Tape_20 to Tape_Test ...

-- here the tape begins to do something. 
The tape is being ejected!!

Then, after the drive has finished ejecting the tape:

3912 Failed to label Volume: ERR=dev.c:425 Unable to open device
DLT8000 (/dev/nst0): ERR=Input/output error

Label command failed for Volume Tape_Test.
Do not forget to mount the drive!!!
* 


So why does bacula eject the tape here? Can somebody explain to why
this should not be a bug?

Could it be that bacula does an unmount here although the tape is
not mounted and this unmount command does the mt offline because
of the Offline On Unmount = Yes setting?

Ok I will set Offline On Unmount = No and try again to test this:

(restarting SD, inserting tape, waiting for tape to finish)


*relabel oldvolume=Tape_20 volume=Tape_Test
Automatically selected Storage: lisa-sd
Automatically selected Pool: Default
Connecting to Storage daemon lisa-sd at lisa:9103 ...
Sending relabel command from Tape_20 to Tape_Test ...
3000 OK label. VolBytes=64701 DVD=0 Volume=Tape_Test Device=DLT8000 
(/dev/nst0)
Catalog record for Volume Tape_Test, Slot 0  successfully created.
Old volume Tape_20 deleted from catalog.
Requesting to mount DLT8000 ...
3001 Mounted Volume: Tape_Test
3001 Device DLT8000 (/dev/nst0) is already mounted with Volume Tape_Test
* 


Voila!

But: I still would consider this a bug: It should be possible to
use the relabel command with a single tapedrive and the setting
Offline On Unmount = Yes, not?

Because I want bacula to eject the tape if it is requesting another
one...

Any comments? Or hints?

TIA
-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] forcing spooldata=yes with run command?

2007-04-12 Thread Marc Schiffbauer
Hi!

Does anybody know if there is a way to set spooldata=yes for
interactive backups run from bconsole?

TIA
-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] forcing spooldata=yes with run command?

2007-04-12 Thread Marc Schiffbauer
* Michael Proto schrieb am 12.04.07 um 17:33 Uhr:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 What about setting Spool Data = yes in your job definitions, then when
 you list your scheduled backups just set Spool Data to no, like this:
 
 Schedule {
   Name WeeklyCycle
   Run = Level=Incremental Pool=Default SpoolData=no mon-sun at 1:05
   ...
 }

Michael,

thanks for your answer. That would be a good options if I always
wanted to enable data spooling for interactive backups.

What I was looking for is a way to enable or disable spooling based
on current LAN-speed, current expected data that would be backed up
etc.

I was just wondering if there was a way to specify
spooldata=yes|no like one could do in Schedule resource.
For the level this is already possible.

But I guess this is not important enough for a feature request or
somthing.

Again, thanks for aour answer!

Cheers
-Marc

-
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] forcing spooldata=yes with run command?

2007-04-12 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 12.04.07 um 18:22 Uhr:
 
 Well, perhaps it is not terribly high priority, but it seems to me that it 
 would be worth a Feature Request as it is something that Bacula should 
 permit.
 

OK, i will write one then.

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bogus/confusing warning? : Filesystem change prohibited. Will not descend into ...

2007-04-12 Thread Marc Schiffbauer
Hi all,

I have a backup which finished with the following warning:

---
bart-fd: Filesystem change prohibited. Will not descend into /home/mschiff
---

Filesystem change prohibited is correct as I use default values
here. But Will not descend into /home/mschiff is wrong because
both /home and /home/mschiff are in the fileset which are two
different filesystems. And a list files jobid=xy really shows me
files on /home/mschiff.

This is the FileSet:

-
FileSet {
  Name = bart ImportantData FileSet
  Include {
Options {
  signature = MD5
  noatime = yes
  aclsupport = yes
}
Options {
  exclude = yes
  regex = .*/[Cc]ache/.*
}
File = \\/etc/bacula/backup-include.txt
  }

  Exclude {
# exclude all dirs containing a file called .BACULA_NO_BACKUP
File = \\|sh -c 'for D in /home; do find $D -xdev -name .BACULA_NO_BACKUP 
-type f -printf \%h\\n\; done | tee /root/bacula_excluded_dirs.log'
  }
}
-

The clients /etc/bacula/backup-include.txt:
--
/etc
/opt
/root
/usr/local
/home
/home/mschiff
--
(with /, /home and /home/mschiff being different filesystems)


Any hints how I can get rid of the warning?


TIA
-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature request: make changing spooldata=yes|no possible for manual/interactive jobs

2007-04-12 Thread Marc Schiffbauer
Item n: make changing spooldata=yes|no possible for
manual/interactive jobs

Origin: Marc Schiffbauer [EMAIL PROTECTED]

Date:   12 April 2007)

Status: NEW

What:   Make it possible to modify the spooldata option
for a job when being run from within the console.
Currently it is possible to modify the backup level
and the spooldata setting in a Schedule resource.
It is also possible to modify the backup level when using
the run command in the console. 
But it is currently not possible to to the same 
with spooldata=yes|no like:

run job=MyJob level=incremental spooldata=yes

Why:In some situations it would be handy to be able to switch
spooldata on or off for interactive/manual jobs based on
which data the admin expects or how fast the LAN/WAN
connection currently is.

Notes:  ./.


-
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental is really a full on FC6

2007-03-31 Thread Marc Schiffbauer
* Ridley schrieb am 30.03.07 um 22:52 Uhr:
 What you've said makes sense to me too, but when I check the logs, it
 shows that the files that were saved were compressed. Here's the full
 log for the incremental:

[...]

   JobId:  4
   Job:gandalf.2007-03-29_23.05.00
   Backup Level:   Incremental, since=2007-03-29 14:05:18
   Client: gandalf 2.0.3 (06Mar07)
 i686-redhat-linux-gnu,redhat,(Zod)
   FileSet:Home Set 2007-03-29 11:54:17
   Pool:   Default (From Job resource)
   Storage:File (From Job resource)
   Scheduled time: 29-Mar-2007 23:05:00
   Start time: 29-Mar-2007 23:05:03
   End time:   30-Mar-2007 00:14:40
   Elapsed time:   1 hour 9 mins 37 secs
   Priority:   10
   FD Files Written:   38,621
   SD Files Written:   38,621
   FD Bytes Written:   31,923,730,782 (31.92 GB)
   SD Bytes Written:   31,930,104,420 (31.93 GB)
   Rate:   7642.7 KB/s
   Software Compression:   7.8 %
   VSS:no
   Encryption: no
   Volume name(s): Vol-0002|Vol-0003|Vol-0004
   Volume Session Id:  4
   Volume Session Time:1175188894
   Last Volume Bytes:  1,040,824,645 (1.040 GB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Backup OK


Indeed. 

As it should be (or is?) possible to apply things like
compression only to files selected by a wild =  or regx= option this is
a bit strange. 

Kern can you clarify this? Are the following FileSets not correct?

Maybe this is only possible by creating more Include{} resources.
I dont know... maybe like this:


# 1. compress only *.txt and *.TXT files:
FileSet {
  Name = OnlyCompressTxtFiles
  Include {
Options {
  compression = yes
  regex = ^.*\.(txt|TXT)$
}
File = /home
  }
}

# 2. compress all but gzip'ed files
FileSet {
  Name = CompressAllButGzipFiles
  Include {
Options {
  compression = no
  regex = ^.*\.(gz|tgz)$
}
Options {
  compression = yes
}
File = /home
  }
}

 
 30-Mar 00:14 backup-dir: Begin pruning Jobs.
 30-Mar 00:14 backup-dir: No Jobs found to prune.
 30-Mar 00:14 backup-dir: Begin pruning Files.
 30-Mar 00:14 backup-dir: No Files found to prune.
 30-Mar 00:14 backup-dir: End auto prune.
 
 But the real problem is why the system is requiring a full backup even
 though it says it's an incremental. As far as I can tell, every single
 file was backed up on the incremental which tells me that something in
 FC6 is modifying something that Bacula looks at. I should note that when
 I was setting the configuration files up, I simply backed up /etc and
 the full and incremental backups worked as expected.

Bacula makes a full backup after you modified a FileSet, may this be
the cause?

Or may it be that all your files have a modification time in the future?

 
 In this situation, I manually ran the job after modifying the bacula-dir
 file to make sure it would work. I then let the system do an automatic
 backup last night and was suprized that over 30GB of data were backed
 up. I'm gonna run out of disk space in a hurry at this rate :-)

Yes. have a deeper look at the files. And use

estimate job=jobname level=Incremental listing

in bconsole to test what would be done.


-Marc

-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
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


Re: [Bacula-users] Incremental is really a full on FC6

2007-03-30 Thread Marc Schiffbauer
* Ridley schrieb am 30.03.07 um 13:31 Uhr:
 I have Bacula backing up only /home on a Linux workstation running FC6.
 This is the Fileset:
 
 FileSet {
   Name = Home Set
   Include {
 Options {
   signature = MD5
   compression = GZIP
   Exclude = yes
   WildFile = /home/*/.mozilla/firefox/*/Cache/*
   WildFile = /home/*/.mozilla/default/*/Cache/*
   WildFile = /home/*/.mozilla/eclipse/Cache/*
   WildFile = /home/*/.gnome2/epiphany/mozilla/epiphany/Cache/*
   WildDir = /home/*/.beagle/TextCache
   WildDir = /home/*/.evolution/cache
   WildDir = /home/*/.java/deployment/cache
 }
 File = /home
   }
 #  Exclude {
 #  }
 }

Not really about your Problem:

If I understand the docs correctly, your Options signature,
and compression do *not* apply to your files, but instead to your
excluded files only, which makes no sense.

I think yout have to add seperate 

Options {
  signature = MD5
  compression = GZIP
}

before the current one.

Kern ist this right what I say?


About your Problem: Are you really sure that attributes of the files
or something like that have changed for example?

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
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


Re: [Bacula-users] [Bacula-devel] bat terminology

2007-03-28 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 28.03.07 um 11:36 Uhr:
 Hello,
 
 Dirk and I are reviewing some bat terminology to try to maintain a bit of 
 consistency, and we are faced with the issue of how to refer to windows that 
 can be detached from the main bat window and float or exist in an 
 independent window.  We need two terms: one for pulling the window out of bat 
 and creating a separate window, and the second is taking the separate window 
 and putting it back into bat.
 
 The terminology that Qt uses is docked windows, but we have a number of ideas 
 for naming this action:
 
 undock dock
 detach attach
 float  attach 
 float dock
 inflate deflate
 engage disengage
 pullout pushin
 callout  callin
 externalize internalize
 expound impound
 
 I personally lean toward float and dock, but detach and attach are not bad.
 However, we would be interested to hear your ideas.

I would adopt the Qt terminology as it will most propably be
compatible with other GUI programs as well. So: undock/dock = +1

-Marc
-- 
BUGS My programs  never  have  bugs.  They  just  develop  random
 features.  If you discover such a feature and you want it to
 be removed: please send an email

-
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


Re: [Bacula-users] Error relabeling a tape

2007-03-28 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 28.03.07 um 12:11 Uhr:
  
  So I can consider the relable feature of bacula broken?
 
 This doesn't look at all like a bug, so don't bother to report it at least 
 not 
 with the current information as I will simply close the bug immediately.

Sorry, I already submitted a bug report.

 
 As far as I can tell, you either have a configuration problem or some 
 hardware 
 problem -- possibly a timing problem with your mtx-changer script.  

I am using that Tapedrive with other backup programs for a very long
time now and I have done backups using bacula 2.0.3.. everything
without a single problem.

So this can hardly be any hardware problem.

Where could this be a configuration problem? Bacula can talk to the
tapedrive very well... except RElabeling a tape. Normal labeling
works fine.

 
 If Bacula cannot open the drive and gets an I/O error as is being reported, 
 99.9% the problem lies in the mtx-changer script, configuration, or 
 permissions.

There are no permisson problems.
IFAICT there are no configuration problems.
I did not change anything to the mtx-changer script.


 These must be resolved and shown to work properly prior to 
 submitting a bug report.

Please leave the bugreport open until we clarified this.

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
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] SpoolData = yes only for effektive Full backup?

2007-03-28 Thread Marc Schiffbauer
Hi bacula users,

is there a way to use Data Spooling dependent on the selected
backup level?

I want bacula to only use Data Spooling if it is running no
Full Backup.

I guess I could create two different jobs.. but that would not help
if bacula upgraded an Inc Backup to Full...

any hints?

thsnks
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
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


Re: [Bacula-users] SpoolData = yes only for effektive Inc/Diff backup?

2007-03-28 Thread Marc Schiffbauer
* Marc Schiffbauer schrieb am 28.03.07 um 13:39 Uhr:
 Hi bacula users,

sorry, wrong subject: Only for effective Inc/Diff Backup!


-
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] make bacula-dir not exit on reload when there are config errors?

2007-03-28 Thread Marc Schiffbauer
Hi all,

is it possible to make the bacula-dir not exit when it detects a
configuration error on reload in bconsole?

I would like that because there could always be the case where I
have to extend a fileset or whatever and that something is
misspelled or I forgot a brace...

now it is very dangerous to enter reload while any jobs are
running because they will get killed if I made a mistake...

any thoughts?

-marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
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] FileSet: better solution to exclude dirs containing a special file?

2007-03-27 Thread Marc Schiffbauer
Hi all,

In a FileSet I want bacula to exclude all directories containing
file named .bacula_no_backup.

I managed this by defining this fileset:


FileSet {
  Name = lisa FileSet
  Include {
Options {
  signature = MD5
  noatime = yes
  aclsupport = yes
}
File = /srv
File = /home
  }
  Exclude {
File = \\|sh -c 'for D in /srv /home; do find $D -xdev -name 
.bacula_no_backup -type f -printf \%h\\n\; done | tee 
/root/bacula_excluded_dirs'
  }
}

Now I wonder: Is there a smarter solutions to achieve the same?

Anything that would avoid the use of an external program? Perhaps
some regex magic?

-Marc

-
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] Error relabeling a tape

2007-03-27 Thread Marc Schiffbauer
Hi *,

I cannot relabel a Tape in my DLT-Drive...

I wanted to relabel it from TestTape to Tape_21

Any hints someone what be wrong?


*mount
Automatically selected Storage: lisa-sd
3001 Mounted Volume: TestTape
3001 Device DLT8000 (/dev/nst0) is already mounted with Volume
TestTape
*relabel
Automatically selected Storage: lisa-sd
Automatically selected Pool: Default
+-++---+-+---+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes  |
volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten |
+-++---+-+---+--+--+-+--+---+---+-+
|   2 | TestTape   | Purged|   1 | 2,037,676,032 |
4 |   31,536,000 |   1 |0 | 1 | DLT-IV|
2007-03-27 02:57:00 |
+-++---+-+---+--+--+-+--+---+---+-+
Enter MediaId or Volume name: 2
Enter new Volume name: Tape_21
Automatically selected Pool: Default
Connecting to Storage daemon lisa-sd at lisa:9103 ...
Sending relabel command from TestTape to Tape_21 ...
3912 Failed to label Volume: ERR=dev.c:425 Unable to open device
DLT8000 (/dev/nst0): ERR=Input/output error

Label command failed for Volume Tape_21.
Do not forget to mount the drive!!!
*unmount
Automatically selected Storage: lisa-sd
3901 Device DLT8000 (/dev/nst0) is already unmounted.
* 


-
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


Re: [Bacula-users] disk volume issues: seek - too large volumes - truncate - fragmentation

2007-03-20 Thread Marc Schiffbauer
* HM schrieb am 20.03.07 um 13:02 Uhr:
 Hello, folks!
 
 Sorry for this ugly $subject.
 
 I've been playing with bacula and noticed a strange behaviour. I have
 configured a Pool with disk volumes of size 100MB each. On one run I
 wrote three tapes. Then I've deleted the catalog and recreated it with
 the scripts shipped with bacula. On the next run bacula took the first
 tape, seeked to the end and started to write another 100MB appended to
 the volume resulting in volume of size 200MB.  I think this is not a
 user-expectable behaviour of Maximum Volume Bytes, i.e. I think this
 is a bug, no?

This sounds like a bug, indeed. But I cannot tell for sure. As I am
not using disk volumens right now.

 
 I use Maximum Volume Bytes in order to fill up my partitions as much as
 possible. I've learned the folowing rule of thumb: If the partition is
 under heavy load you should take care that it doesn't fill up more than
 70% (one opinion, there are others like 80%). However I'd like to use
 approx 100% and then I have a fragmentation, i.e. performance, issue.
 Don't you think it would be clever that bacula didn't truncate each
 recycled volume file and start with size 0, but instead leave the file
 allocated on disk as it is and just start over-writing from the
 beginning, just as bacula would do on tape volumes?
 
 That way the disk volumes would be allocated statically on disk and one
 could try to defragment it more or less appropiately once and afterwards
 there would be not fragmentation added by bacula, since it doesn't need
 to allocate disk blocks again and again?

Good point!

Maybe an option like Preallocate Disk Volumes = yes would be a
good idea for that?

-Marc
-- 

*   (morganj): 0 is false and 1 is true, correct?  *
*   (alec_eso): 1, morganj *
*   (morganj): bastard.*

-
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


Re: [Bacula-users] disk volume issues: seek - too large volumes - truncate - fragmentation

2007-03-20 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 20.03.07 um 13:49 Uhr:
 
  
  That way the disk volumes would be allocated statically on disk and one
  could try to defragment it more or less appropiately once and afterwards
  there would be not fragmentation added by bacula, since it doesn't need
  to allocate disk blocks again and again?
 
 Bacula doesn't fragment anything.  If there is any fragmentation it is 
 because 
 you have a strange OS that is not state of the art, or you have other tasks 
 that are writing to the same disk.

Kern, I did not understand this as blaming bacula for it.

Filesystems do fragment if they are getting full. And there is no
real way around this.

XFS tries to avoid fragmentation of files by something that is
called Delayed allocation but XFS nevertheless ships a
defragmentation tool with its fs-utils. (I do not know such a tool
for ext2/3 btw)

I think what the original poster tried to say is:

Bacula could help in filesystems not getting too fragmented over
time by not freeing its space used, but instead just overwrite it.

This would definitly make much sense in some (if not all)
environments as it would keep filesystem performnace at a high
level.

And to be honest: This has nothing to do with a strange OS that is
not state of the art or you would call todays linux to be such an
OS.

Please think about it a second time...

Cheers
-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de: /  o\   RPMs for SuSE   |
| -- PackMan! -- naeheres unter|   __|   and  others|
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-
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


Re: [Bacula-users] Omitting directories from backup

2007-03-13 Thread Marc Schiffbauer
* Jeff T schrieb am 13.03.07 um 15:35 Uhr:
 Hi, guys.
 
 I'm doing a fairly standard backup of home directories on a linux
 system. My users store their email in Maildirs (one directory per
 folder) and each has a Spam folder which holds the spam delivered by the
 mail server. I'm using a lot of backup space backing up spam, and I'd
 like to avoid that.
 
 As an example, the directory structure looks like:
 
 /home
 /home/bob
 /home/bob/Maildir
 /home/bob/Maildir/Spam
 /home/bob/Maildir/Spam/cur (this is where the files really are)
 /home/jeff
 /home/jeff/Maildir/Spam
 /home/jeff/Maildir/Spam/cur (ditto)
 
 What I am doing now is backing up /home which backs up everything, of
 course. I'd like to backup /home but omit /home/*/Maildir/Spam and all
 folders under, so skip:
 
 /home/*/Maildir/Spam and
 /home/*/Maildir/Spam/*
 
 Is this possible in bacula? I saw some stuff for omitting directories or
 files, but it wasn't clear if I could set it up like this.

Jeff,

have a look at the exclude =  option.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
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


Re: [Bacula-users] FOSDEM interview error

2007-02-06 Thread Marc Schiffbauer
* Kel Raywood schrieb am 07.02.07 um 00:52 Uhr:
 I just read the Kern's FOSDEM interview at
 http://fosdem.org/2007/interview/kern+sibbald
 
 Question 6: What kind of enterprise features does Bacula _lack_ 
 today, compared to commercial offerings?
 
 Kern's answer is obviously (to bacula users) a partial-list of features 
 that Bacula _has_.
 
 Kern - I wonder if you could get the page corrected.

Hi Kel,

thanks for the report. As I am in contact with one of the FOSDEM
guys (Pascal Bleser) I told him about it and he fixed the question
;)

So it is all fine now.

Cheers
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] duplicate emails?

2007-01-23 Thread Marc Schiffbauer
* James Harper schrieb am 23.01.07 um 03:17 Uhr:
 Is it just me, or did the list just duplicate about 20 emails from a few
 days ago?

I saw this here too. I think these were moderated mails that were
now accepted. I guess that theses were all mails that have been sent
to users and devel, and one of those was moderated...

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

-
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


Re: [Bacula-users] GUI interface

2007-01-22 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 16.01.07 um 17:10 Uhr:
 Hello,

Hi Kern,

 
 Quite awhile ago, I wrote the email that is copied at the end of this email. 
 Since then, my plans have not changed a lot, but have evolved a bit.
 I am now ready to begin the GUI project.  
 
 One of the first and most difficult problems is what should it be called?
 bconsole is already used,  some of the ideas I have come up with are:
 
  bcon
  beacon
  badmin
  ...

 * qbacula ?

... badmin is quiet goot imo



 As I am essentially still zero in using designer, if there is anyone out 
 there 
 that can do a quick programming task, please let me (and the list know).  

only one thing I remember from the times I used Qt3-Designer a bit was:

Don't forget to use the Layout, which needs spacers to make the
widgets stay where they should be, so that they behave nice when the  
window is being resized...

good luck
-marc
-- 
---
Take back the Net! http://www.anti-dmca.org
---

-
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


Re: [Bacula-users] [Bacula-devel] generic 'bare metal' restore CD

2006-12-27 Thread Marc Schiffbauer
* Kern Sibbald schrieb am 26.12.06 um 15:03 Uhr:

Hi Kern,

[ progress on rescue cd ]


 
 If anyone has some better ideas, I would appreciate it to hear them ...

Do you know mondo? It is a disaster recovery system that supports
many distros and optionally can use the distros kernel to build the
boot media.

Maybe it would be a good idea to provide a bacula-rescue.tgz that can
be put into a mondo DR-cdrom?

http://www.mondorescue.org/

Merry Christmas and good Luck for 2007! Keep up the good work..

-Marc
-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end

-
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


Re: [Bacula-users] Encryption?

2006-04-20 Thread Marc Schiffbauer
* Michel Meyers schrieb am 15.04.06 um 19:44 Uhr:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Francisco Reyes wrote:
 Reading Bacula's current state I see under heading:
 
 Current Implementation Restrictions
 + Data encryption of the Volume contents.
 
 What does that mean? Encryption of volumens are not supported yet?
 
 Correct: There's encryption of the communication between the File Daemon
 and the Storage Daemon but no encryption of the data as it is written to
 tape/HDD/CD/DVD. That's still on the todo list.

IIRC this is in cvs somewhere already, not?

-Marc
-- 
�M3rlin- what is the legal age to buy alcoholic in england ? �
�  p5Ds13a06 you cant buy alcoholics �
�  p5Ds13a06 but if you wink the right way,  �
�  some of them will follow you home for free  �


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users