[Bacula-users] bacula win32 client with little modifications
Hello List, because i have a backup from a windows client for which i made a fileset with a backslash instead of a slash and portable mode disabled, i will now try to restore the data with a win32 client who changes the backslash while the restore to a slash that the restore can be done. Can someone of you please send me such a client if someone already built it that way? Or can someone send me a cygwin environment with which a build of bacula win32 client is working. regards, Timo --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] win32 compile problems
Hello List, i tried to compile the win32 client, but i get these: [EMAIL PROTECTED] /home/danny/bacula $ make ==Entering directory /home/danny/bacula/src make[1]: Entering directory `/home/danny/bacula/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/danny/bacula/src' ==Entering directory /home/danny/bacula/scripts make[1]: Entering directory `/home/danny/bacula/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/danny/bacula/scripts' ==Entering directory /home/danny/bacula/src/lib make[1]: Entering directory `/home/danny/bacula/src/lib' Make of lib is good make[1]: Leaving directory `/home/danny/bacula/src/lib' ==Entering directory /home/danny/bacula/src/findlib make[1]: Entering directory `/home/danny/bacula/src/findlib' /usr/bin/g++ -c -mwindows -DWIN32_VSS -DHAVE_WIN32 -I. -I.. -g -O2 -Wall -DW IN32_VSS -DHAVE_WIN32 bfile.c In file included from ../bacula.h:97, from bfile.c:26: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2: wa rning: #warning fd_set and associated macros have been defined in sys/types. This may cause runtime problems with W32 sockets In file included from ../bacula.h:97, from bfile.c:26: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:101: err or: redefinition of `struct timeval' /usr/include/sys/time.h:16: error: previous definition of `struct timeval' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:112: err or: redefinition of `struct hostent' /usr/include/netdb.h:73: error: previous definition of `struct hostent' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:120: err or: redefinition of `struct linger' /usr/include/cygwin/socket.h:56: error: previous definition of `struct linger' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:147: err or: redefinition of `struct netent' /usr/include/netdb.h:87: error: previous definition of `struct netent' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:153: err or: redefinition of `struct servent' /usr/include/netdb.h:94: error: previous definition of `struct servent' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:159: err or: redefinition of `struct protoent' /usr/include/netdb.h:102: error: previous definition of `struct protoent' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:328: err or: redefinition of `struct sockaddr' /usr/include/cygwin/socket.h:26: error: previous definition of `struct sockaddr' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:348: err or: redefinition of `struct sockaddr_storage' /usr/include/cygwin/socket.h:38: error: previous definition of `struct sockaddr_ storage' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:528: err or: declaration of C function `SOCKET accept(SOCKET, sockaddr*, int*)' conflicts with /usr/include/sys/socket.h:29: error: previous declaration `int accept(int, socka ddr*, int*)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:529: err or: declaration of C function `int bind(SOCKET, const sockaddr*, int)' conflicts with /usr/include/sys/socket.h:30: error: previous declaration `int bind(int, const s ockaddr*, int)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:531: err or: declaration of C function `int connect(SOCKET, const sockaddr*, int)' confli cts with /usr/include/sys/socket.h:31: error: previous declaration `int connect(int, cons t sockaddr*, int)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:533: err or: declaration of C function `int getpeername(SOCKET, sockaddr*, int*)' conflic ts with /usr/include/sys/socket.h:32: error: previous declaration `int getpeername(int, sockaddr*, int*)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:534: err or: declaration of C function `int getsockname(SOCKET, sockaddr*, int*)' conflic ts with /usr/include/sys/socket.h:33: error: previous declaration `int getsockname(int, sockaddr*, int*)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:535: err or: declaration of C function `int getsockopt(SOCKET, int, int, char*, int*)' co nflicts with /usr/include/sys/socket.h:44: error: previous declaration `int getsockopt(int, i nt, int, void*, int*)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:538: err or: declaration of C function `int listen(SOCKET, int)' conflicts with /usr/include/sys/socket.h:34: error: previous declaration `int listen(int, int)' here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:539: err or: declaration of C function `int recv(SOCKET, char*, int, int)' conflicts with /usr/include/sys/socket.h:35: error: previous declaration
[Bacula-users] restoring windows client with wrong fileset and no compatibilty mode
Hello List, hopefully asking that someone of you had an idea, so that can get the data from the tape. My problem is, that i have the wrong fileset for this win2k3 host. I didn´t read the manual good enough to know that i should specify windows filesets with a / instead a \. Now we had the problem that our server business is lost because of a hard disk crash. And with these filesets and job record we are no unable to restore the data from within bconsole to a unix client because the unix client didn´t understand the win32 data stream and we are unable to restore the data to a windows client because of the \ instead of the /. Do you think rebuilding the bacula client for windows with the option to change \ to / is a way to get our data back? Here are the bacula config directives. Job { Name = DATA_business JobDefs = DefaultJob Level = Full Client = business-fd FileSet = business_data Pool = DATA_full Full Backup Pool = DATA_full Incremental Backup Pool = DATA_inc Differential Backup Pool = DATA_diff Schedule = DATA_cycle Priority = 8 write bootstrap = /data/backup/bacula-bootstraps/data_business.dtnet.de.bsr # Max Run Time = 240 minutes } FileSet { Name = business_data Enable VSS = yes Include { Options { signature = MD5 } File = d:\Backup } } Client { Name = business-fd Address = business FDPort = 9102 Catalog = MyCatalog Password = iWair9qu AutoPrune = yes File Retention = 30 days Job Retention = 60 days } Very much thanks for every helping hint! regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restoring windows client with wrong fileset and no compatibilty mode
Kern Sibbald schrieb: On Thursday 13 April 2006 14:13, Timo Eissler wrote: Hello List, hopefully asking that someone of you had an idea, so that can get the data from the tape. My problem is, that i have the wrong fileset for this win2k3 host. I didn´t read the manual good enough to know that i should specify windows filesets with a / instead a \. Now we had the problem that our server business is lost because of a hard disk crash. And with these filesets and job record we are no unable to restore the data from within bconsole to a unix client because the unix client didn´t understand the win32 data stream and we are unable to restore the data to a windows client because of the \ instead of the /. Do you think rebuilding the bacula client for windows with the option to change \ to / is a way to get our data back? Unfortunately, fixing the problem is not so easy. Beginning with version 1.38.8, Bacula will no longer easily accept backslashes in File directives, which should help in the future to avoid this problem. One user reported success in restoring such broken backups by building the Linux version 1.39.x development code (there is no need to actually install it), then using bextract to extract the files to a Linux system. Note, this will not work on version 1.38, it requires version 1.39. I would additionally recommend that you create a .bsr file using the restore command in 1.38.x and then at the yes/mod/no prompt, copy that file to a safe place then answer the question with no. You can then use the .bsr file thus generated to efficiently restore only those files you actually need with the 1.39.x bextract (which knows how to extract Win32 files to Linux/Unix). You must also use your production bacula-sd.conf with bextract and ensure that the Storage daemon is not running ... Thanks! i will try that an report success... regards, Timo Here are the bacula config directives. Job { Name = DATA_business JobDefs = DefaultJob Level = Full Client = business-fd FileSet = business_data Pool = DATA_full Full Backup Pool = DATA_full Incremental Backup Pool = DATA_inc Differential Backup Pool = DATA_diff Schedule = DATA_cycle Priority = 8 write bootstrap = /data/backup/bacula-bootstraps/data_business.dtnet.de.bsr # Max Run Time = 240 minutes } FileSet { Name = business_data Enable VSS = yes Include { Options { signature = MD5 } File = d:\Backup } } Client { Name = business-fd Address = business FDPort = 9102 Catalog = MyCatalog Password = iWair9qu AutoPrune = yes File Retention = 30 days Job Retention = 60 days } Very much thanks for every helping hint! regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restoring windows client with wrong fileset and no compatibilty mode
Timo Eissler schrieb: Kern Sibbald schrieb: On Thursday 13 April 2006 14:13, Timo Eissler wrote: Hello List, hopefully asking that someone of you had an idea, so that can get the data from the tape. My problem is, that i have the wrong fileset for this win2k3 host. I didn´t read the manual good enough to know that i should specify windows filesets with a / instead a \. Now we had the problem that our server business is lost because of a hard disk crash. And with these filesets and job record we are no unable to restore the data from within bconsole to a unix client because the unix client didn´t understand the win32 data stream and we are unable to restore the data to a windows client because of the \ instead of the /. Do you think rebuilding the bacula client for windows with the option to change \ to / is a way to get our data back? Unfortunately, fixing the problem is not so easy. Beginning with version 1.38.8, Bacula will no longer easily accept backslashes in File directives, which should help in the future to avoid this problem. One user reported success in restoring such broken backups by building the Linux version 1.39.x development code (there is no need to actually install it), then using bextract to extract the files to a Linux system. Note, this will not work on version 1.38, it requires version 1.39. I would additionally recommend that you create a .bsr file using the restore command in 1.38.x and then at the yes/mod/no prompt, copy that file to a safe place then answer the question with no. You can then use the .bsr file thus generated to efficiently restore only those files you actually need with the 1.39.x bextract (which knows how to extract Win32 files to Linux/Unix). You must also use your production bacula-sd.conf with bextract and ensure that the Storage daemon is not running ... Thanks! i will try that an report success... regards, Timo So now i have compiled bacula 1.39.6. Now when i restore this on a linux client i get the following: maintain:/data/restore# ~/bextract -b maintain.dtnet.de-dir.restore.\*Console\*.2006-04-13_14.19.03.bsr -c /etc/bacula/bac la-sd.conf SDX-500V . bextract: butil.c:269 Using device: SDX-500V for reading. 13-Apr 17:45 bextract: 3301 Issuing autochanger loaded drive 0 command. 13-Apr 17:45 bextract: 3302 Autochanger loaded drive 0, result is Slot 1. 13-Apr 17:45 bextract: Ready to read from volume DATA_full-0003 on device SDX-500V (/dev/nst0). 13-Apr 17:45 bextract: Forward spacing to file:block 13:0. bextract: -rwxrwxrwx 1 root root 327 2005-06-23 00:09:34 ./d:\Backup/CanaveralIQ/sicher.bat 13-Apr 17:46 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/CanaveralIQ/sicher.bat not corect. Original 327, restored 543. bextract: drwxrwxrwx 1 root root 0 2005-06-22 23:57:19 *none* bextract: -rwxrwxrwx 1 root root 256391680 2005-06-23 00:32:53 ./d:\Backup/db_rewe_db_20041226 13-Apr 17:46 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20041226 not corect. Original 256391680, restored 256391896. bextract: -rwxrwxrwx 1 root root 263338496 2005-06-23 00:33:23 ./d:\Backup/db_rewe_db_20050130 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050130 not corect. Original 263338496, restored 263338712. bextract: -rwxrwxrwx 1 root root 280312320 2005-06-23 00:33:53 ./d:\Backup/db_rewe_db_20050227 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050227 not corect. Original 280312320, restored 280312536. bextract: -rwxrwxrwx 1 root root 297941504 2005-06-23 00:34:30 ./d:\Backup/db_rewe_db_20050612 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050612 not corect. Original 297941504, restored 297941720. bextract: -rwxrwxrwx 1 root root 298072576 2005-06-22 23:56:15 ./d:\Backup/db_rewe_db_20050619 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050619 not corect. Original 298072576, restored 298072792. bextract: -rwxrwxrwx 1 root root 299121152 2005-06-26 00:00:02 ./d:\Backup/db_rewe_db_20050626 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050626 not corect. Original 299121152, restored 299121352. bextract: -rwxrwxrwx 1 root root 302135808 2005-07-31 00:00:04 ./d:\Backup/db_rewe_db_20050731 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050731 not corect. Original 302135808, restored 302136008. bextract: -rwxrwxrwx 1 root root 303774208 2005-08-28 00:00:03 ./d:\Backup/db_rewe_db_20050828 13-Apr 17:49 bextract
Re: [Bacula-users] restoring windows client with wrong fileset and no compatibilty mode
Timo Eissler schrieb: Timo Eissler schrieb: Kern Sibbald schrieb: On Thursday 13 April 2006 14:13, Timo Eissler wrote: Hello List, hopefully asking that someone of you had an idea, so that can get the data from the tape. My problem is, that i have the wrong fileset for this win2k3 host. I didn´t read the manual good enough to know that i should specify windows filesets with a / instead a \. Now we had the problem that our server business is lost because of a hard disk crash. And with these filesets and job record we are no unable to restore the data from within bconsole to a unix client because the unix client didn´t understand the win32 data stream and we are unable to restore the data to a windows client because of the \ instead of the /. Do you think rebuilding the bacula client for windows with the option to change \ to / is a way to get our data back? Unfortunately, fixing the problem is not so easy. Beginning with version 1.38.8, Bacula will no longer easily accept backslashes in File directives, which should help in the future to avoid this problem. One user reported success in restoring such broken backups by building the Linux version 1.39.x development code (there is no need to actually install it), then using bextract to extract the files to a Linux system. Note, this will not work on version 1.38, it requires version 1.39. I would additionally recommend that you create a .bsr file using the restore command in 1.38.x and then at the yes/mod/no prompt, copy that file to a safe place then answer the question with no. You can then use the .bsr file thus generated to efficiently restore only those files you actually need with the 1.39.x bextract (which knows how to extract Win32 files to Linux/Unix). You must also use your production bacula-sd.conf with bextract and ensure that the Storage daemon is not running ... Thanks! i will try that an report success... regards, Timo So now i have compiled bacula 1.39.6. Now when i restore this on a linux client i get the following: maintain:/data/restore# ~/bextract -b maintain.dtnet.de-dir.restore.\*Console\*.2006-04-13_14.19.03.bsr -c /etc/bacula/bac la-sd.conf SDX-500V . bextract: butil.c:269 Using device: SDX-500V for reading. 13-Apr 17:45 bextract: 3301 Issuing autochanger loaded drive 0 command. 13-Apr 17:45 bextract: 3302 Autochanger loaded drive 0, result is Slot 1. 13-Apr 17:45 bextract: Ready to read from volume DATA_full-0003 on device SDX-500V (/dev/nst0). 13-Apr 17:45 bextract: Forward spacing to file:block 13:0. bextract: -rwxrwxrwx 1 root root 327 2005-06-23 00:09:34 ./d:\Backup/CanaveralIQ/sicher.bat 13-Apr 17:46 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/CanaveralIQ/sicher.bat not corect. Original 327, restored 543. bextract: drwxrwxrwx 1 root root 0 2005-06-22 23:57:19 *none* bextract: -rwxrwxrwx 1 root root 256391680 2005-06-23 00:32:53 ./d:\Backup/db_rewe_db_20041226 13-Apr 17:46 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20041226 not corect. Original 256391680, restored 256391896. bextract: -rwxrwxrwx 1 root root 263338496 2005-06-23 00:33:23 ./d:\Backup/db_rewe_db_20050130 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050130 not corect. Original 263338496, restored 263338712. bextract: -rwxrwxrwx 1 root root 280312320 2005-06-23 00:33:53 ./d:\Backup/db_rewe_db_20050227 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050227 not corect. Original 280312320, restored 280312536. bextract: -rwxrwxrwx 1 root root 297941504 2005-06-23 00:34:30 ./d:\Backup/db_rewe_db_20050612 13-Apr 17:47 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050612 not corect. Original 297941504, restored 297941720. bextract: -rwxrwxrwx 1 root root 298072576 2005-06-22 23:56:15 ./d:\Backup/db_rewe_db_20050619 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050619 not corect. Original 298072576, restored 298072792. bextract: -rwxrwxrwx 1 root root 299121152 2005-06-26 00:00:02 ./d:\Backup/db_rewe_db_20050626 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050626 not corect. Original 299121152, restored 299121352. bextract: -rwxrwxrwx 1 root root 302135808 2005-07-31 00:00:04 ./d:\Backup/db_rewe_db_20050731 13-Apr 17:48 bextract: bextract Error: attribs.c:394 File size of restored file ./d:\Backup/db_rewe_db_20050731 not corect. Original 302135808, restored 302136008. bextract: -rwxrwxrwx 1 root root 303774208 2005-08-28 00:00:03 ./d:\Backup/db_rewe_db_20050828
[Bacula-users] autochanger problem with slots
Hello, i have just upgraded from 1.36.0 to 1.38.2. And now i can´t do an update slots command for my autochanger, because i will only get *update Using default Catalog name=MyCatalog DB=bacula Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 The defined Storage resources are: 1: File 2: LIB-D81_changer 3: DLT-4000 Select Storage resource (1-3): 2 Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... 3306 Issuing autochanger slots command. Device LIB-D81 has 0 slots. No slots in changer to scan. This is going to make me crazy, because i think i upgraded my configs the right way. bacula-dir.conf Storage { Name = LIB-D81_changer Address = maintain.dtnet.de SDPort = 9103 Password = iWair9qu Device = LIB-D81 MediaType = AIT-2 Autochanger = yes Maximum Concurrent Jobs = 1 } bacula-sd.conf Autochanger { Name = LIB-D81 Device = SDX-500V Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d } Device { Name = SDX-500V Description = Sony SDX-500V Drive Index = 0 Media Type = AIT-2 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = yes RemovableMedia = yes RandomAccess = no Label media = no Autochanger = yes Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Spool Directory = /srv/bacula-spool/LIB-D81 Maximum Spool Size = 32212254720 } Please can someone show me a way to solve this problem? I tested so much thinks like /etc/bacula/scripts/mtx-changer /dev/sg2 slots 1 /dev/nst0 0 which gives me the correct number of slots. I think i can´t solve this my own. Thanks for any help. regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] autochanger problem with slots
Sorry i made a stupid little mistake... The user bacula has no right to execute the mtx-changer script! The problem was, that doing an update slots or mount command there was no hint. But now i run umount which says that it has no permission. Sorry! Timo Eissler schrieb: Hello, i have just upgraded from 1.36.0 to 1.38.2. And now i can´t do an update slots command for my autochanger, because i will only get *update Using default Catalog name=MyCatalog DB=bacula Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 The defined Storage resources are: 1: File 2: LIB-D81_changer 3: DLT-4000 Select Storage resource (1-3): 2 Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... 3306 Issuing autochanger slots command. Device LIB-D81 has 0 slots. No slots in changer to scan. This is going to make me crazy, because i think i upgraded my configs the right way. bacula-dir.conf Storage { Name = LIB-D81_changer Address = maintain.dtnet.de SDPort = 9103 Password = iWair9qu Device = LIB-D81 MediaType = AIT-2 Autochanger = yes Maximum Concurrent Jobs = 1 } bacula-sd.conf Autochanger { Name = LIB-D81 Device = SDX-500V Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d } Device { Name = SDX-500V Description = Sony SDX-500V Drive Index = 0 Media Type = AIT-2 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = yes RemovableMedia = yes RandomAccess = no Label media = no Autochanger = yes Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Spool Directory = /srv/bacula-spool/LIB-D81 Maximum Spool Size = 32212254720 } Please can someone show me a way to solve this problem? I tested so much thinks like /etc/bacula/scripts/mtx-changer /dev/sg2 slots 1 /dev/nst0 0 which gives me the correct number of slots. I think i can´t solve this my own. Thanks for any help. regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula runs smooth several days and then hangs...
Hello Christian, i found these bug who matches my criteria: http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=228 do you mean this bug? hmm i think i should build bacula from source and i won´t get the problem anymore... Masopust Christian schrieb: Hello Timo, i had this a long time ago (but built my bacula from source). have a look at baculas-bug page, there is a fix for this problem... christian p.s.: if you don't find it write back, i'll have a look and send you the modified file... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timo Eissler Sent: Thursday, October 27, 2005 9:33 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Bacula runs smooth several days and then hangs... Hello List, our bacula runs smooth for severall weeks, but now it is crazy, it runs smooth severall days and for any reason it hangs. OS: debian 3.1 sarge (updated frequently) Linux: 2.6.8.1 Bacula: 1.36.2-2sarge1 Mysql: 4.0.24-10sarge1 I tried to debug this problem, and find no real solution for it. I noticed that a restart of the bacula daemons did not solve the problem everytime. When i strace bacula-dir i see the following: futex(0x80c5680, FUTEX_WAIT, 2, NULL When i strace bacula-sd i see the following: select(5, [4], NULL, NULL, NULL Whenn i strace bacula-fd i see the following: select(4, [3], NULL, NULL, NULL I am not so good in c that i can understand what every of this functions may do... I thought it can be a problem mysql so i connected to mysql, which works without problems... This is the processlist i get: mysql show processlist; +++---++-+--+---+- -+ | Id | User | Host | db | Command | Time | State | Info | +++---++-+--+---+- -+ | 25 | bacula | localhost | bacula | Sleep | 2807 | | NULL | | 27 | root | localhost | NULL | Query | 0| NULL | show processlist | +++---++-+--+---+- -+ 2 rows in set (0.00 sec) Because of the Sleep i am completly helpless. I hoped i will find the problem in mysql but nothing... Anybody a hint to solve this? regards, Timo --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cleaning Tape Drive
Hello List, i know i asked this already, but i didn´t get an answer who solves this yet. sorry... How can i get bacula to run every saturday a cleaning tape in my library? I already get the message that i should use an admin job, but how can i say use slot 8 from library? The cleaning tape has no Label so i couldn´t call it that way. Thanks for every hint! How do you clean your tape drives? Manually? regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] generic question about jobs
Hello, we have 68 jobs, with 34 clients. In other Backup programs i used before i switched to bacula i had 2 jobs with these 34 clients. Now every client must have it´s own job. I don´t want to read 68 short emails every day. I think it is better to have 2 long emails in which all clients of these job are, but this is not my main problem. Now to my question, is it possible to group jobs of clients? or will it be a feature in the near future that one job can have more clients? My problem is that if i add a client, i must change the max volume jobs for every pool who a backup of these client should go to. If i don´t want to let the backup jobs from tuesday go to the same tape as from monday, i must increase the max volume jobs by 1 instead of set max volume jobs to something utopian like . I hope you understand what i want and forgive my bad english. regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] automatic cleaning
Chris Lee schrieb: I would just create an admin job that loads a cleaning tape and schedule that job to run whenever you want a scheduled cleaning. You could also manually run the job if you get soft errors after some large backup job or something. Creating Admin jobs like this is covered in the manual online. Please can you give me a link to the page in the online manual who describes this? I searched the manual, but i didn´t find it. regards, Timo Thanks, Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timo Eissler Sent: Thursday, 04 August, 2005 07:12 To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] automatic cleaning Hello, is it possible to let bacula clean my tapedrive every sunday? thanks for every answer. regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] howto update media catalog when changing autochanger magazin?
Hello, i don´t want to do an update slots scan manually everytime i change the magazin or change a volume. What´s the best way to let this do automatically? A cronjob befor every backup who starts bconsole with an update slots scan command. or A run before job directive who do an update slots scan? thanks for every hint. grZ Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how to get some information about tapes
Hello, how can i get a list of tapes with which i can make a full restore of everything? how can i get a email with the tapes i should put into the changer for today´s, tomorrow´s backup? regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup to disk with later copying to tape
Hello List, i just wanted to ask if someone knows when this feature (topic) will be available (http://www.bacula.org/rel-manual/Data_Spooling.html on this link stands in a future version). i will be happy if someone can explain me another good way to store a nightly backup on disk for fast restore (are these files? or must they be restored with the console, or bextract or something else?) with the option to save this backup later to tape. regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users