[Bacula-users] portable flag
Anyway to resurrect my data that was not stored portable - it's looking highly unlikely that win xp is going to behave and decompress my data :( so i'm wondering if it is possible to ignore the non-portable parts? Failing that - would sticking a different zlib dll in the fd's directory do the trick? -- Tom Newton SmoothWall Limited 1 John Charles Way Leeds LS12 6QA United Kingdom www.smoothwall.net Phone: +44-(0)870 1 999 500 DDI: +44-(0)113 38 74 166 Fax: +44-(0)870 1 991 399 This email and any attachments transmitted with it are confidential to the intended recipient(s) and may not be communicated to any other person or published by any means without the express permission of SmoothWall Limited. Any views expressed in this message are solely those of the author. See: http://www.smoothwall.net/emailnotice.html for the full text of this notice. - 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] bacula on aix 5.2
Hi all! I'm trying to compile last bacula release on aix 5.2 to obtain the client (fd) -First I've downloaded source from cvs -than I've done make clean ./configure -prefix=/opt/bacula --enable-client-only --with-openssl -make returns me [EMAIL PROTECTED] baculasrc]# make Target .PATH is up to date. -make install [EMAIL PROTECTED] baculasrc]# make install ./autoconf/mkinstalldirs /opt/bacula/sbin ./autoconf/mkinstalldirs /opt/bacula/etc ./autoconf/mkinstalldirs /opt/bacula/etc if test ! -d /opt/bacula/var/bacula/working ; then ./autoconf/mkinstalldirs /opt/bacula/var/bacula/working; chmod 770 /opt/bacula/var/bacula/working; fi if test x != x ; then chown /opt/bacula/var/bacula/working; fi if test x != x ; then chgrp /opt/bacula/var/bacula/working; fi Target install is up to date. ../autoconf/mkinstalldirs /opt/bacula/etc ../autoconf/mkinstalldirs /opt/bacula/sbin ../autoconf/mkinstalldirs /opt/bacula/etc ../autoconf/mkinstalldirs /usr/share/man /tmp/baculasrc/autoconf/install-sh -c -m 0754 startmysql /opt/bacula/etc/startmysql /tmp/baculasrc/autoconf/install-sh -c -m 0754 stopmysql /opt/bacula/etc/stopmysql /tmp/baculasrc/autoconf/install-sh -c -m 0754 bconsole /opt/bacula/etc/bconsole /tmp/baculasrc/autoconf/install-sh -c -m 0754 gconsole /opt/bacula/etc/gconsole /tmp/baculasrc/autoconf/install-sh -c -m 0754 bacula /opt/bacula/etc/bacula /tmp/baculasrc/autoconf/install-sh -c -m 0754 bacula-ctl-dir /opt/bacula/etc/bacula-ctl-dir /tmp/baculasrc/autoconf/install-sh -c -m 0754 bacula-ctl-fd /opt/bacula/etc/bacula-ctl-fd /tmp/baculasrc/autoconf/install-sh -c -m 0754 bacula-ctl-sd /opt/bacula/etc/bacula-ctl-sd == Saving existing mtx-changer to mtx-changer.old /tmp/baculasrc/autoconf/install-sh -c -m 0754 mtx-changer /opt/bacula/etc/mtx-changer == Saving existing disk-changer to disk-changer.old /tmp/baculasrc/autoconf/install-sh -c -m 0754 disk-changer /opt/bacula/etc/disk-changer == Saving existing dvd-handler to dvd-handler.old /tmp/baculasrc/autoconf/install-sh -c -m 0754 dvd-handler /opt/bacula/etc/dvd-handler /tmp/baculasrc/autoconf/install-sh -c -m 644 btraceback.gdb /opt/bacula/etc/btraceback.gdb /tmp/baculasrc/autoconf/install-sh -c -m 644 btraceback.dbx /opt/bacula/etc/btraceback.dbx chmod 0644 /opt/bacula/etc/btraceback.gdb /opt/bacula/etc/btraceback.dbx /tmp/baculasrc/autoconf/install-sh -c -m 0754 btraceback /opt/bacula/sbin/btraceback Target install is up to date. Target install is up to date. Compiling filed.c Compiling authenticate.c Compiling acl.c Compiling backup.c Compiling estimate.c Compiling filed_conf.c Compiling heartbeat.c Compiling job.c Compiling pythonfd.c Compiling restore.c Compiling status.c Compiling verify.c Compiling verify_vol.c make: Cannot find a rule to create target ../findlib/libfind.a from dependencies. Stop. the problem seem to be into ../findlib/libfind can you suggest me anything? thanks marco - 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 on aix 5.2
Hello Marco, make: Cannot find a rule to create target ../findlib/libfind.a from dependencies. Stop. the problem seem to be into ../findlib/libfind can you suggest me anything? are you using only gnu tools for compiling (make, cc, etc.) ? It sounds like either your 'make' doesn't understand the Makefile, or maybe the Makefile has been not yet tuned up for AIX. Regards -- Maxx - 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] Intervention needed?
Hi, I have a problem with my daily backup jobs. I use 2 tapes for mon-thu and set them to 25h retention. As mentioned in some past posts, I put in an Admin job to recycle volumes as needed. But apparently that didn't work. Today again, I had to mount the volume to release the job. Could someone help me to find out what I'm doing wrong? The timeline for the log is: - 02 Aug, I purged and relabeled the two Daily volumes - then I ran a backup on Daily2 (end time was 17:14) - that evening, Daily1 ran as scheduled at 22:00 - 03 Aug, 21:50 - Admin Job (scheduled) - 03 Aug, 22:00 - Backup could not find appendable volumes - 03 Aug, 23:00 - Volume Daily2 recycled job waited all night for me to mount volume. As soon as I did, job ran fine. I have a snippet from bacula-dir.conf, a 'list volumes' before the mount this morning and a current log file attached. Regards TT ### - Pools - Pool { Name = Daily Pool Type = Backup Use Volume Once = no Maximum Volume Jobs = 2 # Backup+Catalog AutoPrune = yes VolumeRetention = 25h # recycle after 1 day (25h so it won't be pruned in time for the next daily backup) Maximum Volumes = 2 Recycle = yes #Recycle Current Volume = yes #Label Format = Daily- } Pool { Name = Weekly Pool Type = Backup Use Volume Once = no# we want to append the catalog Maximum Volume Jobs = 2 AutoPrune = yes VolumeRetention = 23d # recycle in 23 days (more than 3 weeks) Maximum Volumes = 4 Recycle = yes #Recycle Current Volume = yes #Label Format = Weekly- } Pool { Name = Monthly Pool Type = Backup Use Volume Once = no Maximum Volume Jobs = 2 AutoPrune = yes VolumeRetention = 56d # recycle in 56 days (more than 1 month, less than 2) Maximum Volumes = 2 Recycle = yes #Recycle Current Volume = yes #Label Format = Monthly- } ### - Nightly Backup - Schedule { Name = Nightly Backup Run = Level=Full Pool=Monthly 1st fri at 22:00 Run = Level=Full Pool=Weekly 2nd-5th fri at 22:00 Run = Level=Differential Pool=Daily mon-thu at 22:00 } Job { Name = Full Backup Type = Backup Level = Full Client = FIM-FS-fd FileSet = Full Set Messages = Standard Storage = Tape Pool = Snapshot Priority = 10 Schedule = Nightly Backup Write Bootstrap = /var/lib/bacula/Backup.bsr } FileSet { Name = Full Set Include { Options { signature = MD5 verify = pins5 onefs = yes sparse = yes aclsupport = yes #compression = GZIP # should be done by hardware } File = /home } Include { Options { signature = MD5 verify = pins5 onefs = yes sparse = yes } File = /usr File = /var File = /root File = / } Exclude { File = /proc File = /tmp File = /.journal File = /.fsck } } ### - Admin Job (pruning etc.) - Schedule { Name = Nightly Admin Run = Level=Differential Pool=Daily mon-fri at 21:50 } Job { Name = Admin-Job Type = Admin Client = FIM-FS-fd FileSet = Full Set Messages = Standard Storage = Tape Pool = Snapshot Schedule = Nightly Admin } ### - Catalog Backup - # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Pool = Snapshot Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup -uuser -ppassword # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup #Run = Full mon-fri at 22:05 Run = Level=Full Pool=Monthly 1st fri at 22:05 Run = Level=Full Pool=Weekly 2nd-5th fri at 22:05 Run = Level=Full Pool=Daily mon-thu at 22:05 } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql File = /var/lib/bacula/Backup.bsr } }02-Aug 16:57 FIM-FS-dir: Start Backup JobId 63, Job=BackupCatalog.2006-08-02_16.56.25 02-Aug 16:57 FIM-FS-sd: Wrote label to prelabeled Volume Daily2 on device /dev/st0 02-Aug 16:57 FIM-FS-dir: Bacula 1.36.2 (28Feb05): 02-Aug-2006 16:57:35 JobId: 63 Job:BackupCatalog.2006-08-02_16.56.25 Backup Level: Full Client: FIM-FS-fd FileSet:Catalog 2006-07-04 00:01:34 Pool: Daily Storage:Tape Start time: 02-Aug-2006 16:56:27 End time: 02-Aug-2006 16:57:35 FD Files Written: 2 SD Files Written: 2 FD Bytes Written: 150,350,522 SD Bytes Written: 150,350,743
[Bacula-users] Question
Does Bacula support version control of backups, like if i need the monday restore of a file...? Duarte Santos -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support. - 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 on aix 5.2
Thanks for the answer: I get the same result both with gnu gcc/g++ and with standard ibm gcc... the following is the makefile in wich I changed CC CPP CXX from CC = gcc CPP = gcc -E CXX = /usr/bin/g++ to CC = /opt/freeware/bin/gcc CPP = /opt/freeware/bin/gcc -E CXX = /opt/freeware/bin/g++ # # Version $Id: Makefile.in,v 1.72 2006/07/31 17:36:55 kerns Exp $ # # autoconf/Make.common.in-*- Makefile -*- # release date (man), LSM date, version number/name, current maintainer DATE=31 July 2006 LSMDATE=31Jul06 VERSION=1.39.18 VERNAME=bacula-$(VERSION)# MAINT=Kern Sibbald# MAINTEMAIL=[EMAIL PROTECTED]# WEBMAINT=# WEBMAINTEMAIL=# WEBPAGE=# FTPSITENAME=# FTPSITEDIR=# #- SHELL = /bin/sh # Installation target directories other installation stuff prefix = /opt/bacula exec_prefix = /opt/bacula binprefix = manprefix = sbindir = /opt/bacula/sbin sysconfdir = /opt/bacula/etc scriptdir = /opt/bacula/etc mandir = /usr/share/man manext = 8 NO_ECHO = @ # Tools program stuff CC = gcc CPP = gcc -E CXX = /usr/bin/g++ MV = /usr/bin/mv RM = /usr/bin/rm RMF = /usr/bin/rm -f CP = /usr/bin/cp SED = /usr/bin/sed AWK = /usr/bin/nawk ECHO = /usr/bin/echo CMP = /usr/bin/cmp TBL = /usr/bin/tbl AR = /usr/bin/ar RANLIB = ranlib MKDIR = /tmp/baculasrc/autoconf/mkinstalldirs INSTALL = /tmp/baculasrc/autoconf/install-sh -c # add the -s to the following in PRODUCTION mode INSTALL_PROGRAM = /tmp/baculasrc/autoconf/install-sh -c -m 0754 INSTALL_DATA = /tmp/baculasrc/autoconf/install-sh -c -m 644 INSTALL_SCRIPT = /tmp/baculasrc/autoconf/install-sh -c -m 0754 INSTALL_CONFIG = /tmp/baculasrc/autoconf/install-sh -c -m 640 # Flags libs CFLAGS = -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti CPPFLAGS = -fno-strict-aliasing -fno-exceptions -fno-rtti LDFLAGS = -O TTOOL_LDFLAGS = #DEFS = -DHAVE_CONFIG_H LIBS = -lpthread -lintl WRAPLIBS = DINCLUDE = DLIB = DB_LIBS = PYTHON_LIBS = PYTHON_INC = # Windows (cygwin) flags WCFLAGS = WLDFLAGS = # X Include directory #XINC = @XPM_CFLAGS@ # extra libraries needed by X on some systems, X library location #XLIB = @XPM_LIBS@ -lX11 # End of common section of the Makefile #- working_dir=/opt/bacula/var/bacula/working dir_group= dir_user= srcdir =. .PATH: . topdir = . thisdir = . first_rule: all dummy: # --client-only directories fd_subdirs = src scripts src/lib src/findlib src/filed \ src/console \ # Non-client-only directores subdirs =src/cats src/dird src/stored src/tools all_subdirs = ${fd_subdirs} ${} DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog DIST_CFG = autoconf/aclocal.m4 autoconf/configure.in \ autoconf/config.h.in autoconf/acconfig.h autoconf/Make.common.in \ autoconf/install-sh autoconf/mkinstalldirs MKDIR = $(srcdir)/autoconf/mkinstalldirs #- all: Makefile @for I in ${all_subdirs}; \ do (cd $$I; echo ==Entering directory `pwd`; \ $(MAKE) $@ || (echo ; echo ; echo == Error in `pwd` ==; \ echo ; echo ;)); \ done depend: @for I in ${all_subdirs}; \ do (cd $$I; echo ==Entering directory `pwd`; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1); done bacula-fd: Makefile @for I in ${fd_subdirs}; \ do (cd $$I; echo ==Entering directory `pwd`; \ $(MAKE) all || (echo ; echo ; echo== Error in `pwd` ==; \ echo ; echo ;)); \ done #- autoconf/aclocal.m4: autoconf/configure.in autoconf/bacula-macros/* autoconf/gettext-macros/* cd autoconf aclocal -I bacula-macros -I gettext-macros configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autoconf/config.h.in cd $(srcdir); ${RMF} -f config.cache config.log config.out config.status src/config.h ${RMF} -rf autoconf/autom4te.cache autom4te.cache autoconf --prepend-include=$(srcdir)/autoconf \ autoconf/configure.in configure chmod 755 configure old-configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h cd $(srcdir); ${RMF} -f config.cache config.log config.out config.status src/config.h autoconf --include=$(srcdir)/autoconf \ autoconf/configure.in configure chmod 755 configure @rm -f config.cache config.status: if test -x config.status; then config.status --recheck; \ else $(SHELL) configure; fi autoconf/config.h.in: autoconf/configure.in autoconf/acconfig.h cd $(srcdir); ${RMF} -f config.cache config.log config.out config.status src/config.h autoheader
Re: [Bacula-users] Segfaults in FreeBSD
Skylar Thompson [EMAIL PROTECTED] wrote: Dan Langille wrote: On 1 Aug 2006 at 8:49, Skylar Thompson wrote: I just installed Bacula 1.38 in FreeBSD, using a Postgres backend. bacula-dir starts up fine, but when I start up bconsole to go to label a tape I get a segfault. I'm using FreeBSD 4.11-STABLE, and PosgreSQL 8.1.3, and Bacula 1.38.8 What versions are you using? FreeBSD 6.1-STABLE, Postgres 8.1.4, and Bacula 1.38.11. I have that setup running in 4 places without problem. Have a look at the Kaboom chapter in the manual and set your system up to capture backtraces when it crashes. In my experience, a backtrace is about all Kern needs to track these problems down quickly. -- Bill Moran What hope have we without [Gandalf]? We must do without hope. Aragorn, son of Arathorn - 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] protocol implementation?
hi list i'm looking for a way to code in the ability to provide the user do to download a file from a backup through a web interface, as all our backups are online. the information about the file can be fetched directly from the catalog, but getting the actual file is slightly more difficult. using the bconsole tool and a local filedaemon is a bit cumbersome so i am looking for a more easier way. i've been looking through the devel manual on how bconsole and the director and the director and the storagedaemon communicate but it doesnt make it much clearer for me. my goal is to implement a few items from the console to restore a file from a backup to a filedaemon of my own wich instead of saving the file to disk hands it to the web server to hand of to the user. i've seen some mentioning about a java implementation of the bconsole- director communications, but cant seem to find any concrete stuff. has/is anyone still working on this? fritz - 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] Bacula on Debian - Automatically selected Storage problem
Hi All, I have just installed Bacula (on Debian 3.1, bacula 1.36.2), and I am trying to write to tape (DDS-4, passed all tests as listed in tutorail)... whenever I try to label/add a new Storage thing (ie a tape) I get a message saying 'Automatically selected Storage: File'. I have looked through the docs, and played with the config files to no avail - can anybody tell me how to add different storage media please? thanks in advance, Jim Potter UK -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - 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 on Debian - Automatically selected Storage problem
On Friday 04 August 2006 13:31, Jim Potter wrote: Hi All, I have just installed Bacula (on Debian 3.1, bacula 1.36.2), and I am trying to write to tape (DDS-4, passed all tests as listed in tutorail)... whenever I try to label/add a new Storage thing (ie a tape) I get a message saying 'Automatically selected Storage: File'. I have looked through the docs, and played with the config files to no avail - can anybody tell me how to add different storage media please? thanks in advance, Jim Potter UK it autoselects if it it only has one choice availeable, did you define the thing in both the director and storage conf? - 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] Segfaults in FreeBSD
On Friday 04 August 2006 12:30, Bill Moran wrote: Skylar Thompson [EMAIL PROTECTED] wrote: Dan Langille wrote: On 1 Aug 2006 at 8:49, Skylar Thompson wrote: I just installed Bacula 1.38 in FreeBSD, using a Postgres backend. bacula-dir starts up fine, but when I start up bconsole to go to label a tape I get a segfault. I'm using FreeBSD 4.11-STABLE, and PosgreSQL 8.1.3, and Bacula 1.38.8 What versions are you using? FreeBSD 6.1-STABLE, Postgres 8.1.4, and Bacula 1.38.11. I have that setup running in 4 places without problem. Have a look at the Kaboom chapter in the manual and set your system up to capture backtraces when it crashes. In my experience, a backtrace is about all Kern needs to track these problems down quickly. I haven't been following this thread very closely, but I suspect that the problem is either the user updated PostgreSQL and did not upgrade the development libraries, or there are two installations of PostgreSQL on the same machine in different directories, or the user upgraded PostgreSQL and did not rebuild Bacula from scratch. In those three cases, Bacula would be linked against PostgreSQL client libraries that do not correspond to the PostgreSQL servers and thus crashes would not be surprising. -- Bill Moran What hope have we without [Gandalf]? We must do without hope. Aragorn, son of Arathorn - 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 - 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] Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can restore to a date in time. This is not exactly version control because you cannot back up to different states unless you make a backup before/after each change. Duarte Santos wrote: Does Bacula support version control of backups, like if i need the monday restore of a file...? Duarte Santos - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE0zw9mb+gadEcsb4RAr0eAJ4hXZU5Y17NztVDEBtV0pMhB9gXNACgtAqk v5nNJ1WNRNj3B//hwpf3xUk= =4wPY -END PGP SIGNATURE- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Segfaults in FreeBSD
In response to Kern Sibbald [EMAIL PROTECTED]: On Friday 04 August 2006 12:30, Bill Moran wrote: Skylar Thompson [EMAIL PROTECTED] wrote: Dan Langille wrote: On 1 Aug 2006 at 8:49, Skylar Thompson wrote: I just installed Bacula 1.38 in FreeBSD, using a Postgres backend. bacula-dir starts up fine, but when I start up bconsole to go to label a tape I get a segfault. I'm using FreeBSD 4.11-STABLE, and PosgreSQL 8.1.3, and Bacula 1.38.8 What versions are you using? FreeBSD 6.1-STABLE, Postgres 8.1.4, and Bacula 1.38.11. I have that setup running in 4 places without problem. Have a look at the Kaboom chapter in the manual and set your system up to capture backtraces when it crashes. In my experience, a backtrace is about all Kern needs to track these problems down quickly. I haven't been following this thread very closely, but I suspect that the problem is either the user updated PostgreSQL and did not upgrade the development libraries, or there are two installations of PostgreSQL on the same machine in different directories, or the user upgraded PostgreSQL and did not rebuild Bacula from scratch. In those three cases, Bacula would be linked against PostgreSQL client libraries that do not correspond to the PostgreSQL servers and thus crashes would not be surprising. While I haven't tried every possible combination, I've found that having the exact same version of libpq as is the server you're using is not necessary at all. I know that we have at least a few systems here where the client libraries are 8.0 and the server is 8.1 So, personally, I would find crashes resulting from mismatched client/server versions _very_ surprising. It should never result in a crash. Like most client/server systems, there is a network protocol between the client and server that should insulate you from upgrades (unless you're pushing it, like going from 6 to 8) If it does turn out that Bacula is crashing because of mismatched client/server versions, it is a _bug_ and should be reported to the PostgreSQL development team to be fixed. If however, you meant that the OP may have compiled Bakula, then upgraded the client libraries without re-linking Bacula, I could see that potentially being a problem. -- Bill Moran Collaborative Fusion Inc. - 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] Segfaults in FreeBSD
On Friday 04 August 2006 14:24, Bill Moran wrote: In response to Kern Sibbald [EMAIL PROTECTED]: On Friday 04 August 2006 12:30, Bill Moran wrote: Skylar Thompson [EMAIL PROTECTED] wrote: Dan Langille wrote: On 1 Aug 2006 at 8:49, Skylar Thompson wrote: I just installed Bacula 1.38 in FreeBSD, using a Postgres backend. bacula-dir starts up fine, but when I start up bconsole to go to label a tape I get a segfault. I'm using FreeBSD 4.11-STABLE, and PosgreSQL 8.1.3, and Bacula 1.38.8 What versions are you using? FreeBSD 6.1-STABLE, Postgres 8.1.4, and Bacula 1.38.11. I have that setup running in 4 places without problem. Have a look at the Kaboom chapter in the manual and set your system up to capture backtraces when it crashes. In my experience, a backtrace is about all Kern needs to track these problems down quickly. I haven't been following this thread very closely, but I suspect that the problem is either the user updated PostgreSQL and did not upgrade the development libraries, or there are two installations of PostgreSQL on the same machine in different directories, or the user upgraded PostgreSQL and did not rebuild Bacula from scratch. In those three cases, Bacula would be linked against PostgreSQL client libraries that do not correspond to the PostgreSQL servers and thus crashes would not be surprising. While I haven't tried every possible combination, I've found that having the exact same version of libpq as is the server you're using is not necessary at all. I know that we have at least a few systems here where the client libraries are 8.0 and the server is 8.1 Well, maybe you are not a programmer, but all they need to do is change one minor thing in a packet definition, and it is bye-bye crash time. So, personally, I would find crashes resulting from mismatched client/server versions _very_ surprising. It should never result in a crash. Like most client/server systems, there is a network protocol between the client and server that should insulate you from upgrades (unless you're pushing it, like going from 6 to 8) If it does turn out that Bacula is crashing because of mismatched client/server versions, it is a _bug_ and should be reported to the PostgreSQL development team to be fixed. If you mix client libraries with a different version of the server, it can and has failed in the past and is not a bug. It all depends on whether or not they changed the interface. The API is relatively static, but the packet definitions as defined in the header files often change. If however, you meant that the OP may have compiled Bakula, then upgraded the client libraries without re-linking Bacula, I could see that potentially being a problem. -- Bill Moran Collaborative Fusion Inc. - 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 - 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] Estimate + Exclusion Question
Kern Sibbald wrote, sometime around 03/08/06 20:56: On Thursday 03 August 2006 20:45, Erich Prinz wrote: 2. How do we determine if the exclusions are working? Try the following: estimate job=job-name listing level=Full Wow, Kern I love you! If I'd known about that (presumably if I'd read the documentation a bit more carefully), I could have saved many many an hour of messing around before. -- Russell Howe [EMAIL PROTECTED] - 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] Estimate + Exclusion Question
On Friday 04 August 2006 15:29, Russell Howe wrote: Kern Sibbald wrote, sometime around 03/08/06 20:56: On Thursday 03 August 2006 20:45, Erich Prinz wrote: 2. How do we determine if the exclusions are working? Try the following: estimate job=job-name listing level=Full Wow, Kern I love you! If I'd known about that (presumably if I'd read the documentation a bit more carefully), I could have saved many many an hour of messing around before. Thanks for the thanks. You made my day. :-) -- Russell Howe [EMAIL PROTECTED] - 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 - 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] bacula-fd dies on win2003 server
Hi all! I've a problem with bacula client (as program, not windows service) on windows 2003 server: install ends correctly but bacula-fd.exe does not exec. I can not see any log, sometimes I can see the icon on taskbar that disappear immediately. How do you suggest to procede? marco - 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] Segfaults in FreeBSD
Kern Sibbald wrote: On Friday 04 August 2006 12:30, Bill Moran wrote: Skylar Thompson [EMAIL PROTECTED] wrote: Dan Langille wrote: On 1 Aug 2006 at 8:49, Skylar Thompson wrote: I just installed Bacula 1.38 in FreeBSD, using a Postgres backend. bacula-dir starts up fine, but when I start up bconsole to go to label a tape I get a segfault. I'm using FreeBSD 4.11-STABLE, and PosgreSQL 8.1.3, and Bacula 1.38.8 What versions are you using? FreeBSD 6.1-STABLE, Postgres 8.1.4, and Bacula 1.38.11. I have that setup running in 4 places without problem. Have a look at the Kaboom chapter in the manual and set your system up to capture backtraces when it crashes. In my experience, a backtrace is about all Kern needs to track these problems down quickly. I haven't been following this thread very closely, but I suspect that the problem is either the user updated PostgreSQL and did not upgrade the development libraries, or there are two installations of PostgreSQL on the same machine in different directories, or the user upgraded PostgreSQL and did not rebuild Bacula from scratch. In those three cases, Bacula would be linked against PostgreSQL client libraries that do not correspond to the PostgreSQL servers and thus crashes would not be surprising. I checked that. I made sure that both postgresql-server and postgresaql-client were running at 8.1.4 before I compiled bacula-server. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula on Debian - Automatically selected Storage problem
Hi Fritz, Got it going - I didn't realise that there were daemon processes invloved, and had not restarted them. cheers Jim Fritz wrote: On Friday 04 August 2006 13:31, Jim Potter wrote: Hi All, I have just installed Bacula (on Debian 3.1, bacula 1.36.2), and I am trying to write to tape (DDS-4, passed all tests as listed in tutorail)... whenever I try to label/add a new Storage thing (ie a tape) I get a message saying 'Automatically selected Storage: File'. I have looked through the docs, and played with the config files to no avail - can anybody tell me how to add different storage media please? thanks in advance, Jim Potter UK it autoselects if it it only has one choice availeable, did you define the thing in both the director and storage conf? - 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - 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] zlib problem when restoring files
On Thursday 03 August 2006 12:37 am, Beda Kosata wrote: Kern Sibbald wrote: On Wednesday 02 August 2006 17:46, Mike Reinehr wrote: On Wednesday 02 August 2006 04:09 am, Kern Sibbald wrote: On Wednesday 02 August 2006 10:58, Beda Kosata wrote: Kern Sibbald wrote: On Wednesday 02 August 2006 06:40, Beda Kosata wrote: Dear all, I am using bacula to backup several of our machines and I have run into a problem restoring one machine. All files are restored, but for some of them I get something like this in messages: 01-Aug 15:31 fretka-fd: MilaRestoreFiles.2006-08-01_15.31.09 Error: Uncompression error on file /home/restore/home/nicmila/.thunderbird/fpjdjhkm.default/Mail/LocalFolde r s/Sent.msf. ERR=Zlib buffer error and the resulting files have zero length. This machine is a pretty new AMD64. When I have tried to restore to an older pentium4 machine, everything went ok. Both of them are running Gentoo Linux in similar configuration. Therefor I suspect the problem is in the 64bit machine. However trying to find any information on problems with zlib on AMD64 was not successful. I have tried to recompile both zlib and bacula, even with optimization turned off, but the errors remain. I would be glad for any suggestions how to fix this problem. Are you trying to restore files from Volumes that were written on the Pentium4 on the AMD64 or did you write the Volumes with your AMD64? I am trying to restore files that were backed up on an older pentium machine (as part of hardware update). I have now tried to restore backup that was already made on the AMD64 machine and everything seems to be OK. I guess it solves most of the problem for me now. Anyway I wonder what the problem is. Shouldn't zlib work regardless of the architecture? Yes, zlib should work regardless of the architecture -- this is a real pity to hear, because it means that zlib is not 32/64 bit clean and/or does not take the trouble to handle byte order differences. Perhaps it is time to consider implementing other compression algorithms such as lzma, which I believe were written more recently and probably handle thes problems. I'll also take a note of this and check the Bacula code as it is possible that there is a problem, though I doubt it. Thanks Beda p.s.- bacula is great :) Thanks. Regards, Kern Kern, I've just checked the bug reports for Debian AMD64 on the zlibc homepage and can find no reference to any 64bit bugs. Also, there has been no mention of any zlibc problems on the Debian AMD64 mailing list. (I'm running Debian Sarge for AMD64 here, myself, but haven't used compression.) So I would suspect that the problem is limited either to Gentoo Linux, in particular, to Mr. Kosata's system, or (I know this is a very remote possibility ;-) Bacula. I guess that I was not very precise. I did not mean to imply that this was a 64 bit problem. What I was trying to say is that zlib does not seem to be 32/64 bit clean, which means that if you compress data on a 32 bit machine and try to uncompress exactly the same data on a 64 bit machine, it doesn't seem to work. Whether or not it is a zlib or a Bacula bug I cannot tell, but I do know that we put a lot of effort in trying to ensure that Bacula is *totally* 32/64 bit independent. Even routines such as the system printf() or sscanf() are not even close to being 32/64 bit independent. I have made a few more test to be sure that it is not problem of one system. I have tried to restore files backed up on a 32bit machine onto *another* 64bit machine, with the same result - corrupted files. Restoring files backed up on a 64bit machine to a 32bit machine seems ok. The same is true for restoring files backed up on 64bit machine to another 64bit machine. So to summarize, it seems that 32 = 32 - OK 64 = 64 - OK 64 = 32 - OK 32 = 64 - Errors Unfortunately I cannot test 64bit machine under other OS than Gentoo Linux. Beda I'm not sure that this is relevant, as I have not compiled anything from source--I just download binaries from the Debian mirrors. But if gzip gunzip use the same zlib's as are used in Bacula, then I do not have the 32 = 64 errors here. As i test I compressed a tar archive with gzip on my 32-bit, PIII desktop; transferred it to my AMD64 Opeteron service and then sucessfully uncompressed it with gunzip. The desktop runs a mixture of Debian stable testing while the server is running pure stable. HTH cmr -- Debian 'Sarge': Registered Linux User #241964 More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC - 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
[Bacula-users] trouble with bacula-mtx install
Hello, I'v recently purchased an auto charger. Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM 'till now I was using disk storage for my backups, and i would like bacula to use it. Ive installed the hardware and tested it using mtx command (from mtx OS package). My problem is: When I try do install bacula-mtx I get a conflit with installed mtx package. When i try to uninstall mtx package, I get an error saying that mtx package is required by bacula-mysql package. How do I do it? Thanks - 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] SQL help needed predicting next tapes to recycle
Hello, I'm still looking for a way to predict which tapes bacula will try to recycle, so that I can pre-load our autochanger instead of having all backups halt with the intervention needed message. For example, I've got ~50 volumes in the incremental pool that are full, but I don't know which ones to load into the changer to be recycled. I understand that there's currently no way to run the recycle algorithm manually. I was considering the querying the database to produce a list of full volumes, reverse sorted by the age of the newest backup per volume. This list would tell me which are the oldest tapes (where the age is given by the newest backup per volume, not the first use of a volume). Does this seem like a reasonable approximation of the order in which bacula would recycle tapes (assuming that they are all in the changer, and assuming that all jobs per volume have the same retention period)? If so, I'd really appreciate some help with the SQL query to extract this data. Thanks, Mark Mark Bergman [EMAIL PROTECTED] System Administrator Section of Biomedical Image Analysis 215-662-7310 Department of Radiology, University of Pennsylvania http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. - 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