[Bacula-users] canceled job still in running job section
Hi All I contact you because I don't succeed to cancel my job. This morning I have numerous Job in running job section in bconsole. I have some problem that I will fix but for the moment I want to stop properly all running jobs. So I use the cancel command, then my job is marked canceled : JobId 28415, Job X-Job.2009-06-29_03.20.00.20 marked to be canceled. But the job stay in running section. What can I do ? If I don't stop the job properly with restarting the dameon, I know that I will have wrong information in my Catalog and I will have to modify the Catalog with query. If someone has an idea, I will arreciate. Thanks Regards François -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to send a mail after a Job ?
use /bacula/examples/reports/report.pl with crontab Regards, François Mehault Netplus Communication -Message d'origine- De : Tolj Mario [mailto:mario.t...@champittet.ch] Envoyé : mercredi 10 juin 2009 11:56 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] How to send a mail after a Job ? Hello, Sorry if my english isn't very well. I'm trying to configure Bacula to send me a mail after a Job (Succes or Error, etc...). but i'm not sure how to configure that. My Linux server is in my windows Active Directory, so i try to send a mail to two of my Active Directory users (us...@test.ch and us...@test.ch) In the bacula-dir.conf i'have try to only put the email addresses in the Message ressource separated by a ; but it doesn't work. I think it's a little bit more complicated than that :) Messages { Name = Standard mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] volume statut Used instead of Append so Backup failed
Hi All I have a strange problem today with my Bacula. Some jobs are running because they are waiting a volume to write. Well I investigate and see that some Pool have all volumes with statut Used. This is my weekly policy : MediaId | VolumeName| VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+---+---+-+--+--+--+-+--+---+---+-+ | 395 | Client-Daily-0395 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-09 04:20:02 | | 414 | Client-Daily-0414 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-03 04:20:03 | | 444 | Client-Daily-0444 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-04 04:20:03 | | 527 | Client-Daily-0527 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-06 04:20:03 | | 554 | Client-Daily-0554 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-05 04:20:03 | | 585 | Client-Daily-0585 | Used | 1 | 809 |0 | 518,400 | 1 |0 | 0 | File | 2009-06-08 04:20:02 | Well, let's focus on the volume 414 / Client-Daily-0414, his volume retention is 518,400 ( = 6 days), and it was written the last time at 2009-06-03 04 :20 :03, so I conclude that today 2009-06-10, this volume has to be Append and not Used. Well, I use the update command to change the status of this volume. And just after bacula moves the statut Append to User : 10-Jun 10:57 mammouth-dir JobId 0: Max configured use duration exceeded. Marking Volume Client-Daily-0414 as Used. I try also to reduce the volume retention and update again the status to Append, but it's the same result, Bacula always marks Volume Client-Daily-0414 as Used. All works since 1 month, so I don't understand why there is a problem now. Someone can help me ? I can provide you all information you need to help me to fix my problem. If I don't find the solution today, backup will fail tomorrow again. Regards, François Mehault Netplus Communication Ps : bacula version 2.4.4 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] different information about running job between catalog and bacula-dir
Hi All This morning I have a strange problem with my Bacula : I have a running job which must be finished. (see with bconsole status dir) Well I restart daemon bacula-dir, bacula-sd, then , still in bconsole, I did a « status client=clientName » : *status client=clientName Connecting to Client clientName at 172.29.2.3:9102 jasmin Version: 2.2.8 (26 January 2008) VSS Linux Cross-compile Win32 Daemon started 04-May-09 12:20, 27 Jobs run since started. Heap: heap=0 smbytes=88,594 max_bytes=303,997 bufs=127 max_bufs=237 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1 Running Jobs: JobId 27110 Job CLIENT-Job.2009-05-23_08.03.48.45 is running. Backup Job started: 23-May-09 09:04 Files=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDReadSeqNo=5 fd=5804 JobId 27265 Job CLIENT-Job.2009-05-28_00.05.00.25 is running. System or Console Job started: 28-May-09 00:05 Files=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDReadSeqNo=3 fd=5764 Director connected at: 28-May-09 09:53 Then : *status dir [...] Running Jobs: No Jobs running. So I have a different information between my bacula-dir and my catalog, I would like to have the same information, someone can help me please ?? Thanks, Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] running jobs in DB Catalog
Hi All I have two jobs which are running in my DB Catalog for one client, and no jub running in my bacula-dir for this client, I would like to correct information in my Catalog. As I have this problem, my client can't be saved. And I don't succeed to cancel the jobs with the cancel command in bconsole as there is no running job for the director. Help will be really appreciated. Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] running jobs in DB Catalog
Well, I decided to see directly in the Catalog : mysql select JobId, JobStatus, PoolId, Level from Job where JobId=27110; +---+---++---+ | JobId | JobStatus | PoolId | Level | +---+---++---+ | 27110 | R | 34 | F | +---+---++---+ 1 row in set (0.00 sec) mysql select JobId, JobStatus, PoolId, Level from Job where JobId=27265; +---+---++---+ | JobId | JobStatus | PoolId | Level | +---+---++---+ | 27265 | R | 84 | I | +---+---++---+ 1 row in set (0.00 sec) As you can see, this two job have JobStatus = R (for running), and it's wrong. I think I could do that : update Job set JobStatus = 'T' where JobId = 27110; update Job set JobStatus = 'T' where JobId = 27265; but I don't know if it's really a good idea, someone can say me if I am wrong or not ? and I read also about dbchek, I don't know if this tool can help me to solve my problem... Regards, François De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : jeudi 28 mai 2009 11:27 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] running jobs in DB Catalog Hi All I have two jobs which are running in my DB Catalog for one client, and no jub running in my bacula-dir for this client, I would like to correct information in my Catalog. As I have this problem, my client can't be saved. And I don't succeed to cancel the jobs with the cancel command in bconsole as there is no running job for the director. Help will be really appreciated. Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ERR=Access is denied
Hi All I contact you because I have a problem that I don't know solve. I have a job which works like this : 21-Apr-2009 Backup OK -- with warnings 20-Apr-2009 Backup OK 19-Apr-2009 Backup OK -- with warnings 18-Apr-2009 Backup OK 17-Apr-2009 Backup OK -- with warnings 16-Apr-2009 Backup OK 15-Apr-2009 Backup OK -- with warnings 14-Apr-2009 Backup OK [...] And when it succeed with warnings, I have in my log : 21-Apr 04:09 sql JobId 25948: ClientRunBeforeJob: run command cscript.exe //NoLogo //T:10 D:\Bacula\scripts\bacula_sql_prejob.wsf /d:S:\toto.bak /f:S:\toto.bak\_SAV_CLIENT_OK.TXT 21-Apr 04:09 sql JobId 25948: ClientRunBeforeJob: Everything is OK before backup 21-Apr 04:09 serveur-sd JobId 25948: Recycled volume JOB-Daily-0393 on device Client-Device (/3/client/bacula/client), all previous data lost. 21-Apr 04:09 sql JobId 25948: Generate VSS snapshots. Driver=VSS Win 2003, Drive(s)=S 21-Apr 04:09 sql JobId 25948: Could not stat S:/toto.bak: ERR=Access is denied.^M I have in my Job : Client Run Before Job = cscript.exe //NoLogo //T:10 D:\\Bacula\\scripts\\bacula_sql_prejob.wsf /d:\S:\\toto.bak\ /f:\S:\\toto.bak\\_SAV_CLIENT_OK.TXT\ Client Run After Job = del /F /Q S:\\toto.bak\\_SAV_LSG_OK.TXT Why a day bacula is able to stat S:/toto.bak and the next day it can't ??? Regards Francois -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client d ans un job
Pour chaque client que tu sauvegardes, tu déclares une ressource Client. Ensuite pour chaque client tu déclares une ressource Job, et tous tes jobs appellent la même ressource Fileset (là où tu dit que tu sauvegardes le home_dir). Et dans bconsole tu fais run et tu lances un des jobs que tu as crée. Cdt. François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 15:32 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Présentation + plusieurs client dans un job Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client d ans un job
Non, on ne peut pas avoir 20 client avec 20 fileset. Bon je vais essayer de m'éxpliquer: Imaginons on a 3 serveurs différents à sauvegarder, on déclare donc trois ressources client A, B et C. Sur le client A et C on sauvegarde le répertoire /tmp et sur le client B on sauvegarde /usr. On va donc créer deux Filset 1 et 2, un qui dit qu'on sauvegarde le répertoire /tmp, et un deuxième pour le répertoire /usr. Ensuite comme on a 3 clients, on crée 3 Jobs: Jab-A, Job-B et Job-C. Dans Job-A et Job-C on appelle le Fileset 1 Et Job-B le fileset 2. Client A Client B Client C Fileset 1 /tmp Fileset 2 /usr Job-A {Client A et Fileset 1} Job-B {Client B et Fileset 2} Job-C {Client C et Fielset 1} Bon c'est très simplifié j'éspère que tu vois ce que je veux dire. Et si jamais le bacula-dir.conf devient énorme, on peut le diviser en plein de petit fichier .conf et on utilise @include Enfin le meiux pour comprendre Bacula, c'est de lire la doc :D, c'est un peu long mais bon c'est bien documenté, on va pas se plaindre. Désolé aux personnes qui ne parle pas Français ! Il va falloir parler anglais si tu postes sur bacula-users. Cdt François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 16:26 À : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Présentation + plusieurs client dans un job Je vous remercie pour votre réponse mais j'y vois un soucis. Si j'ai 20 Clients et 20 FileSet, je vais donc avoir 20*20 jobs. C'est à ça que je pensais dans l'usine à gaz. Alors que si une astuce permet d'avoir seulement 20 jobs ça serait le top. Encore merci d'avance. François Mehault a écrit : Pour chaque client que tu sauvegardes, tu déclares une ressource Client. Ensuite pour chaque client tu déclares une ressource Job, et tous tes jobs appellent la même ressource Fileset (là où tu dit que tu sauvegardes le home_dir). Et dans bconsole tu fais run et tu lances un des jobs que tu as crée. Cdt. François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 15:32 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Présentation + plusieurs client dans un job Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 2 storages, 2 jobs, 1 volume - possible ?
Hi all, I contact you because I need to understand very well the behavior of bacula in a particular case. I have two jobs which write in the same Pool/Volume, but they use different Storage. They are executed at the same time. In my Pool, I have VolumeRetention = 30d and Maximum Volumes = 31. So I want to have one volume by day. But, the problem is I have currently 2 new volumes by day rather than one ! (with volume status = Append). I have currently 8 volumes, I launched these jobs 4 days ago. Why my job don't write in the same volume ??? Thanks for your response, Regards François -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 2 volumes Append the same day ??
HI All I have two jobs wich write in the same volume, same pool, same schedule and use 2 differents storage. And I ask myself why today there is two volumes rather than one : 519 | TOTO-Daily-0519 | Append| 1 | 606,410,544 |0 | 2,592,000 | 1 |0 | 0 | File | 2009-04-15 03:13:58 | 522 | TOTO-Daily-0522 | Append| 1 | 278,766,219 |0 | 2,592,000 | 1 |0 | 0 | File | 2009-04-15 03:19:34 | Configuration : Pool { Name = TOTO-DailyCycle Pool Type = Backup AutoPrune = yes VolumeRetention = 30d Maximum Volumes = 31 Recycle = yes Recycle Oldest Volume = yes Volume Use Duration = 12 hours Label Format = TOTO-Daily- } Job { Name = TOTO1-BDD-Job JobDefs = TOTO-Jobdefs Client = tata FileSet = BDD-Fileset Pool = TOTO-DailyCycle Storage = TOTO1Storage Client RunBeforeJob = /0/bacula/scripts/make_sql_backup Client RunAfterJob = /0/bacula/scripts/delete_sql_backup Write Bootstrap = /0/bacula/bsr/TOTO1-BDD.bsr } Job { Name = TOTO2-BDD-Job JobDefs = TOTO-Jobdefs Client = titi FileSet = BDD-Fileset Storage = TOTO2Storage Pool = TOTO-DailyCycle Client RunBeforeJob = /0/bacula/scripts/make_sql_backup Client RunAfterJob = /0/bacula/scripts/delete_sql_backup Write Bootstrap = /0/bacula/bsr/TOTO2-BDD.bsr } -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] webacula can't restore
Hi All I used webacula to do some restore, but I saw that it can't. I use bacula 2.4.4 and webacula 1.4. Well, I started a restore with webacula, I executed and i saw the director : Sortie du directeur: Connecting to Director localhost:9101 1000 OK: labobe2-dir Version: 2.4.4 (28 December 2008) Enter a period to cancel a command. mount LAB3Storage Automatically selected Catalog: MyCatalog Using Catalog MyCatalog 3906 File device LAB3Device (/usr/home/netplus/labobe3/bacula) is always mounted. You have messages. @sleep 10 restore jobid=160 restoreclient=labobe3 client=labobe3 where=C:/bacula-restores storage=LAB3Storage pool=LAB3Rep2DailyCycle fileset=LAB2Rep2FileSet all done yes You have selected the following JobId: 160 Building directory tree for JobId 160 ... 1 Job, 6 files inserted into the tree and marked for extraction. Bootstrap records written to /var/db/bacula/labobe2-dir.restore.2.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === LAB3Rep2Daily-0045LAB3Storage LAB3Device 6 files selected to be restored. The defined Restore Job resources are: 1: LAB2Rep1RestoreFilesJob 2: LAB2Rep2RestoreFilesJob 3: LAB1Rep1RestoreFilesJob 4: LAB1Rep2RestoreFilesJob 5: LAB3Rep1RestoreFilesJob 6: LAB3Rep2RestoreFilesJob Select Restore Job (1-6): @sleep 10 status dir Expected a positive integer, got: status dir Select Restore Job (1-6): @quit So I copy this line « restore jobid=160 restoreclient=labobe3 client=labobe3 where=C:/bacula-restores storage=LAB3Storage pool=LAB3Rep2DailyCycle fileset=LAB2Rep2FileSet all done yes » and put it in bconsole. Then bconsole ask me to define a Restore Job ressources. So I search to have the same line with directive like « jobrestore=LAB3Rep2RestoreFilesJob » or « restorejob=LAB3Rep2RestoreFilesJob » But I had : *restore jobid=160 restoreclient=labobe3 client=labobe3 where=C:/bacula-restores storage=LAB3Storage pool=LAB3Rep2DailyCycle fileset=LAB2Rep2FileSet all done yes jobrestore=LAB3Rep2RestoreFilesJob Unknown keyword: jobrestore [...] Unknown keyword: restorejob I search the good directive. Then I could correct my webacula source. Someone knows the good instruction ? Thanks, Regards François -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Broken Pipe messages
Could you give me this information about the job: Start time Schedule time End time Max wait time I have maybe an idea.. François -Message d'origine- De : Stefan Sorin Nicolin [mailto:bac...@nicolinux.org] Envoyé : lundi 30 mars 2009 13:14 À : Bacula-users@lists.sourceforge.net Objet : [Bacula-users] Broken Pipe messages Hi, I am getting more and more messages like this although the Bacula jobs do finish fine: 29-Mär 03:16 db-backup-dir JobId 0: Error: bsock.c:306 Write error sending 79 bytes to client:192.168.1..236:36131: ERR=Broken pipe The IP mentioned in the message ist the one from the vServer where the director is running. Does anybody knows what this could be? Thanks Stefan Sorin Nicolin http://nicolinux.org --- Unix guy, Mac head, Rails wannabe, iPhone Dev-ious, Computer Science alumnus, usability guesspert and overall big time visionary -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Broken Pipe messages
Yes, in fact I had the same error as you, See in the log (maybe /var/db/bacula/log) information about the job which failed. You will Schedule Time, Start time, end Time and Elasped Time. About max wait time, you could find this directive in the ressource Job in the director. Give me this information, also you can see this page http://bacula.org/en/dev-manual/Bacula_Freque_Asked_Questi.html#SECTION003734 Regards, -Message d'origine- De : Stefan Sorin Nicolin [mailto:bac...@nicolinux.org] Envoyé : lundi 30 mars 2009 14:46 À : François Mehault Cc : Bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Broken Pipe messages Hi, well I don't know wich Job is the culprit. JobId 0 can't be - I have already 48k jobs and this problem appeared just a few days ago. However the director is configured with this: FDConnectTimeout = 3 min SDConnectTimeout = 5 min and every client with: SDConnectTimeout = 2 min I also don't have any max wait time defined (still using Bacula 2.2.8 - don't know if it is valid there). Thanks much Stefan On 30.03.2009, at 13:22, François Mehault wrote: Could you give me this information about the job: Start time Schedule time End time Max wait time I have maybe an idea.. François -Message d'origine- De : Stefan Sorin Nicolin [mailto:bac...@nicolinux.org] Envoyé : lundi 30 mars 2009 13:14 À : Bacula-users@lists.sourceforge.net Objet : [Bacula-users] Broken Pipe messages Hi, I am getting more and more messages like this although the Bacula jobs do finish fine: 29-Mär 03:16 db-backup-dir JobId 0: Error: bsock.c:306 Write error sending 79 bytes to client:192.168.1..236:36131: ERR=Broken pipe The IP mentioned in the message ist the one from the vServer where the director is running. Does anybody knows what this could be? Thanks Stefan Sorin Nicolin http://nicolinux.org --- Unix guy, Mac head, Rails wannabe, iPhone Dev-ious, Computer Science alumnus, usability guesspert and overall big time visionary -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Stefan Sorin Nicolin http://nicolinux.org --- Unix guy, Mac head, Rails wannabe, iPhone Dev-ious, Computer Science alumnus, usability guesspert and overall big time visionary -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brief reporting
You can see also webacula. Regards, François -Message d'origine- De : Uwe Schuerkamp [mailto:hoo...@nionex.net] Envoyé : jeudi 26 mars 2009 09:20 À : Bill Szkotnicki Cc : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] brief reporting On Wed, Mar 25, 2009 at 04:02:08PM -0400, Bill Szkotnicki wrote: Hi, I was wondering if there is a command line tool that could produce a brief report on the status of a client's backups. I have bacula set up to do PC client backups every day and I would like to basically sent each client an email once a week ( on a crontab ) informing him or her that all is well with the backups. Thank you, Bill Hi Bill, I guess you chould achieve something towards that goal by doing a bit of bconsole scripting, for instance by doing a query command for the client in question, formatting the output a bit and then piping the result to mail or mutt -s to send the report, or you could just send a link to a bacula-web generated page. HTH, Uwe -- uwe.schuerk...@nionex.net phone: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Guetersloh, Germany Registergericht Guetersloh HRB 4196, Geschaeftsfuehrer: Horst Gosewehr NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how restore a file with accent ?
Hi All I would like to know how I could restore a file which has some accent. I want to restore with bconsole, In bconsole : * * *restore [...] $ ls héhé lol.txt $ mark h And i can't mark my file :s, and I can't rename the file (it is the file of my customer) Regards, François -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Pruning oldest volume / File System Full
Hi, I have a problem this morning, all my jobs had status « is waiting », they was like that because my bacula-dir tried to prune an oldest volume. This volume is on a disk which is full, so I think that's why bacula-dir didn't succeed to prune the volume. But i can't fix the problem about file system full today. And i would like that others jobs which use others volumes on others disks which are not full, can be accomplished correctly. Could you confirm me that : « when a disk is filesystem full, a volume on this disk can't be prunned » ? The oldest volume status is currently « Used », AutoPrune = yes, Recycle =yes, Recycle oldest volume = yes. Regards, François -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pruning oldest volume / File System Full
No they are on a different filesystem. I try to recycle manually a volume, i followed instructions on this page http://bacula.org/en/dev-manual/Automatic_Volume_Recycling.html#SECTION00258 , but it permits only to change the volume status and not delete the data in the volume like I want. I ask myself if I delete the volume and create a new with the same name ... -Message d'origine- De : John Drescher [mailto:dresche...@gmail.com] Envoyé : jeudi 12 mars 2009 14:26 À : François Mehault; bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Pruning oldest volume / File System Full I have a problem this morning, all my jobs had status « is waiting », they was like that because my bacula-dir tried to prune an oldest volume. This volume is on a disk which is full, so I think that's why bacula-dir didn't succeed to prune the volume. But i can't fix the problem about file system full today. And i would like that others jobs which use others volumes on others disks which are not full, can be accomplished correctly. Could you confirm me that : « when a disk is filesystem full, a volume on this disk can't be prunned » ? The oldest volume status is currently « Used », AutoPrune = yes, Recycle =yes, Recycle oldest volume = yes. Is the database on the same filesystem as the storage? John -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] split the catalog
Hi All, For now, all jobs write in the same catalog. We grouped the jobs and we want that every group use it's own catalog. Is there any way to split a catalog to may different catalogs ?? And also split the file bacula.log ? Regards, François -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] split the catalog
Yes we know that we can define different catalog in bacula-dir, but the current situation is that all jobs write in the same catalog, and we would like to know if we define a second catalog in bacula-dir and redefine some jobs to work with the new catalog, what is the precautions to take before the changement, to avoid to lose some data? And we would like to know if there is a possibility to have one log file by catalog. -Message d'origine- De : Graham Keeling [mailto:gra...@equiinet.com] Envoyé : mardi 10 mars 2009 11:48 À : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] split the catalog On Tue, Mar 10, 2009 at 10:59:12AM +0100, Fran?ois Mehault wrote: For now, all jobs write in the same catalog. We grouped the jobs and we want that every group use it's own catalog. Is there any way to split a catalog to may different catalogs ?? And also split the file bacula.log ? Hello, I think you can define multiple catalogs in bacula-dir.conf. You can say which catalog each client uses. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] report for bacula
Hi All I would like to know what is the best way to do some report with bacula. I am studying bacula-web and webacula, i read also there is script for logwatch. In fact i have customers who have for each several clients (server) and i need to have statistics (files, bytes, ...) for each customers. Bacula-web can't do this. I will install webacula to see if it is able to do that. With bacula-web i have general information and information for each Pool, job, but i need to gather this information for each customers. Is there a solution to do that ? All my Jobs, Pools, Volumes are labeled with the name of their customers. Regards, François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Could not stat ... ERR=The system cannot find the path specified.^M
Hi All I would like to know if it's possible to backup something on a dataStore (where there is no DIR and SD daemon, just disks). My client is a Windows server 2003 (bacula-fd) , my bacula-dir/sd is on a freeBSD, and I want to backup my client in another place which is not a bacula-dir, sd, fd ... In my bacula-dir on my freeBSD: FileSet { Name = xxx Enable VSS = no Include { Options { compression = GZIP ignore case = yes } File = J:/BACKUP } } In my log I have this error : 25-Feb 18:00 xxx: Could not stat J:/BACKUP: ERR=The system cannot find the path specified.^M J:/ is a virtual disk on my Windows client, which is my dataStore, the place where I want to backup my client Thanks for your help François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Could not stat ... ERR=The system cannot find the path specified.^M
I read my mail and i say myself that i have to give you more details In fact I have a ClientRunBefore and ClientRunAfter for my job. The ClientRunBefore creates the directory BACKUP on the datastore (J:/ virtual disk on the client ), it's a directory for dump of a database of my client (bacula-fd). Then I have to save this dump on my freeBSD (bacula-fd, bacula-sd) so my FreeBSD have to contact the dataStore via my client, that is why I put in the ressource FileSet, the directive File = « J:/BACKUP » ClientAfterJob removes the directory BACKUP on the datastore. DataStore-- Client Windows-- - FreeBSD Just disks | bacula-fd | bacula-dir, bacula-sd A disk for the dump | database to save | Of the database But i have this error 25-Feb 18:00 xxx: Could not stat J:/BACKUP: ERR=The system cannot find the path specified.^M And in want to know in general if it's possible to backup something on a dataStore (where there is no DIR, SD daemon and impossible to install also a FD daemon, just disks). My client is a Windows server 2003 (bacula-fd) , my bacula-dir/sd is on a freeBSD, and I want to backup my client in another place which is not a bacula-dir, sd, fd ... Regards, François De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : jeudi 26 février 2009 13:51 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Could not stat ... ERR=The system cannot find the path specified.^M Hi All I would like to know if it's possible to backup something on a dataStore (where there is no DIR and SD daemon, just disks). My client is a Windows server 2003 (bacula-fd) , my bacula-dir/sd is on a freeBSD, and I want to backup my client in another place which is not a bacula-dir, sd, fd ... In my bacula-dir on my freeBSD: FileSet { Name = xxx Enable VSS = no Include { Options { compression = GZIP ignore case = yes } File = J:/BACKUP } } In my log I have this error : 25-Feb 18:00 xxx: Could not stat J:/BACKUP: ERR=The system cannot find the path specified.^M J:/ is a virtual disk on my Windows client, which is my dataStore, the place where I want to backup my client Thanks for your help François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup cifs fileset
Hi All I have to backup a dump of a database which is on a remote disk (cifs) of my client machine (bacula-fd). I succeed to backup something which is on the disk C:/ (disk system of my client) but I don't succeed to backup on the disk J:/ , the remote disk. How can I succeed to do this ? Bacula-dir : FileSet { Name = xxx Enable VSS = no Include { Options { signature = MD5 compression = GZIP } File = C:/test File = J:/test } } Log : Could not stat J:/test: ERR=The system cannot find the path specified Regards, François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] use of multiple tape drives
Have you precised the directives Max concurrent jobs in the Director, Job, Client, and Storage resources. ? http://www.bacula.org/en/dev-manual/Tips_Suggestions.html#SECTION003817 De : rjustinwilli...@gmail.com [mailto:rjustinwilli...@gmail.com] Envoyé : jeudi 26 février 2009 16:34 À : Bacula-users@lists.sourceforge.net Objet : [Bacula-users] use of multiple tape drives Hi all I have a tape library w/ 2 drives. I have max jobs set to 3 in bacula-dir.conf I have autoselect set to yes in bacula-sd.conf For some reason, when I am trying to run 2 concurrent jobs of the same of different priority, Bacula is only using 1 tape drive. Obviously, I am missing something, but, kinda stumped as to what that might be. Anybody have some pointers on a direction I need to be checking? Thanks! -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup cifs fileset
Thanks a lot John Drescher and Berend Dekens for your help !!! Regards, François -Message d'origine- De : Berend Dekens [mailto:ber...@cyberwizzard.nl] Envoyé : jeudi 26 février 2009 17:04 À : François Mehault Cc : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] backup cifs fileset François Mehault wrote: Could not stat J:/test: ERR=The system cannot find the path specified The short answer: you can't - not like that anyway. The networked drive you create on windows only exists for the current user or even the current session of that user. Since bacula runs as a service, it will not see the remote drive. You have 3 options here: 1. Mount the remote FS on the backup server and unmount afterwards 2. Install a file daemon on the remote system you want to back up in the first place (unless you have a good reason not to). 3. Run 'net use //yourserver/share J:' or similar to mount the drive using the system account on windows before backupping (use the RunBeforeJobOnClient - or similar - command). Option 2 is the best solution in my opinion as I found remote mounting scripts to be error prone at best. Also, SMB/CIFS is slow as hell - making me guess that a direct FD - SD transport would outperform a backup by a factor 2 at least (if I look at my own network). Regards, Berend Dekens -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup cifs fileset
We cannot use option 2 because the share is published on a NetApp Filer. We are investigated option 3 but is doesn't seem to work, the job never ends (we are just trying to backup a simple file) -Message d'origine- De : Berend Dekens [mailto:ber...@cyberwizzard.nl] Envoyé : jeudi 26 février 2009 17:04 À : François Mehault Cc : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] backup cifs fileset François Mehault wrote: Could not stat J:/test: ERR=The system cannot find the path specified The short answer: you can't - not like that anyway. The networked drive you create on windows only exists for the current user or even the current session of that user. Since bacula runs as a service, it will not see the remote drive. You have 3 options here: 1. Mount the remote FS on the backup server and unmount afterwards 2. Install a file daemon on the remote system you want to back up in the first place (unless you have a good reason not to). 3. Run 'net use //yourserver/share J:' or similar to mount the drive using the system account on windows before backupping (use the RunBeforeJobOnClient - or similar - command). Option 2 is the best solution in my opinion as I found remote mounting scripts to be error prone at best. Also, SMB/CIFS is slow as hell - making me guess that a direct FD - SD transport would outperform a backup by a factor 2 at least (if I look at my own network). Regards, Berend Dekens -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backups on machine different from DIR or Client
Hil All I have a little pb. I would like to backup something on a third machine, not the Client machine and not on the Director's machine. I will use the directive File in the ressource FileSet like this : Include { Options { ... } File = \\myMachine\backup } But this don't works ! 25-Feb 16:34 myMachine: Could not stat /backup: ERR=The system cannot find the path specified.^M How can i do for it ? To save on the client machine we can with : If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\/home/xxx/filelist-on-client } But for another machine, i don't know :s Regards, François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backups on machine different from DIR or Client
Well, in fact i found the solution : File = \\\myMachine/backup De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : mercredi 25 février 2009 16:39 À : bacula-users Objet : [Bacula-users] backups on machine different from DIR or Client Hil All I have a little pb. I would like to backup something on a third machine, not the Client machine and not on the Director's machine. I will use the directive File in the ressource FileSet like this : Include { Options { ... } File = \\myMachine\backup } But this don't works ! 25-Feb 16:34 myMachine: Could not stat /backup: ERR=The system cannot find the path specified.^M How can i do for it ? To save on the client machine we can with : If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\/home/xxx/filelist-on-client } But for another machine, i don't know :s Regards, François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backups on machine different from DIR or Client
Lol, maybe 13 backslashes works ? ;) -Message d'origine- De : Graham Keeling [mailto:gra...@equiinet.com] Envoyé : mercredi 25 février 2009 17:08 À : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] backups on machine different from DIR or Client On Wed, Feb 25, 2009 at 04:58:50PM +0100, Fran?ois Mehault wrote: Well, in fact i found the solution : File = \\\myMachine/backup 7 backslashes? That's a prime number! -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] diffrence between full and used
Hi All I would like to have a clarification about the volume statut Full and Used. I read this page : http://bacula.org/en/dev-manual/Automatic_Volume_Recycling.html#manualrecycling and http://bacula.org/fr/dev-manual/Configurer_Director.html#SECTION004615000 I read also that : Append - Volume is still appendable Full - Volume is full and will not be written to Error - Some error occured. This volume will not be used for backups. For restores - good luck :-) Used - Volume is no longer appendable by configuration (Max Volume something settings). Purged - Volume has been purged, i.e. the volume contents is no longer in the catalog I understood that a volume becomes Used because job count or size limit exceeded, but about Full, when a volume becomes Full ? Regards François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] diffrence between full and used
I use disk, not tape or dvd. And my filesystem is not full so i don't understand what happens. Thanks for your response. François -Message d'origine- De : John Drescher [mailto:dresche...@gmail.com] Envoyé : mardi 24 février 2009 16:32 À : François Mehault; bacula-users Objet : Re: [Bacula-users] diffrence between full and used I understood that a volume becomes Used because job count or size limit exceeded, but about Full, when a volume becomes Full ? When the tape or dvd has no free bytes. On disk volumes I think this means that the filesystem is full. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] diffrence between full and used
Hi after all, you are probably right !! Today my filesystem is not full but it was probably full when my volume have been labeled Full -Message d'origine- De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : mardi 24 février 2009 16:35 À : John Drescher; bacula-users Objet : Re: [Bacula-users] diffrence between full and used I use disk, not tape or dvd. And my filesystem is not full so i don't understand what happens. Thanks for your response. François -Message d'origine- De : John Drescher [mailto:dresche...@gmail.com] Envoyé : mardi 24 février 2009 16:32 À : François Mehault; bacula-users Objet : Re: [Bacula-users] diffrence between full and used I understood that a volume becomes Used because job count or size limit exceeded, but about Full, when a volume becomes Full ? When the tape or dvd has no free bytes. On disk volumes I think this means that the filesystem is full. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fatal error: backup.c:873 Network send error to SD
Hi All ! I recently upgraded my bacula in version 2.4.4. But I have still a problem about one backup : 19-Feb 00:03 xxx-sd JobId 23174: Recycled volume xxx -0002 on device xxx (/3/ xxx /bacula), all previous data lost. 19-Feb 01:04 xxx: xxx.2009-02-19_00.00.00.24 Fatal error: backup.c:873 Network send error to SD. ERR=Success 19-Feb 01:04 xxx -dir JobId 23174: Fatal error: Max wait time exceeded. Job canceled. I don't understand very well the problem :sIf someone have an idea ? Thanks Regards François JobDefs { Name = xxx Type = Backup Level = Full Messages = Standard Storage = xxx Max Run Time = 23 hour Max Wait Time = 1 hour Reschedule On Error = yes Reschedule Interval = 1 hour Reschedule Times = 2 } Job { # Enabled = no JobDefs = xxx Name = xxx Level = Incremental Client = xxx FileSet = xxx Pool = xxx Schedule = xxx Write Bootstrap = /0/bacula/bsr/ xxx.bsr Priority = 10 } Run = mon-sat at 00:00 Pool { Name = xxx Pool Type = Backup AutoPrune = yes VolumeRetention = 6d Maximum Volumes = 6 Recycle = yes Recycle Oldest Volume = yes Volume Use Duration = 12 hours Label Format = xxx - } -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Network send error to SD / Bad response from stored to open command / Network error on data channel
Hi All My Bacula is in version 2.4.4. I upgraded recently (2.0.3 2.4.4), this action fix a problem about seg fault :) but i have still some problems. I give you message that i can read in my log. I search in the documentation and also in the website a text about « log message error » to can understand the pb, but i didn't find at this time. I search explication about this kind of error : - Network send error to SD. ERR=Success - Network send error to SD. ERR=No error - Bad response from stored to open command - Network error on data channel. ERR=Connection reset by peer - Network error on data channel. ERR=Broken pipe Is there a documentation about error message ? Someone have an idea to fix one of my problems ? I found this http://www.bacula.org/fr/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0003433000 About « Long running jobs die with Pipe Error » Thanks for your help Regards François xxx.2009-02-19_00.00.00.24 19-Feb 01:04 xxx: xxx.2009-02-19_00.00.00.24 Fatal error: backup.c:873 Network send error to SD. ERR=Success 19-Feb 01:04 xxx -dir JobId 23174: Fatal error: Max wait time exceeded. Job canceled. Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Canceled SD termination status: Running Termination: Backup Canceled xxx.2009-02-19_00.05.01.29 19-Feb 01:08 xxx: xxx.2009-02-19_00.05.01.29 Fatal error: Bad response from stored to open command 19-Feb 01:05 xxx -dir JobId 23179: Fatal error: Max wait time exceeded. Job canceled. Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination: Backup Canceled xxx.2009-02-19_04.05.00.52 19-Feb 05:17 xxx: xxx.2009-02-19_04.05.00.52 Fatal error: ../../filed/backup.c:860 Network send error to SD. ERR=No error 19-Feb 05:17 xxx -sd JobId 23204: Fatal error: append.c:259 Network error on data channel. ERR=Connection reset by peer 19-Feb 05:17 xxx -dir JobId 23204: Fatal error: Max wait time exceeded. Job canceled. Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination: Backup Canceled xxx.2009-02-19_04.05.00.53 19-Feb 05:52 19-Feb 05:52 xxx -sd JobId 23205: Fatal error: append.c:259 Network error on data channel. ERR=Broken pipe xxx: xxx.2009-02-19_04.05.00.53 Fatal error: backup.c:873 Network send error to SD. ERR=Success 19-Feb 05:52 xxx -dir JobId 23205: Fatal error: Max wait time exceeded. Job canceled. Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Canceled SD termination status: Error Termination: Backup Canceled -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Network send error to SD / Bad response from stored to open command / Network error on data channel
I think all this jobs are waiting for longer than 1 hour because they have problems (Network send error to SD. - Bad response from stored to open command - Network error on data channel...) I don't want to change Max Wait Time = 1 hour. If i have problem on my network, i think that change Max Wait Time for my job won't solve the problem. :s I have also Max concurrent job = 10 in my DIR, i am going to check the directive Max concurrent job in my SD, Client ... Sorry about my english, i am a french student :s -Message d'origine- De : John Drescher [mailto:dresche...@gmail.com] Envoyé : jeudi 19 février 2009 14:44 À : François Mehault; bacula-users Objet : Re: [Bacula-users] Network send error to SD / Bad response from stored to open command / Network error on data channel On Thu, Feb 19, 2009 at 7:39 AM, François Mehault francois.meha...@netplus.fr wrote: Hi All My Bacula is in version 2.4.4. I upgraded recently (2.0.3 2.4.4), this action fix a problem about seg fault J but i have still some problems. I give you message that i can read in my log. I search in the documentation and also in the website a text about « log message error » to can understand the pb, but i didn't find at this time. I search explication about this kind of error : - Network send error to SD. ERR=Success - Network send error to SD. ERR=No error - Bad response from stored to open command - Network error on data channel. ERR=Connection reset by peer - Network error on data channel. ERR=Broken pipe Is there a documentation about error message ? Someone have an idea to fix one of my problems ? I found this http://www.bacula.org/fr/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0003433000 About « Long running jobs die with Pipe Error » Thanks for your help Regards François xxx.2009-02-19_00.00.00.24 19-Feb 01:04 xxx: xxx.2009-02-19_00.00.00.24 Fatal error: backup.c:873 Network send error to SD. ERR=Success 19-Feb 01:04 xxx -dir JobId 23174: Fatal error: Max wait time exceeded. Job canceled. Is there any chance this job waiting for longer than 1 hour? Were there jobs executed before this in the queue? In your other post I see you have set Max Wait Time = 1 hour John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Maximum Concurrent Jobs by default in the storage daemon and DIR?
Hi All I would like to know the value by default for the directive Maximum Concurrent Jobs in the Storage ressource for DIR and SD. http://www.bacula.org/fr/rel-manual/Tips_Suggestions.html#SECTION0003518000 « The default is one for the Director and ten for both the File daemon and the Storage daemon » http://www.bacula.org/manuals/en/problems/problems/Tips_Suggestions.html#SECTION00517 « The default for both the File daemon and the Storage daemon is 20. » http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#SECTION0082 « The default is set to 1, but you may set it to a larger number. » I think it is Bacula-dir ressource storage directive Maximum Concurrent Jobs = 1 Bacula-sd ressource storage directive Maximum Concurrent Jobs = 20 Someone can confirm ? Thanks François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] moving from 2.0 to 2.4
Hi Yann Cézard, Hi All I read your email and I saw that you upgraded your Bacula from 2.0.3 to 2.4.4 like I want to do. Could you confirm me that I don't need to execute some script for the database ? You did just to do that to upgrade ? ./configure (your options) make make install Thanks, Regards François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] upgrade 2.0.3 2.4.4
Hi All ! I want to upgrade my Bacula (currently in v 2.0.3) in 2.4.4. So, I install the Bacula v 2.4.4 on another OS just to see the difference. Then I realized a dump of the catalogue database in my Bacula v 2.0.3 and 2.4.4 to compare. I did a diff on my two dump and there is one thing which is strange Bacula 2.0.3 DROP TABLE IF EXISTS `File`; CREATE TABLE `File` ( `FileId` int(10) unsigned NOT NULL auto_increment, `FileIndex` int(10) unsigned default '0', `JobId` int(10) unsigned NOT NULL, `PathId` int(10) unsigned NOT NULL, `FilenameId` int(10) unsigned NOT NULL, `MarkId` int(10) unsigned default '0', `LStat` tinyblob NOT NULL, `MD5` tinyblob, PRIMARY KEY (`FileId`), KEY `JobId` (`JobId`), KEY `JobId_2` (`JobId`,`PathId`,`FilenameId`) ) ENGINE=MyISAM AUTO_INCREMENT=785251836 DEFAULT CHARSET=latin1; Bacula 2.4.4 DROP TABLE IF EXISTS `File`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `File` ( `FileId` int(10) unsigned NOT NULL auto_increment, `FileIndex` int(10) unsigned default '0', `JobId` int(10) unsigned NOT NULL, `PathId` int(10) unsigned NOT NULL, `FilenameId` int(10) unsigned NOT NULL, `MarkId` int(10) unsigned default '0', `LStat` tinyblob NOT NULL, `MD5` tinyblob, PRIMARY KEY (`FileId`), KEY `JobId` (`JobId`,`PathId`,`FilenameId`) ) ENGINE=MyISAM AUTO_INCREMENT=199415 DEFAULT CHARSET=latin1; SET character_set_client = @saved_cs_client; More precisely: Bacula 2.0.3 PRIMARY KEY (`FileId`), KEY `JobId` (`JobId`), KEY `JobId_2` (`JobId`,`PathId`,`FilenameId`) Bacula 2.4.4 PRIMARY KEY (`FileId`), KEY `JobId` (`JobId`,`PathId`,`FilenameId`) The two Bacula are on FreeBSD 7, for each I look in /usr/ports/sysutils/bacula-server/work/bacula-2.0.3/updatedb And /usr/ports/sysutils/bacula-server/work/bacula-2.4.4/updatedb For the first, about mysql I can see: -rwxr-xr-x 1 root wheel 3.2K Nov 3 2005 update_mysql_tables_8_to_9 And for the second -rwxr-xr-x 1 root wheel 2.4K Apr 1 2007 update_mysql_tables_9_to_10 I opened update_mysql_tables_9_to_10 and can read echo This script will update a Bacula MySQL database from version 9 to 10 echo which is needed to convert from Bacula version 1.38.x to 2.0.x or higher echo Depending on the size of your database, echo this script may take several minutes to run. So I conclude I don't need to execute any script to upgrade my catalogue database to pass in 2.4.4, but there is the first thing that I find strange :s It could raise problem? Thanks François -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] What is the best to do ? I need some space.
Hi All I would like to know what the best to do is. Today, in my company, backups are scheduled like this: Full every Sunday and Incremental backups other days. But resources becomes fully, I need to configure Bacula to take less space. But also I need to preserve data safe. So I would like to schedule backups like this: full backup on first Sunday of the month, differential every other Sunday and incremental backups other days. Is it a good idea to fix my problem? Have you some advice for me about my problem? My Bacula is in version 2.0.3 (director, SD). I ask myself if I have to upgrade also. Thanks Regards François -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What is the best to do ? I need some space.
Thanks a lot for your response; I will try to play with retention times. Yes, we are backing up to hard disk files. For you it is not essential to upgrade Bacula (we are currently in v 2.0.3)? I have also to fix problem about jobs which are launched simultaneously. Jobs are writing on the same volume at the same time :s, I am reading documentation to understand very what happens. The behaviour of Bacula is the same about concurrent jobs in v2.0.3 and v2.4.4? -Message d'origine- De : Kevin Keane [mailto:subscript...@kkeane.com] Envoyé : mercredi 11 février 2009 11:38 Cc : bacula-users Objet : Re: [Bacula-users] What is the best to do ? I need some space. First of all, depending on your situation, I find that a full backup once a month, and weekly differentials, as you suggested, can be a pretty good schedule. When you run out of backup space, ultimately the problem isn't the schedule but interaction between schedule and retention times. If you have, say, six month retention times for full backups, your proposed change in the schedule will accomplish not all that much. You also don't mention whether you are backing up to hard disk files or to tape - but since you mention space rather than number of tapes I'm assuming hard disk. So what you would want to accomplish in the end is really to make sure you keep only two full backups of each client (you could even try for only a single backup, but at that point your data may not be quite safe any more, so I'd say, two is the minimum). Keep in mind that you will always need space for a third backup - the one that is in progress or that has just completed. You can accomplish that in two ways: - stretch the schedule. - reduce retention times. So for the full backups, you should pick a retention time that is a little longer than twice the distance between backups (it has to be a bit longer because the you want the backup to stay around until *AFTER* the next one has finished). If you do go for monthly backups, make the retention time 65 days. I would use the same retention time for the differentials, and maybe 15 days for the incrementals. After changing the retention times, you will need to restart the director and then update your pools and all the volumes that already exist in the pool. Otherwise, changes to retention times will only affect future backups. Depending on your setup, you may also be able to add additional hard disks. Do one set of backups on the first disk, then the next set onto the second disk. That will keep your data much safer because you no longer rely on just one disk to store your precious data, and it will even allow you to take one disk off site - and at the same time, you double your disk space. François Mehault wrote: Hi All I would like to know what the best to do is. Today, in my company, backups are scheduled like this: Full every Sunday and Incremental backups other days. But resources becomes fully, I need to configure Bacula to take less space. But also I need to preserve data safe. So I would like to schedule backups like this: full backup on first Sunday of the month, differential every other Sunday and incremental backups other days. Is it a good idea to fix my problem? Have you some advice for me about my problem? My Bacula is in version 2.0.3 (director, SD). I ask myself if I have to upgrade also. Thanks Regards François -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources
[Bacula-users] Unable to connect to Storage daemon
Hi All I installed bacula-dir, -sd, -fd on a FreeBSD 7 LaboBE2 (10.96.18.10). I installed also bacula-fd on another FreeBSD 7 LaboBE1 (10.96.18.4) and on a Windows Server 2003 LaboBE3 (10.96.18.11) to backup. I created some jobs, pool, schedule, fileset, client ... my goal is to test Bacula, to understand his behaviour. Then I tried to launch my jobs and problem :s *messages 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to connect to Storage daemon on 10.96.18.4:9103. ERR=Connection refused 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to connect to Storage daemon on 10.96.18.11:9103. ERR=Connection refused I didn't see where comes from the PB. If someone have an idea ? Bacula-dir: Director {# define myself Name = labobe2-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/share/bacula/query.sql WorkingDirectory = /var/db/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 1 Password = iqoMlrq682zFIGj9UKkqGdoJv0ZB/Yasc+UjvpVN5M8H # Console password Messages = Daemon } # Definition of file storage device Storage { Name = LAB2Storage # Do not use localhost here Address = localhost# N.B. Use a fully qualified name here SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = FileStorage Media Type = File } Storage { Name = LAB1Storage Address = 10.96.18.4 SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = LAB1Storage Media Type = File } Storage { Name = LAB3Storage Address = 10.96.18.11 SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = LAB3Storage Media Type = File } Bacula-sd : Storage { # definition of myself Name = labobe2-sd SDPort = 9103 # Director's port WorkingDirectory = /var/db/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 } # # List Directors who are permitted to contact Storage daemon # Director { Name = labobe2-dir Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo } # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # Device { Name = LAB2Storage Media Type = File Archive Device = /tmp/LaboBE2/bacula LabelMedia = yes; Random Access = yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Device { Name = LAB1Storage Media Type = File Archive Device = /tmp/LaboBE1/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = LAB3Storage Media Type = File Archive Device = /tmp/LaboBE3/bacula LabelMedia = yes; Random Access = yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } In bconsole : *status all labobe2-dir Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 freebsd 7.0-RELEASE Daemon started 11-Feb-09 16:25, 0 Jobs run since started. Heap: heap=0 smbytes=40,629 max_bytes=41,893 bufs=287 max_bufs=297 Scheduled Jobs: Level Type Pri Scheduled Name Volume === IncrementalBackup10 11-Feb-09 23:05labobe2BackupJob *unknown* IncrementalBackup10 11-Feb-09 23:05labobe3BackupJob *unknown* IncrementalBackup10 11-Feb-09 23:05labobe1BackupJob *unknown* Full Backup11 11-Feb-09 23:10BackupCatalog *unknown* Running Jobs: No Jobs running. Terminated Jobs: JobId LevelFiles Bytes Status FinishedName 4 Full 0 0 Error11-Feb-09 16:16 labobe1BackupJob.2009-02-11_15 Connecting to Storage daemon LAB2Storage at localhost:9103 labobe2-sd Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 freebsd 7.0-RELEASE Daemon started 11-Feb-09 16:25, 0 Jobs run since started. Heap: heap=0 smbytes=16,840 max_bytes=80,707 bufs=65 max_bufs=67 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: No Jobs running. Jobs waiting to reserve a drive: Terminated Jobs: Device status: Device LAB2Storage (/tmp/LaboBE2/bacula) is not open. Device LAB1Storage (/tmp/LaboBE1/bacula) is not open. Device LAB3Storage (/tmp/LaboBE3/bacula) is not open. Used Volume status: Connecting to Storage daemon LAB1Storage at 10.96.18.4:9103 Failed to connect to Storage daemon LAB1Storage. Connecting to Storage daemon LAB3Storage at 10.96.18.11:9103 Failed to connect to Storage daemon LAB3Storage. Connecting to Client labobe2-fd at localhost:9102 labobe2-fd Version: 2.4.4 (28 December 2008)
Re: [Bacula-users] Unable to connect to Storage daemon
This pb is solved , forget this mail :) De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : mercredi 11 février 2009 17:05 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Unable to connect to Storage daemon Hi All I installed bacula-dir, -sd, -fd on a FreeBSD 7 LaboBE2 (10.96.18.10). I installed also bacula-fd on another FreeBSD 7 LaboBE1 (10.96.18.4) and on a Windows Server 2003 LaboBE3 (10.96.18.11) to backup. I created some jobs, pool, schedule, fileset, client ... my goal is to test Bacula, to understand his behaviour. Then I tried to launch my jobs and problem :s *messages 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to connect to Storage daemon on 10.96.18.4:9103. ERR=Connection refused 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to connect to Storage daemon on 10.96.18.11:9103. ERR=Connection refused I didn't see where comes from the PB. If someone have an idea ? Bacula-dir: Director {# define myself Name = labobe2-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/share/bacula/query.sql WorkingDirectory = /var/db/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 1 Password = iqoMlrq682zFIGj9UKkqGdoJv0ZB/Yasc+UjvpVN5M8H # Console password Messages = Daemon } # Definition of file storage device Storage { Name = LAB2Storage # Do not use localhost here Address = localhost# N.B. Use a fully qualified name here SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = FileStorage Media Type = File } Storage { Name = LAB1Storage Address = 10.96.18.4 SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = LAB1Storage Media Type = File } Storage { Name = LAB3Storage Address = 10.96.18.11 SDPort = 9103 Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo Device = LAB3Storage Media Type = File } Bacula-sd : Storage { # definition of myself Name = labobe2-sd SDPort = 9103 # Director's port WorkingDirectory = /var/db/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 } # # List Directors who are permitted to contact Storage daemon # Director { Name = labobe2-dir Password = R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo } # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # Device { Name = LAB2Storage Media Type = File Archive Device = /tmp/LaboBE2/bacula LabelMedia = yes; Random Access = yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Device { Name = LAB1Storage Media Type = File Archive Device = /tmp/LaboBE1/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = LAB3Storage Media Type = File Archive Device = /tmp/LaboBE3/bacula LabelMedia = yes; Random Access = yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } In bconsole : *status all labobe2-dir Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 freebsd 7.0-RELEASE Daemon started 11-Feb-09 16:25, 0 Jobs run since started. Heap: heap=0 smbytes=40,629 max_bytes=41,893 bufs=287 max_bufs=297 Scheduled Jobs: Level Type Pri Scheduled Name Volume === IncrementalBackup10 11-Feb-09 23:05labobe2BackupJob *unknown* IncrementalBackup10 11-Feb-09 23:05labobe3BackupJob *unknown* IncrementalBackup10 11-Feb-09 23:05labobe1BackupJob *unknown* Full Backup11 11-Feb-09 23:10BackupCatalog *unknown* Running Jobs: No Jobs running. Terminated Jobs: JobId LevelFiles Bytes Status FinishedName 4 Full 0 0 Error11-Feb-09 16:16 labobe1BackupJob.2009-02-11_15 Connecting to Storage daemon LAB2Storage at localhost:9103 labobe2-sd Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 freebsd 7.0-RELEASE Daemon started 11-Feb-09 16:25, 0 Jobs run since started. Heap: heap=0 smbytes=16,840 max_bytes=80,707 bufs=65 max_bufs=67 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: No Jobs running. Jobs waiting to reserve a drive: Terminated Jobs: Device status: Device LAB2Storage (/tmp/LaboBE2/bacula) is not open. Device LAB1Storage (/tmp/LaboBE1/bacula) is not open. Device LAB3Storage (/tmp/LaboBE3/bacula) is not open. Used Volume status: Connecting to Storage daemon LAB1Storage at 10.96.18.4
Re: [Bacula-users] documentation old versions
Oki thanks François -Message d'origine- De : Arno Lehmann [mailto:a...@its-lehmann.de] Envoyé : lundi 9 février 2009 11:06 À : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] documentation old versions Hi, 09.02.2009 10:07, Timo Neuvonen wrote: My Bacula is currently in version 2.0.3 and i would like to know what are the main features add between my version and the last version 2.4.3. I find some information on this page http://www.bacula.org/en/?page=news about version 2.4.3, 2.4.2, 2.4.1. But for the previous version, I found nothing, I just need the main features or critical bug fixed. Is-it possible to find the same information for 2.4.3, 2.4.2, 2.4.1 on http://www.bacula.org/en/?page=news for others versions in another place ? Have you checked the release notes from SourceForge download area? There are separate release notes for each version, including list of bug fixes. Check the base bacula area first, though you were using some os-dependent packages. To follow certain bug fixes more precisely, have a look at bugs.bacula.og Also, though not very convenient, you can use Sourceforge's svn explorer to see the older versions of the ReleaseNotes files... Arno -- TiN -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] documentation old versions
Hi All, My Bacula is currently in version 2.0.3 and i would like to know what are the main features add between my version and the last version 2.4.3. I find some information on this page http://www.bacula.org/en/?page=news about version 2.4.3, 2.4.2, 2.4.1. But for the previous version, I found nothing, I just need the main features or critical bug fixed. Is-it possible to find the same information for 2.4.3, 2.4.2, 2.4.1 on http://www.bacula.org/en/?page=news for others versions in another place ? Thanks, François Mehault -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users