|
osdir.com mailing list archive |
|
Subject: Re: Wildcards? - msg#00253List: bacula.userOn Tue, 2003-08-26 at 04:08, Mike Kordik wrote: > Reading the documentation I thought I could put in my filesset > > /etc/bacula/*.conf > > But when Bacula runs it says: > > Could not stat /etc/bacula/*.conf: ERR=No such file or directory > > If I am doing something obviously wrong I apologize. Here is my full > fileset. > > FileSet { > Name = "Full Set" > Include = compression=GZIP signature=MD5 { > /home/parent > /etc/apache/conf > /etc/proftpd/proftpd.conf > /etc/bacula/*.conf > } > > } > No, you are not doing anything wrong. I naively added wild cards to the Include set without really thinking about how it would work. It turns out that it just plain does not work, and regrettably I don't see any easy way to fix it. Best regards, Kern > Thx > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Bacula-users mailing list > Bacula-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/bacula-users
Thread at a glance:
Previous Message by Date: (click to view message preview)Re: console and gnome console problemHi Kern, I tried to install new co bacula. At "make" time I receive the following: ==>Entering directory /home/gianni2/baculadl/bacula/src/gnome-console make[1]: Entering directory `/home/gianni2/baculadl/bacula/src/gnome-console' g++ -c -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I. -I.. -g -Wall console.c In file included from console.c:32: support.h:33: syntax error before `*' token console.c: In function `void truncate_text_chars()': console.c:519: `GTK_TEXT' undeclared (first use this function) console.c:519: (Each undeclared identifier is reported only once for each function it appears in.) console.c:519: `gtk_text_set_point' undeclared (first use this function) console.c:520: `gtk_text_backward_delete' undeclared (first use this function) console.c: In function `void set_text(char*, int)': console.c:537: `gtk_text_insert' undeclared (first use this function) make[1]: *** [console.o] Error 1 make[1]: Leaving directory `/home/gianni2/baculadl/bacula/src/gnome-console' ====== Error in /home/gianni2/baculadl/bacula/src/gnome-console ====== Console (I mean the non gnome-console) works fine. Have you some suggestion? Thanks in advance Gianni Il lun, 2003-08-25 alle 10:52, Gian Domenico Messina ha scritto: > Hi Kern, > > I tried your suggestions and fixed the console problem: > > I only added to options in my ./configure: > > --disable-readline > > and now console works fine. > > Later I'll co new release to see if gnome-console works for me. > > Thanks for your help. > > Ciao > Gianni > > > Il dom, 2003-08-24 alle 18:02, Kern Sibbald ha scritto: > > Hello Gianni, > > > > One more thing would be worth trying, and that is > > not to use any of the static options on ./configure > > i.e. drop: > > > > --enable-static-cons \ > > --enable-static-dir \ > > --enable-static-sd \ > > --enable-static-fd \ > > > > Except for the enable-static-fd, I don't use those > > very often, and maybe there is some strange interaction > > between --enable-static-cons and the readline problems > > you are having. > > > > Other than that, I see nothing unusual in your attachments. > > > > Best regards, > > > > Kern > > > > > > On Sun, 2003-08-24 at 17:27, Gian Domenico Messina wrote: > > > Kern, > > > > > > thanks for your answer. > > > > > > Il dom, 2003-08-24 alle 13:05, Kern Sibbald ha scritto: > > > > Hello, > > > > > > > > On Sun, 2003-08-24 at 10:23, Gian Domenico Messina wrote: > > > > > Hi, > > > > > > > > > > thanks for your great job! > > > > > > > > Thanks. > > > > > > > > > > > > > > I have two small issues with console. The first is the same already > > > > > reported by Thomas Sturm i.e. > > > > > > > > > > > What I was looking for: > > > > > > I use version 1.31a of the console-program. There is only a > > > > > cosmethic > > > > > > problem. Somone at the list had the same Problem solved. > > > > > > > > > > > > When I chose e.g. > > > > > > *query > > > > > > Available queries: > > > > > > 1: List Job totals: > > > > > > 2: List where a file is saved: > > > > > > 3: List where the most recent copies of a file are saved: > > > > > > 4: List last 20 Full Backups for a Client: > > > > > > 5: List all backups for a Client after a specified time > > > > > > 6: List all backups for a Client > > > > > > 7: List Volume Attributes for a selected Volume: > > > > > > 8: List Volumes used by selected JobId: > > > > > > 9: List Volumes to Restore All Files: > > > > > > 10: List Pool Attributes for a selected Pool: > > > > > > 11: List where a File is saved: > > > > > > 12: List total files/bytes by Job: > > > > > > 13: List total files/bytes by Volume: > > > > > > 14: List Files for a selected JobId: > > > > > > Choose a query (1-14): > > > > > > ^ > > > > > > then the Cursor is at the beginning of the line, not after the ":" > > > > > > > > First, I assume you are talking about the console program > > > > in <bacula-source>/src/console and not the Gnome version: > > > > > > > > > > Yes you are right. > > > > > > > I don't know what is going on here. I build and run Bacula > > > > with the same system and same readline that you have and > > > > it works fine for me. > > > > > > > > Here are three things you can do: > > > > > > > > 1. Send me the exact ./configure command you used. > > > > > > > this is the ./configure command I input: > > > > > > CFLAGS="-g -Wall" .configure \ > > > --sbindir=$HOME/bacula-1.31a/bin \ > > > --sysconfdir=$HOME/bacula-1.31a/bin \ > > > --enable-smartalloc \ > > > --with-sqlite=$HOME/bacula-1.31a/depkgs/sqlite \ > > > --with-working-dir=$HOME/bacula-1.31a/working \ > > > --with-pid-dir=$HOME/bacula-1.31a/bin/working \ > > > --with-subsys-dir=$HOME/bacula-1.31a/bin/working \ > > > --enable-static-cons \ > > > --enable-static-dir \ > > > --enable-static-sd \ > > > --enable-static-fd \ > > > --enable-gnome > > > > > > Annexed you find config.log and config.out > > > > > > I'll keep you informed as soon as I try your suggestions > > > > > > Best regards and thank you again > > > > > > Gianni > > > > > > > 2. Rebuild Bacula (with readline) by doing: > > > > > > > > make distclean > > > > ./configure (your options) > > > > make > > > > > > > > 3. Try building with readline disabled (i.e. > > > > --disable-readline on the ./configure) > > > > > > > > > > > > > I installed bacula from the source package. > > > > > I have RH9 and readline-4.3-5 installed. > > > > > Moreover at installation time I simply "make" the depkgs-24Jul03. > > > > > > > > > > Another problem I have is the following when I invoke gnome-console: > > > > > > > > > > (gnome-console:2953): GLib-GObject-WARNING **: invalid cast from > > > > > `GtkTextView' to `GtkText' > > > > > > > > > > (gnome-console:2953): Gtk-CRITICAL **: file gtktext.c: line 977 > > > > > (gtk_text_insert): assertion `GTK_IS_TEXT (text)' failed > > > > > > > > > > (gnome-console:2953): GLib-GObject-WARNING **: invalid cast from > > > > > `GtkTextView' to `GtkText' > > > > > > > > > > (gnome-console:2953): Gtk-CRITICAL **: file gtktext.c: line 977 > > > > > (gtk_text_insert): assertion `GTK_IS_TEXT (text)' failed > > > > > > > > > > (gnome-console:2953): GLib-GObject-WARNING **: invalid cast from > > > > > `GtkTextView' to `GtkText' > > > > > > > > > > (gnome-console:2953): Gtk-CRITICAL **: file gtktext.c: line 977 > > > > > (gtk_text_insert): assertion `GTK_IS_TEXT (text)' failed > > > > > > > > > > I have no possibility to use the command line as it accepts only 1 > > > > > char and overwrites. > > > > > > > > > > I can run jobs (using "run" button) and I do not receive any message. > > > > > > > > > > Can you help me? > > > > > > > > Concerning gnome-console: I seem to recall having a few problems when I > > > > switched from RH7.3 to RH9, but unfortunately, I cannot tell you what > > > > I changed because of a change in directory names. > > > > > > > > One solution might be to download the current contents of the CVS > > > > on SourceForge. That version (1.32-24Aug03) of gnome-console > > > > builds and runs fine on my RH9 system. > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Bacula-users mailing list > Bacula-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 Next Message by Date: click to view message previewRe: Restore (list last 20 Jobs)Hello Thomas, Are you on Bacula 1.31a? This was a bug in the previous version, and I corrected it in 1.31 (at least I thought I corrected it). Best regards, Kern On Tue, 2003-08-26 at 09:59, Thomas Sturm wrote: > Hello Kern, > I did the following at the console: > > * restore > First you select one or more JobIds that contain files > to be restored. You will be presented several methods > of specifying the JobIds. Then you will be allowed to > select which files from those JobIds are to be restored. > > To select the JobIds, you have the following choices: > 1: List last 20 Jobs run > 2: List Jobs where a given File is saved > 3: Enter list of JobIds to select > 4: Enter SQL list command > 5: Select the most recent backup for a client > 6: Select backup for a client before a specified time > 7: Cancel > Select item: (1-7): > +-------+-----------+---------------------+----------+----------+-----------------+ > | JobId | Client | StartTime | JobLevel | JobFiles | > JobBytes | > +-------+-----------+---------------------+----------+----------+-----------------+ > | 1 | easy | 2003-08-15 12:54:04 | F | 382,412 | > 116,810,520,137 | > | 2 | RG183 | 2003-08-16 01:06:44 | F | 56,119 | > 34,353,601,122 | > | 3 | edifact | 2003-08-16 04:02:48 | F | 12,424 | > 625,942,464 | > | 4 | info | 2003-08-16 04:11:59 | F | 5,918 | > 172,738,591 | > | 5 | bacula-fd | 2003-08-16 04:13:13 | F | 84,342 | > 1,372,013,600 | > | 13 | post | 2003-08-19 10:00:04 | D | 39 | > 47,048,367 | > | 14 | easy | 2003-08-19 10:18:35 | F | 83,715 | > 47,969,191,692 | > | 15 | easy | 2003-08-19 21:00:04 | F | 64,580 | > 5,355,441,264 | > | 19 | bacula-fd | 2003-08-19 23:23:17 | D | 414 | > 216,030,322 | > | 21 | bacula-fd | 2003-08-20 09:36:34 | F | 1 | > 86,524,589 | > | 22 | post | 2003-08-20 10:00:04 | D | 43 | > 47,111,990 | > | 23 | easy | 2003-08-20 10:21:14 | F | 83,715 | > 47,969,192,357 | > | 24 | easy | 2003-08-20 21:00:04 | D | 3,627 | > 4,213,948,373 | > | 25 | RG183 | 2003-08-21 10:38:38 | D | 156 | > 60,719,323 | > | 26 | edifact | 2003-08-21 10:55:00 | D | 121 > | 6,131,255 | > | 27 | info | 2003-08-21 10:56:20 | D | 75 | > 10,696,455 | > | 28 | bacula-fd | 2003-08-21 10:56:41 | D | 448 | > 182,401,526 | > | 30 | post | 2003-08-21 10:58:15 | D | 45 | > 47,195,186 | > | 29 | bacula-fd | 2003-08-21 11:43:32 | F | 1 | > 96,583,793 | > | 31 | easy | 2003-08-21 21:00:04 | D | 3,760 | > 4,226,597,080 | > +-------+-----------+---------------------+----------+----------+-----------------+ > To select the JobIds, you have the following choices: > 1: List last 20 Jobs run > 2: List Jobs where a given File is saved > 3: Enter list of JobIds to select > 4: Enter SQL list command > 5: Select the most recent backup for a client > 6: Select backup for a client before a specified time > 7: Cancel > Select item: (1-7): Selection aborted, nothing done. > No Jobs selected. > > > The Output is not correct, there where jobs yesterday (2003-08-25) as > you can see here: > > > *list jobs > +-------+---------------+---------------------+------+-------+----------+-----------------+-----------+ > | JobId | Name | StartTime | Type | Level | > JobFiles | JobBytes | JobStatus | > +-------+---------------+---------------------+------+-------+----------+-----------------+-----------+ > | 1 | easy | 2003-08-15 12:54:04 | B | F | > 382,412 | 116,810,520,137 | T | > | 2 | RG183 | 2003-08-16 01:06:44 | B | F | > 56,119 | 34,353,601,122 | T | > | 3 | edifact | 2003-08-16 04:02:48 | B | F | > 12,424 | 625,942,464 | T | > > 8< 8< > 8< 8< > 8< > > | 29 | BackupCatalog | 2003-08-21 11:43:32 | B | F | > 1 | 96,583,793 | T | > | 30 | post | 2003-08-21 10:58:15 | B | D | > 45 | 47,195,186 | T | > | 31 | easy | 2003-08-21 21:00:04 | B | D | > 3,760 | 4,226,597,080 | T | > | 32 | RG183 | 2003-08-21 21:45:15 | B | D | > 0 | 0 | f | > | 33 | edifact | 2003-08-21 22:24:19 | B | D | > 131 | 6,289,198 | T | > | 34 | info | 2003-08-21 22:25:30 | B | D | > 75 | 10,700,310 | T | > | 35 | bacula | 2003-08-21 22:25:44 | B | D | > 447 | 183,083,731 | T | > | 36 | BackupCatalog | 2003-08-21 22:27:20 | B | F | > 1 | 97,094,309 | T | > | 37 | post | 2003-08-22 10:00:04 | B | F | > 12,639 | 1,485,790,335 | T | > | 38 | easy | 2003-08-22 14:37:04 | B | F | > 300,568 | 69,636,897,257 | T | > | 39 | RG183 | 2003-08-22 23:04:12 | B | F | > 56,157 | 34,399,787,106 | T | > | 40 | edifact | 2003-08-23 02:01:29 | B | F | > 12,408 | 625,998,266 | T | > | 41 | info | 2003-08-23 02:10:30 | B | F | > 5,919 | 172,890,994 | T | > | 42 | bacula | 2003-08-23 02:11:44 | B | F | > 84,358 | 1,476,548,380 | T | > | 43 | BackupCatalog | 2003-08-23 02:21:43 | B | F | > 1 | 151,795,938 | T | > | 44 | post | 2003-08-25 10:00:04 | B | D | > 38 | 46,435,777 | T | > | 45 | easy | 2003-08-25 21:00:04 | B | D | > 3,284 | 4,139,717,947 | T | > | 46 | RG183 | 2003-08-25 21:45:05 | B | D | > 35 | 14,102,017 | T | > | 47 | edifact | 2003-08-25 22:00:27 | B | D | > 90 | 3,124,069 | T | > | 48 | info | 2003-08-25 22:01:37 | B | D | > 60 | 10,373,477 | T | > | 49 | bacula | 2003-08-25 22:01:55 | B | D | > 106 | 224,356,522 | T | > | 50 | BackupCatalog | 2003-08-25 22:03:31 | B | F | > 1 | 150,748,312 | T | > +-------+---------------+---------------------+------+-------+----------+-----------------+-----------+ > > What is wrong? > > Best regards > Thomas Sturm signature.asc Description: This is a digitally signed message part Previous Message by Thread: click to view message previewWildcards?Reading the documentation I thought I could put in my filesset /etc/bacula/*.conf But when Bacula runs it says: Could not stat /etc/bacula/*.conf: ERR=No such file or directory If I am doing something obviously wrong I apologize. Here is my full fileset. FileSet { Name = "Full Set" Include = compression=GZIP signature=MD5 { /home/parent /etc/apache/conf /etc/proftpd/proftpd.conf /etc/bacula/*.conf } } Thx ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 Next Message by Thread: click to view message previewBacula Storage DaemonHi kern I copied bacula-sd from src/stored to /usr/local/bacula/bin and it was working these days. This night bacula-sd die and this is the traceback. No table info again. Any advice Thanks Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf /usr/local/bacula/working/50710: No such file or directory. 0x2816156c in __sys_poll () from /usr/lib/libc_r.so.4 $1 = "bacula.es.clara.net-sd\000\000\000\000\000\000\000" $2 = 0x80970d8 "bacula-sd" $3 = 0x8096198 "/usr/local/bacula/bin/bacula-sd" $4 = "MySQL" $5 = 0x807bac0 "1.31 (10 Jun 2003)" #0 0x2816156c in __sys_poll () from /usr/lib/libc_r.so.4 #1 0x28160ab8 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 #2 0x2816047d in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 #3 0x0 in ?? () Thread 1 (process 50710, thread 1): #0 0x2816156c in __sys_poll () from /usr/lib/libc_r.so.4 #1 0x28160ab8 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 #2 0x2816047d in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 #3 0x0 in ?? () #0 0x2816156c in __sys_poll () from /usr/lib/libc_r.so.4 No symbol table info available. #1 0x28160ab8 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 No symbol table info available. #2 0x2816047d in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 No symbol table info available. #3 0x0 in ?? () No symbol table info available. /usr/local/bacula/bin/btraceback.gdb:16: Error in sourced command file: No frame 4 -- Alex Torres Molina <ClaraNet S.A.U.> <alex@xxxxxxxxxxxx> ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Web Hosting Reviews from OSDir.com Sister Site iBizWebHosting.com
|
|