[Bacula-users] Mount problem on newly upgraded 5.0.1
I've run into a volume mount problem on an installation newly upgraded to 5.0.1. I just got four brand new LTO2 tapes for Full backups. However, when my Full backups started last night, Bacula decided it wanted my last appendable LTO1 tape instead, and asked me to mount it or label a new tape. 05-Apr 06:31 babylon5-sd JobId 1671: Please mount Volume ARCH-0008 or label a new one for: Job: Babylon5_Backup.2010-04-05_03.30.00_29 Storage: Ultrium-LTO2 (/dev/nst0) Pool: Full-Tape Media type: LTO2 So, I've labelled one of the new LTO2 tapes. Which Bacula will mount; then it sits there for a couple of minutes; then it spits it back out and demands ARCH-0008 again. I prelabelled and mounted this new tape last night before the backups started, and since 0330 Bacula has been refusing the new tape and demanding ARCH-0008, or it's going to sit in the corner and hold its breath until it turns blue in the face. The Pool definition looks like this: Pool { Name = Full-Tape Storage = babylon5-sd Pool Type = Backup Recycle = yes Autoprune = yes Volume Retention = 365d Recycle Oldest Volume = yes Recycle Current Volume = yes Label Format = ARCH- Maximum Volumes = 13 } So, seeking to force the issue, I marked ARCH-0008 as USED, and remounted the newly-labelled ARCH-0010 again. So Bacula recycled ARCH-0009 and is now demanding that instead. It WILL NOT accept the newly-labeled tape. Am I missing some configuration detail needed for Bacula 5? (Yes, I did update the Pool from the resource since increasing the volume count.) -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Max Run Time exceede with 0s run time!
Dear all, one of my job ran into max run time limitation and was canceled (after 30 mins) Then next job was started and finisehd correclty (another 8 mins) but all subsequent jobs where cancelled due to Max run time exceeded. Here's the journal: Timed out job 45: banana-dir Fatal error: Max run time exceeded. Job canceled. banana-sd JobId=45 Job=Client1-Complete.2010-04-04_21.01.03_30 marked to be canceled. Scheduled time: 04-Apr-2010 21:01:03 Start time: 04-Apr-2010 21:01:05 End time: 04-Apr-2010 21:31:26 Elapsed time: 30 mins 21 secs Correct Job 46: Scheduled time: 04-Apr-2010 21:01:03 Start time: 04-Apr-2010 21:31:31 End time: 04-Apr-2010 21:39:37 Elapsed time: 8 mins 6 secs Absurdly canceled job 47: Fatal error: Max run time exceeded. Job canceled. Scheduled time: 04-Apr-2010 21:01:03 Start time: 04-Apr-2010 21:39:41 End time: 04-Apr-2010 21:39:41 Elapsed time: 0 secs Absurdly canceled job 48: Fatal error: Max run time exceeded. Job canceled. Scheduled time: 04-Apr-2010 21:01:03 Start time: 04-Apr-2010 21:39:41 End time: 04-Apr-2010 21:39:42 Elapsed time: 1 sec And so on. What am I missing? Here's my conf regarding max times: Max Start Delay = 14400 # 4h to wait after scheduled start Max Run Time = 1800 # Half an hour to run after beeing really started Incremental Max Run Time = 900 # 15 Minutes for incrementals after beeing started Max Run Sched Time = 36000 # 10 hours to wait to start job as planned Max Wait Time = 7200 # 2h to wait for resources after job really started Thanks for any help in advance. -Harry signature.asc Description: OpenPGP digital signature -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mount problem on newly upgraded 5.0.1
On 04/05/10 06:51, Phil Stracchino wrote: I've run into a volume mount problem on an installation newly upgraded to 5.0.1. Never mind ... I figured out my problem. It's been so long since I manually added tape volumes I forgot to ADD volumes to the Pool. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD backup
Here is what I did, after this configuration you can run a full backup (changing to the storage and pool defined below) Afterwards I can burn the files using f.ex k3b Regards, Mads Bacula-sd.conf Device { Name = DVDFileStorage Media Type = File Archive Device = /export/backup-dvd-spool LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Bacula-dir.conf # Definition of file storage device Storage { Name = DVDFile # Do not use localhost here Address = 192.168.x.y # N.B. Use a fully qualified name here SDPort = 9103 Password = hidden Device = DVDFileStorage Media Type = File } Pool { Name = DVDFilePool LabelFormat = BaculaDVD Pool Type = Backup Recycle = no# Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Storage = DVDFile Maximum Volume Bytes = 47 } Mads Rasmussen TI Octo Telematics m...@octotelematics.com Rua Leopoldo Couto de Magalhães Júnior, 110 | 8 andar Itaim Bibi | São Paulo | SP | 04.542-000 +55 11 3074 0313 | 7533 6292 AVISO LEGAL Esta mensagem, incluindo seus anexos, é destinada exclusivamente ao seu destinatário, podendo conter informação confidencial, privilegiada e/ou legalmente protegida. Se você não for o destinatário desta mensagem, fica ciente sobre a proibição de divulgar, copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação contida nesta mensagem. Caso tenha recebido esta mensagem por engano, solicitamos sua devolução imediata ao remetente e a respectiva destruição do seu conteúdo em sua base de dados, registros ou sistema de controle. LEGAL ADVICE This message, including its attachments, is exclusively destined to the designated addressee(s), and it can contain private, privileged and/or legally protected information. If you are not the addressee of this message, do not release, copy, distribute, check or, otherwise, use the information contained in this message. If you received this message by mistake, please immediately forward the message back to the sender and eliminate its contents of your database, registrations or controls system. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula monthly keyword bug?
Someone?... On 04/02/2010 10:17 AM, Proskurin Kirill wrote: Hello. I use bacula 3.0.3 at FreeBSD-8.0-x64 Yesterday I set monthly backups to my job: Run = Level=Full Pool=mypool-full monthly But I get an indecent this night - bacula start to do this monthly backup one by one. I mean it start to do this backup, done it and... start again and again and again. What wrong with it? Or what I do wrong? -- Best regards, Proskurin Kirill -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula monthly keyword bug?
On Mon, Apr 5, 2010 at 8:20 AM, Proskurin Kirill proskurin...@fxclub.org wrote: Someone?... From the documentation: http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00175 I believe you need a day spec and a time spec not just monthly. John -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula not expiring volumes
I have a backup that runs weekly backups for one of the directives in my bacula-dir.conf file. The problem is the volumes are supposed to expire after 7 days and be recycled. Here is the relevant parts of my conf file. Client { Name = -fd Address = ..xxx FDPort = 9102 Catalog = MyCatalog Password = File Retention = 7 days # 7 days Job Retention = 14 days # six months AutoPrune = yes # Prune expired Jobs/Files } Pool { Name = Windows Pool Type = Backup Recycle = yes AutoPrune = yes LabelFormat = WinVol Volume Retention = 7 days } Since this goes to a disk pool, why aren't the volumes recycling on the 7th day? I'm running out of disk space every week and find myself having to recycle the volumes manually. +-- |This was sent by dbent...@nas.edu via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula not expiring volumes
On Mon, Apr 5, 2010 at 1:03 PM, John Drescher dresche...@gmail.com wrote: I have a backup that runs weekly backups for one of the directives in my bacula-dir.conf file. The problem is the volumes are supposed to expire after 7 days and be recycled. Here is the relevant parts of my conf file. Client { Name = -fd Address = ..xxx FDPort = 9102 Catalog = MyCatalog Password = File Retention = 7 days # 7 days Job Retention = 14 days # six months AutoPrune = yes # Prune expired Jobs/Files } Pool { Name = Windows Pool Type = Backup Recycle = yes AutoPrune = yes LabelFormat = WinVol Volume Retention = 7 days } Are these disk volumes? Did you change the retention after the volumes existed? Oh, I see. You said disk. For disk volumes you must limit the size of the volumes or their use duration because recycling only comes into play when the disk is marked as Used or Full. Without setting the use duration limit the volume will not be marked as Used. Without your entire hard drive filling the disk volume would not be marked as Full. See the documentation here: http://www.bacula.org/en/dev-manual/Automatic_Volume_Recycling.html And remember that the retention period begins when the volume is marked Used or Full not when you first write data to the volume. John -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula not expiring volumes
drescherjm wrote: On Mon, Apr 5, 2010 at 1:03 PM, John Drescher drescherjm at gmail.com wrote: I have a backup that runs weekly backups for one of the directives in my bacula-dir.conf file. The problem is the volumes are supposed to expire after 7 days and be recycled. Here is the relevant parts of my conf file. Client { Name = -fd Address = ..xxx FDPort = 9102 Catalog = MyCatalog Password = File Retention = 7 days # 7 days Job Retention = 14 days # six months AutoPrune = yes # Prune expired Jobs/Files } Pool { Name = Windows Pool Type = Backup Recycle = yes AutoPrune = yes LabelFormat = WinVol Volume Retention = 7 days } Are these disk volumes? Did you change the retention after the volumes existed? Oh, I see. You said disk. For disk volumes you must limit the size of the volumes or their use duration because recycling only comes into play when the disk is marked as Used or Full. Without setting the use duration limit the volume will not be marked as Used. Without your entire hard drive filling the disk volume would not be marked as Full. See the documentation here: http://www.bacula.org/en/dev-manual/Automatic_Volume_Recycling.html And remember that the retention period begins when the volume is marked Used or Full not when you first write data to the volume. John -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users It also appears that they are being seen as full; 224 | WinVol0224 | Full | 1 | 21,474,819,207 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-05 01:24:24 | | 225 | WinVol0225 | Full | 1 | 21,474,803,967 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-05 02:13:41 | | 226 | WinVol0226 | Full | 1 | 21,474,818,905 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-05 03:01:05 | | 227 | WinVol0227 | Full | 1 | 21,474,818,871 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-05 03:45:24 | | 228 | WinVol0228 | Full | 1 | 21,474,818,989 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-05 04:32:47 | | 229 | WinVol0229 | Full | 1 | 21,474,806,731 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 00:32:36 | | 230 | WinVol0230 | Full | 1 | 21,474,818,922 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 01:28:15 | | 232 | WinVol0232 | Full | 1 | 21,474,818,906 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 02:11:01 | | 233 | WinVol0233 | Full | 1 | 21,474,818,937 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 02:56:50 | | 234 | WinVol0234 | Full | 1 | 21,474,818,942 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 03:42:50 | | 235 | WinVol0235 | Full | 1 | 21,474,819,040 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 04:27:01 | | 236 | WinVol0236 | Full | 1 | 21,474,819,101 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 05:14:12 | | 237 | WinVol0237 | Full | 1 | 21,474,819,047 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 05:55:36 | | 238 | WinVol0238 | Full | 1 | 21,474,819,045 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 06:38:23 | | 239 | WinVol0239 | Full | 1 | 21,474,819,027 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 07:25:07 | | 240 | WinVol0240 | Full | 1 | 21,474,819,233 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 08:06:19 | | 241 | WinVol0241 | Full | 1 | 21,474,819,137 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 08:49:55 | | 242 | WinVol0242 | Full | 1 | 21,474,819,244 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 09:35:13 | | 243 | WinVol0243 | Full | 1 | 21,474,819,140 |4 | 604,800 | 1 |0 | 0 | File | 2010-04-04 10:16:41 |
Re: [Bacula-users] Bacula not expiring volumes
2010/4/5 bentman78 bacula-fo...@backupcentral.com: drescherjm wrote: On Mon, Apr 5, 2010 at 1:03 PM, John Drescher drescherjm at gmail.com wrote: I have a backup that runs weekly backups for one of the directives in my bacula-dir.conf file. The problem is the volumes are supposed to expire after 7 days and be recycled. Here is the relevant parts of my conf file. Client { Name = -fd Address = ..xxx FDPort = 9102 Catalog = MyCatalog Password = File Retention = 7 days # 7 days Job Retention = 14 days # six months AutoPrune = yes # Prune expired Jobs/Files } Pool { Name = Windows Pool Type = Backup Recycle = yes AutoPrune = yes LabelFormat = WinVol Volume Retention = 7 days } Are these disk volumes? Did you change the retention after the volumes existed? Oh, I see. You said disk. For disk volumes you must limit the size of the volumes or their use duration because recycling only comes into play when the disk is marked as Used or Full. Without setting the use duration limit the volume will not be marked as Used. Without your entire hard drive filling the disk volume would not be marked as Full. See the documentation here: http://www.bacula.org/en/dev-manual/Automatic_Volume_Recycling.html And remember that the retention period begins when the volume is marked Used or Full not when you first write data to the volume. John -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users It also appears that they are being seen as full; 224 | WinVol0224 | Full | 1 | 21,474,819,207 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-05 01:24:24 | | 225 | WinVol0225 | Full | 1 | 21,474,803,967 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-05 02:13:41 | | 226 | WinVol0226 | Full | 1 | 21,474,818,905 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-05 03:01:05 | | 227 | WinVol0227 | Full | 1 | 21,474,818,871 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-05 03:45:24 | | 228 | WinVol0228 | Full | 1 | 21,474,818,989 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-05 04:32:47 | | 229 | WinVol0229 | Full | 1 | 21,474,806,731 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 00:32:36 | | 230 | WinVol0230 | Full | 1 | 21,474,818,922 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 01:28:15 | | 232 | WinVol0232 | Full | 1 | 21,474,818,906 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 02:11:01 | | 233 | WinVol0233 | Full | 1 | 21,474,818,937 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 02:56:50 | | 234 | WinVol0234 | Full | 1 | 21,474,818,942 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 03:42:50 | | 235 | WinVol0235 | Full | 1 | 21,474,819,040 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 04:27:01 | | 236 | WinVol0236 | Full | 1 | 21,474,819,101 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 05:14:12 | | 237 | WinVol0237 | Full | 1 | 21,474,819,047 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 05:55:36 | | 238 | WinVol0238 | Full | 1 | 21,474,819,045 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 06:38:23 | | 239 | WinVol0239 | Full | 1 | 21,474,819,027 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 07:25:07 | | 240 | WinVol0240 | Full | 1 | 21,474,819,233 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 08:06:19 | | 241 | WinVol0241 | Full | 1 | 21,474,819,137 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 08:49:55 | | 242 | WinVol0242 | Full | 1 | 21,474,819,244 | 4 | 604,800 | 1 | 0 | 0 | File | 2010-04-04 09:35:13 | | 243 | WinVol0243 | Full | 1 | 21,474,819,140 | 4 |
[Bacula-users] Bacula not expiring volumes
yeah, I had to manually delete the older ones that's why they're not showing up. +-- |This was sent by dbent...@nas.edu via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How I can open device Bacula
Hello Sorry for respond so later, but I can resolve the problem creating label name and joining with a volume r...@linuxdefault ~]# bconsole -c /etc/bacula/bconsole.conf Connecting to Director LinuxDefault:9101 1000 OK: LinuxDefault-dir Version: 5.0.0 (26 January 2010) Enter a period to cancel a command. *label --- comando para cadastrar um novo label Automatically selected Catalog: MyCatalog Using Catalog MyCatalog Automatically selected Storage: FileStorage Enter new Volume name: Volume name must be at least one character long. Enter new Volume name: HDPoolTeste --- Name of label Defined Pools: 1: Default 2: File 3: Scratch 4: FilePool 5: HDPoolClone 6: HDPoolTeste Select the Pool (1-6): 6 -- Chose the POOL with reference in job that will use in the job Connecting to Storage daemon FileStorage at LinuxDefault:9103 ... Sending label command for Volume HDPoolTeste Slot 0 ... 3000 OK label. VolBytes=213 DVD=0 Volume=HDPoolTeste Device=FileStorage (/mnt/backup) Catalog record for Volume HDPoolTeste, Slot 0 successfully created. Requesting to mount FileStorage ... 3001 OK mount re Thank very much +-- |This was sent by aspe...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on RH 7.3
On Fri, 02 Apr 2010 11:35:45 +0200, Marko Gabud said: Could you direct me to some documentation where I could try to discover how spec files work? The original manual is Maximum RPM (http://www.rpm.org/max-rpm/) but http://docs.fedoraproject.org/drafts/rpm-guide-en/ch-specfile-syntax.html contains some of the newer commands. __Martin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula for disk drives Help
Here is my Bacula-Director config # # Default Bacula Director Configuration file # #nbsp; The only thing that MUST be changed is to add one or more #nbsp; nbsp;file or directory names in the Include directive of the #nbsp; nbsp;FileSet resource. # #nbsp; For Bacula release 2.4.4 #40;28 December 2008#41; -- debian squeeze/sid # #nbsp; You might also want to change the default email address #nbsp; nbsp;from root to your address.nbsp; See the mail and operator #nbsp; nbsp;directives in the Messages resource. # Director #123;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # define myself nbsp; Name = BackupServer-dir nbsp; DIRport = 9101nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # where we listen for UA connections nbsp; QueryFile = /etc/bacula/scripts/query.sql nbsp; WorkingDirectory = /var/lib/bacula nbsp; PidDirectory = /var/run/bacula nbsp; Maximum Concurrent Jobs = 1 nbsp; Password = btestnbsp; nbsp; nbsp; nbsp; nbsp;# Console password nbsp; Messages = Daemon nbsp; #DirAddress = 127.0.0.1 #125; JobDefs #123; nbsp; Name = DefaultJob nbsp; Type = Backup nbsp; Level = Incremental nbsp; Client = BackupServer-fd nbsp; FileSet = Full Set nbsp; Schedule = WeeklyCycle nbsp; Storage = File nbsp; Messages = Standard nbsp; Pool = Default nbsp; Priority = 10 #125; # # Define the main nightly save backup job #nbsp; nbsp;By default, this job will back up to disk in /nonexistant/path/to/file/archi ve/dir Job #123; nbsp; Name = Client1 nbsp; JobDefs = DefaultJob nbsp; Write Bootstrap = /var/lib/bacula/Client1.bsr #125; # Include below all yours jobs configuration files #40;remember add '@' at beginning#41; @/etc/bacula/conf.d/test.conf #Job #123; #nbsp; Name = Client2 #nbsp; Client = BackupServer2-fd #nbsp; JobDefs = DefaultJob #nbsp; Write Bootstrap = /var/lib/bacula/Client2.bsr ##125; # Backup the catalog database #40;after the nightly save#41; Job #123; nbsp; Name = BackupCatalog nbsp; JobDefs = DefaultJob nbsp; Level = Full nbsp; FileSet=Catalog nbsp; Schedule = WeeklyCycleAfterBackup nbsp; # This creates an ASCII copy of the catalog nbsp; # nbsp; # WARNING!!! Passing the password via the command line is insecure. nbsp; # see comments in make_catalog_backup for details. nbsp; # Arguments to make_catalog_backup are#58; nbsp; #nbsp; make_catalog_backup database-name user-name password host nbsp; # nbsp; # Ubuntu uses make_catalog_backup_awk script for nbsp; # security reasons nbsp; # Replace CatalogName with the real Catalog name nbsp; # nbsp; RunBeforeJob = /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v nbsp;cat1=CatalogName /etc/bacula/bacula-dir.conf nbsp; # This deletes the copy of the catalog nbsp; RunAfterJobnbsp; = /etc/bacula/scripts/delete_catalog_backup nbsp; Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr nbsp; Priority = 11nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# run after main backup #125; # # Standard Restore template, to be changed by Console program #nbsp; Only one such job is needed for all Jobs/Clients/Storage ... # Job #123; nbsp; Name = RestoreFiles nbsp; Type = Restore nbsp; Client=BackupServer-fdnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; FileSet=Full Setnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Storage = Filenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Pool = Default nbsp; Messages = Standard nbsp; Where = /nonexistant/path/to/file/archive/dir/bacula-restores #125; # List of files to be backed up FileSet #123; nbsp; Name = Full Set nbsp; Include #123; nbsp; nbsp; Options #123; nbsp; nbsp; nbsp; signature = MD5 nbsp; nbsp; #125; #nbsp; nbsp; #nbsp; Put your list of files here, preceded by 'File =', one per line #nbsp; nbsp; or include an external list with#58; # #nbsp; nbsp; File = file-name # #nbsp; Note#58; / backs up everything on the root partition. #nbsp; nbsp; if you have other partitons such as /usr or /home #nbsp; nbsp; you will probably want to add them too. # #nbsp; By default this is defined to point to the Bacula build #nbsp; nbsp; directory to give a reasonable FileSet to backup to #nbsp; nbsp; disk storage during initial testing. # nbsp; nbsp; File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite nbsp; #125; # # If you backup the root directory, the following two excluded #nbsp; nbsp;files can be useful # nbsp; Exclude #123; nbsp; nbsp; File = /proc nbsp; nbsp; File = /tmp nbsp; nbsp; File = /.journal nbsp; nbsp; File = /.fsck nbsp; #125; #125; # # When to do the backups, full backup on first sunday of the month, #nbsp; differential #40;i.e. incremental since full#41; every other sunday, #nbsp; and incremental backups other days Schedule #123; nbsp; Name = WeeklyCycle nbsp; Run = Full 1st sun at 23#58;05 nbsp; Run = Differential 2nd-5th sun at 23#58;05 nbsp; Run = Incremental mon-sat at 23#58;05 #125; # This schedule does the catalog. It starts after the WeeklyCycle Schedule #123; nbsp; Name =
Re: [Bacula-users] Bacula for disk drives Help
The Windows Client is the BAT client, 5.0.1 but maybe it's not compatible with the 2.4.4 version of Bacula? The 5.0.1 bat is not compatible with a 2.4.4 server. BTW, I will try to look at the rest of your message later. I am receiving this via email and the forum / email integration makes it very hard to read. On top of that I am busy at the day job. John -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula for disk drives Help
Here is my Bacula-Director config # # Default Bacula Director Configuration file # #nbsp; The only thing that MUST be changed is to add one or more #nbsp; nbsp;file or directory names in the Include directive of the #nbsp; nbsp;FileSet resource. # #nbsp; For Bacula release 2.4.4 #40;28 December 2008#41; -- debian squeeze/sid # #nbsp; You might also want to change the default email address #nbsp; nbsp;from root to your address.nbsp; See the mail and operator #nbsp; nbsp;directives in the Messages resource. # Director #123;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # define myself nbsp; Name = BackupServer-dir nbsp; DIRport = 9101nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # where we listen for UA connections nbsp; QueryFile = /etc/bacula/scripts/query.sql nbsp; WorkingDirectory = /var/lib/bacula nbsp; PidDirectory = /var/run/bacula nbsp; Maximum Concurrent Jobs = 1 nbsp; Password = btestnbsp; nbsp; nbsp; nbsp; nbsp;# Console password nbsp; Messages = Daemon nbsp; #DirAddress = 127.0.0.1 #125; JobDefs #123; nbsp; Name = DefaultJob nbsp; Type = Backup nbsp; Level = Incremental nbsp; Client = BackupServer-fd nbsp; FileSet = Full Set nbsp; Schedule = WeeklyCycle nbsp; Storage = File nbsp; Messages = Standard nbsp; Pool = Default nbsp; Priority = 10 #125; # # Define the main nightly save backup job #nbsp; nbsp;By default, this job will back up to disk in /nonexistant/path/to/file/archi ve/dir Job #123; nbsp; Name = Client1 nbsp; JobDefs = DefaultJob nbsp; Write Bootstrap = /var/lib/bacula/Client1.bsr #125; # Include below all yours jobs configuration files #40;remember add '@' at beginning#41; @/etc/bacula/conf.d/test.conf #Job #123; #nbsp; Name = Client2 #nbsp; Client = BackupServer2-fd #nbsp; JobDefs = DefaultJob #nbsp; Write Bootstrap = /var/lib/bacula/Client2.bsr ##125; # Backup the catalog database #40;after the nightly save#41; Job #123; nbsp; Name = BackupCatalog nbsp; JobDefs = DefaultJob nbsp; Level = Full nbsp; FileSet=Catalog nbsp; Schedule = WeeklyCycleAfterBackup nbsp; # This creates an ASCII copy of the catalog nbsp; # nbsp; # WARNING!!! Passing the password via the command line is insecure. nbsp; # see comments in make_catalog_backup for details. nbsp; # Arguments to make_catalog_backup are#58; nbsp; #nbsp; make_catalog_backup database-name user-name password host nbsp; # nbsp; # Ubuntu uses make_catalog_backup_awk script for nbsp; # security reasons nbsp; # Replace CatalogName with the real Catalog name nbsp; # nbsp; RunBeforeJob = /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v nbsp;cat1=CatalogName /etc/bacula/bacula-dir.conf nbsp; # This deletes the copy of the catalog nbsp; RunAfterJobnbsp; = /etc/bacula/scripts/delete_catalog_backup nbsp; Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr nbsp; Priority = 11nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# run after main backup #125; # # Standard Restore template, to be changed by Console program #nbsp; Only one such job is needed for all Jobs/Clients/Storage ... # Job #123; nbsp; Name = RestoreFiles nbsp; Type = Restore nbsp; Client=BackupServer-fdnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; FileSet=Full Setnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Storage = Filenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Pool = Default nbsp; Messages = Standard nbsp; Where = /nonexistant/path/to/file/archive/dir/bacula-restores #125; # List of files to be backed up FileSet #123; nbsp; Name = Full Set nbsp; Include #123; nbsp; nbsp; Options #123; nbsp; nbsp; nbsp; signature = MD5 nbsp; nbsp; #125; #nbsp; nbsp; #nbsp; Put your list of files here, preceded by 'File =', one per line #nbsp; nbsp; or include an external list with#58; # #nbsp; nbsp; File = file-name # #nbsp; Note#58; / backs up everything on the root partition. #nbsp; nbsp; if you have other partitons such as /usr or /home #nbsp; nbsp; you will probably want to add them too. # #nbsp; By default this is defined to point to the Bacula build #nbsp; nbsp; directory to give a reasonable FileSet to backup to #nbsp; nbsp; disk storage during initial testing. # nbsp; nbsp; File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite nbsp; #125; # # If you backup the root directory, the following two excluded #nbsp; nbsp;files can be useful # nbsp; Exclude #123; nbsp; nbsp; File = /proc nbsp; nbsp; File = /tmp nbsp; nbsp; File = /.journal nbsp; nbsp; File = /.fsck nbsp; #125; #125; # # When to do the backups, full backup on first sunday of the month, #nbsp; differential #40;i.e. incremental since full#41; every other sunday, #nbsp; and incremental backups other days Schedule #123; nbsp; Name = WeeklyCycle nbsp; Run = Full 1st sun at 23#58;05 nbsp; Run = Differential 2nd-5th sun at 23#58;05 nbsp; Run = Incremental mon-sat at 23#58;05 #125; # This schedule does the catalog. It starts after the WeeklyCycle Schedule #123; nbsp; Name =
Re: [Bacula-users] Bacula for disk drives Help
I thought I was using the latest version of Bacula; I installed Ubuntu 9.10 Server and did an apt-get to get bacula. Some distributions get very far behind the current. This happens a lot with LTS type releases. They stick with a version and only upgrade for security reasons. There are precompiled versions for some of these on the bacula sourceforge page. BTW, the server (bacula-sd and bacula-dir) must be the same or higher version than any bacula-fd or bat that you are using. John -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Doubt about two process for restaure files
I am trying restore the files using two process. First process *run A job name must be specified. The defined Job resources are: 1: Backup-LinuxDefault 2: Restore-BackupLog 3: Backup-File-Clone 4: Restore-Backup-File-Clone 5: Backup-File-Teste 6: Restore-Backup-File-Teste Select Job resource (1-6): 4 Please enter a JobId for restore: 47 Run Restore job JobName:Restore-Backup-File-Clone Bootstrap: *None* Where: /tmp/bacula-restores Replace: always Client: LinuxDefault Storage: FileStorage JobId: 47 When:2010-04-05 18:36:19 Catalog: MyCatalog Priority:10 Plugin Options: *None* OK to run? (yes/mod/no): yes Job queued. JobId=48 Second process , I am using command restore Enter a period to cancel a command. *restore Automatically selected Catalog: MyCatalog Using Catalog MyCatalog First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs where a given File is saved 3: Enter list of comma separated JobIds to select 4: Enter SQL list command 5: Select the most recent backup for a client 6: Select backup for a client before a specified time 7: Enter a list of files to restore 8: Enter a list of files to restore before a specified time 9: Find the JobIds of the most recent backup for a client 10: Find the JobIds for a backup for a client before a specified time 11: Enter a list of directories to restore for found JobIds 12: Select full restore to a specified Job date 13: Cancel Select item: (1-13): 3 Enter JobId(s), comma separated, to restore: 41 You have selected the following JobId: 41 Building directory tree for JobId(s) 41 ... ++ 52 files inserted into the tree. You are now entering file selection mode where you add (mark) and remove (unmark) files to be restored. No files are initially added, unless you used the all keyword on the command line. Enter done to leave this mode. cwd is: / $ ls var/ $ all Invalid command all. Enter done to exit. $ mark No files marked. $ ls var/ $ mark var/ 59 files marked. $ done Bootstrap records written to /var/bacula/working/LinuxDefault-dir.restore.1.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === HDPoolTeste FileStorage FileStorage Volumes marked with * are online. 59 files selected to be restored. Then only second process fine work, the first process don't complete process totaly. My /var/log/message show this message at moment execution restore command Apr 5 18:36:40 LinuxDefault bacula-dir: LinuxDefault-dir JobId 48: Error: Bacula LinuxDefault-dir 5.0.0 (26Jan10): 05-Apr-2010 18:36:40 Build OS: i686-pc-linux-gnu redhatJobId: 48 Job: Restore-Backup-File-Clone.2010-04-05_18.36.38_43 Restore Client: LinuxDefault Start time: 05-Apr-2010 18:36:40 End time: 05-Apr-2010 18:36:40 Files Expected: 0 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: SD termination status: Termination:*** Restore Error *** Apr 5 18:36:40 LinuxDefault bacula-dir: LinuxDefault-dir JobId 48: Error: Bacula LinuxDefault-dir 5.0.0 (26Jan10): 05-Apr-2010 18:36:40 Build OS: i686-pc-linux-gnu redhatJobId: 48 Job: Restore-Backup-File-Clone.2010-04-05_18.36.38_43 Restore Client: LinuxDefault Start time: 05-Apr-2010 18:36:40 End time: 05-Apr-2010 18:36:40 Files Expected: 0 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 1 FD termination status: SD termination status: Termination:*** Restore Error *** Why the first process don't work ? What diferente between the process ? Thank very much +-- |This was sent by aspe...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during