Re: [Bacula-users] volume recycling
Martin Simmons wrote: On Fri, 29 Jul 2005 11:00:05 +0200, Rico [EMAIL PROTECTED] said: Rico hi Rico i have made a donothing-backup-job. Rico then run donothing. Rico 29-Jul 10:23 pe2800oracle-dir: Start Backup JobId 477, Rico Job=donothing.2005-07-29_10.23.49 Rico volumeretentionperiod is over. bacula pruned the current volume and Rico changed status to recycle. till here all right. Rico 29-Jul 10:37 pe2800oracle-dir: Pruned 5 Jobs on Volume freitag1 from Rico catalog. Rico 29-Jul 10:37 pe2800oracle-dir: Recycled volume freitag1 Rico BUT then received this error-message: Rico 29-Jul 10:37 pe2800oracle-sd: Job donothing.2005-07-29_10.23.49 waiting. Rico Cannot find any appendable volumes. Rico Please use the label command to create a new Volume for: Rico Storage: LTO Ultrium 2 Rico Media type: LTO-G2 Rico Pool: Default Rico after certain time job will be canceled automatic. Rico why donothing is not using the purged and recycled volume? the jobs Rico dont wait till the purging is ready. Rico it schould working like this. Rico 1. job start Rico 2. purge volume and set status to recycle.(job must wait till purging is Rico ready) Rico 3. use the currently purged volume for backup It would be useful to post the output of list media in the console and also your pool definition for Default. __Martin ok here ist my pool: Pool { Name = Default Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 325 hours Accept Any Volume = yes Recycle Current Volume = yes Maximum Volumes = 10 Maximum Volume Jobs = 5 } and here list media. this evening montag2 will be used(tape is inserted and volumeretentionperiod is over). but i know the same error like above WILL occur. if i purge the volume manuell before backup these evening, then the backup runs without problems. but i wont do this manuell every day. Using default Catalog name=MyCatalog DB=bacula Pool: Default +-+-+---+--+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+-+---+--+--+--+-+--+---+---+-+ | 1 | montag1 | Read-Only | 1| 0| 117 | 1 | 0| 1 | LTO-G2| 2005-07-12 03:40:57 | | 2 | dienstag1 | Used | 289249453970 | 290 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-27 02:00:11 | | 3 | mittwoch1 | Used | 378584181984 | 381 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-28 03:35:06 | | 4 | donnerstag1 | Used | 378406052002 | 381 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-29 03:35:51 | | 5 | freitag1| Used | 376792810971 | 380 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-30 03:45:38 | | 7 | dienstag2 | Used | 372883955813 | 376 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-20 04:55:07 | | 9 | mittwoch2 | Read-Only | 1| 0| 117 | 1 | 0| 1 | LTO-G2| 2005-07-07 04:06:36 | | 10 | donnerstag2 | Read-Only | 1| 0| 117 | 1 | 0| 1 | LTO-G2| 2005-07-08 03:56:32 | | 11 | freitag2| Used | 380277899635 | 382 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-23 17:41:14 | | 12 | montag2 | Used | 373419137501 | 376 | 117 | 1 | 0| 1 | LTO-G2| 2005-07-19 04:30:11 | +-+-+---+--+--+--+-+--+---+---+-+ rico --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Show next tape
On 2005-07-26, Alan Brown wrote: On Tue, 26 Jul 2005, Roland Arendes wrote: The 'status dir' output is a good guess anyway, if I remember correctly. It only shows the guess for the next tape. Yes, and you can use it only when you schedule the job. In our case the internal schedule mechanism is too inflexible, so we start backup manually via a script. Also we have 3 pools for the backup job for daily, weekly and monthly tapes. The best way would be a new command show_next_appendable_tape pool for the console. There's already a function find_next_volume_for_append in the code which is also called by the status dir command. I suppose it should not be too difficult to implement this functionality as a console command for someone who knows the code structure. I think for most sites it's a major issue to know in advance what tapes bacula wants to use next in a particular pool. -- Georg --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Show next tape
On 2005-07-26, Phil Stracchino wrote: Well, I suppose that so long as you don't have a limited volume use count or volume use window, then provided you have Use Any Volume enabled and you know about how much data you're expecting to back up, the output of List Volumes should be able to tell you a volume that will BE ACCEPTED. Hi Phil, we have 3 different pools: montly (new tapes, archive) , weekly (4 tapes) , daily (4 tapes). For data security reasons the tapes are changed each day. Monthly and weekly tapes are stored off-site. The 3 daily tapes are stored at the same location (but not the same room). So if the tape drive melts down the tape or something happens physically to the server only the last backup is concerned. To enforce the policy I set Maximum Volume Job to 2 (Backup plus catalog) and Accept Any Volume to no. -- Georg --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula-sd CPU eating in system space.
Hello everybody, I would like to tell a random strange behaviour in bacula in bacula-sd. The storage (and director) system is a RedHat AS 4.0 2 Gb RAM and 4.5 Tb raid 5 disks paritioned (ext3) in 1 Tb partitions. Bacula volumes are limited to 45 Gb (compressed by client-fd) so that they can fit on one SSL2020 cartridge. During normal behaviour one volume is filled in 1 hour 40 minutes, and bacula-sd process uses below 5 % of CPU time. Ramdomly it happens that time becomes 3-4 times longer, CPU spent in bacula-sd raise to 80-90% (mostly in system space). Once the current volume is filled up copying continues with normal behavior, maybe to the end of job or maybe it switch again in the bad state. Does anyone have any suggestion about what to look for? Thanks everybody. Ferdinando PasqualettiG.T.Dati srlTel. 055 7310862Fax 055 720143
[Bacula-users] deleted database
Hello, i have a big problem. I should say a very big. Someone of operators deleted mysql data directory, where was bacula database. So now i have all backups but without database. How can i restore my backups, without database? Linux filesystem is xfs, so i cannot restore deleted directories :( Please help me to get back my backups. Thank You! V. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Insert failures using SQLite
Dear All, I had bacula running on my Freebsd 5.3 system. I have upgraded my system to FreeBSD 5.4 and installed bacula from the ports tree. When I attempt to run a job I get the following error: *run Using default Catalog name=MyCatalog DB=bacula A job name must be specified. The defined Job resources are: 1: Client1 2: BackupCatalog 3: RestoreFiles Select Job resource (1-3): 1 Run Backup job JobName: Client1 FileSet: Full Set Level:Incremental Client: fastsrv-fd Storage: File Pool: Default When: 2005-07-31 17:12:39 Priority: 10 OK to run? (yes/mod/no): yes Job failed. You have messages. *messages 31-Jul 17:12 fastsrv-dir: Client1.2005-07-31_17.12.42 Fatal error: sql_create.c:91 sql_create.c:91 insert INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) failed: attempt to write a readonly database 31-Jul 17:12 fastsrv-dir: sql_create.c:91 INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) 31-Jul 17:12 fastsrv-dir: Client1.2005-07-31_17.12.42 Fatal error: sql_create.c:93 Create DB Job record INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) failed. ERR=attempt to write a readonly database * I cant find any information on the sqlite page about making a database readonly (or how to turn this feature off). I have checked the file permissions and they are correct. I can perform this INSERT from the sqlite command line tool but not from the bconsole sqlquery option. Has anyone seen this problem before? Im using the sqlite2 and the bacula-server from the ports tree. Thanks, Anthony --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Automatically mount the tape for next backup
Hi, I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive. I have 7 Jobs to run each night and I ant to change the tape after each full backup that occurs each night. I use this option in order to mark the tape as Used when the backup is finished : Maximum Volume Jobs = 7 But, when I insert a new tape, I have to mount the tape so that the next backup can run. Is it possible to have a fully automatic configuration in order to avoid the need to explicitly mount the tape through bconsole ? Extract from bacula-sd.conf : ** Device { Name = LTO2 Media Type = LTO2 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ** Thanks in advance, Sébastien --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically mount the tape for next backup
Sébastien Lefebvre wrote: Hi, I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive. I have 7 Jobs to run each night and I ant to change the tape after each full backup that occurs each night. I use this option in order to mark the tape as Used when the backup is finished : Maximum Volume Jobs = 7 But, when I insert a new tape, I have to mount the tape so that the next backup can run. Is it possible to have a fully automatic configuration in order to avoid the need to explicitly mount the tape through bconsole ? Extract from bacula-sd.conf : ** Device { Name = LTO2 Media Type = LTO2 Archive Device = /dev/nst0AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ** Thanks in advance, Sébastien --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users hi its easy. make an admin job that runs first(priority). in this admin job write this: RunBeforeJob = /etc/bacula/before_backup in /etc/bacula/before_backup(make executable) write this: #! /bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA @output /dev/null mount storage=LTO-G2 quit END_OF_DATA exit 0 #EOF or u can insert RunBeforeJob = /etc/bacula/before_backup in you first backup-job. rico --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically mount the tape for next backup
Does this work, if a backup change happend during a job? On Mon, 01 Aug 2005 11:50:40 +0200 Rico [EMAIL PROTECTED] wrote: Sébastien Lefebvre wrote: Hi, I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive. I have 7 Jobs to run each night and I ant to change the tape after each full backup that occurs each night. I use this option in order to mark the tape as Used when the backup is finished : Maximum Volume Jobs = 7 But, when I insert a new tape, I have to mount the tape so that the next backup can run. Is it possible to have a fully automatic configuration in order to avoid the need to explicitly mount the tape through bconsole ? Extract from bacula-sd.conf : ** Device { Name = LTO2 Media Type = LTO2 Archive Device = /dev/nst0AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ** Thanks in advance, Sébastien --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users hi its easy. make an admin job that runs first(priority). in this admin job write this: RunBeforeJob = /etc/bacula/before_backup in /etc/bacula/before_backup(make executable) write this: #! /bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA @output /dev/null mount storage=LTO-G2 quit END_OF_DATA exit 0 #EOF or u can insert RunBeforeJob = /etc/bacula/before_backup in you first backup-job. rico --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Bernhard Suttner [EMAIL PROTECTED] ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Schön Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically mount the tape for next backup
your solution with the run before job only mount the tape before a job, but a tape could be full during a job, too. Does your solution work too, if bacula requests a new tape during a job? On Mon, 01 Aug 2005 12:49:46 +0200 Rico [EMAIL PROTECTED] wrote: Bernhard Suttner wrote: Does this work, if a backup change happend during a job? i dont understand your question :/ rico On Mon, 01 Aug 2005 11:50:40 +0200 Rico [EMAIL PROTECTED] wrote: Sébastien Lefebvre wrote: Hi, I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive. I have 7 Jobs to run each night and I ant to change the tape after each full backup that occurs each night. I use this option in order to mark the tape as Used when the backup is finished : Maximum Volume Jobs = 7 But, when I insert a new tape, I have to mount the tape so that the next backup can run. Is it possible to have a fully automatic configuration in order to avoid the need to explicitly mount the tape through bconsole ? Extract from bacula-sd.conf : ** Device { Name = LTO2 Media Type = LTO2 Archive Device = /dev/nst0AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ** Thanks in advance, Sébastien --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users hi its easy. make an admin job that runs first(priority). in this admin job write this: RunBeforeJob = /etc/bacula/before_backup in /etc/bacula/before_backup(make executable) write this: #! /bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA @output /dev/null mount storage=LTO-G2 quit END_OF_DATA exit 0 #EOF or u can insert RunBeforeJob = /etc/bacula/before_backup in you first backup-job. rico --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Bernhard Suttner [EMAIL PROTECTED] ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Schön Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Forcing Pools for upgraded jobs
Good morning everyone, Can a backup job which has been upgraded to Full be forced to use a different Pool in the director config? Example situation: 1) A new client is added to the director config in the middle of the month. 2) Full backups occur at the beginning of the month. 3) The new client uses a generic schedule which is defined for similar clients. 4) The next Run in that schedule is defined with Level=Incremental Pool=IncrPool. 5) So the director upgrades the job to Full, but still wants to use the IncrPool because it's specified in the Run directive. What I would like to see (if it is possible) is optional functionality such that when a job is upgraded during a scheduled Run, the Pool for that Run can be overridden as well. The first thing that came to mind when I started thinking about this is that job levels might have to be assigned to pools -- which may not be want some users want. After some further consideration it occurs to me that an optional Upgrade Pool directive could be added to the Schedule resource. Of course, these considerations hinge on whether such functionality is not currently available. Any thoughts? Thanks, Chris --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically mount the tape for next backup
Bernhard Suttner wrote: your solution with the run before job only mount the tape before a job, but a tape could be full during a job, too. Does your solution work too, if bacula requests a new tape during a job? i dont know. my nightly backup fit on 1 tape. i assume runbeforejob will be executed only once per job. but thats highly speculative :) pls read the manual. On Mon, 01 Aug 2005 12:49:46 +0200 Rico [EMAIL PROTECTED] wrote: Bernhard Suttner wrote: Does this work, if a backup change happend during a job? i dont understand your question :/ rico On Mon, 01 Aug 2005 11:50:40 +0200 Rico [EMAIL PROTECTED] wrote: Sébastien Lefebvre wrote: Hi, I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive. I have 7 Jobs to run each night and I ant to change the tape after each full backup that occurs each night. I use this option in order to mark the tape as Used when the backup is finished : Maximum Volume Jobs = 7 But, when I insert a new tape, I have to mount the tape so that the next backup can run. Is it possible to have a fully automatic configuration in order to avoid the need to explicitly mount the tape through bconsole ? Extract from bacula-sd.conf : ** Device { Name = LTO2 Media Type = LTO2 Archive Device = /dev/nst0AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; } ** Thanks in advance, Sébastien --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users hi its easy. make an admin job that runs first(priority). in this admin job write this: RunBeforeJob = /etc/bacula/before_backup in /etc/bacula/before_backup(make executable) write this: #! /bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA @output /dev/null mount storage=LTO-G2 quit END_OF_DATA exit 0 #EOF or u can insert RunBeforeJob = /etc/bacula/before_backup in you first backup-job. rico --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems with VSS snapshots
Hi all , So i'm testing the VSS enabled bacula, and want to backup an outlook data file ( .pst). But bacula returns with an error : 01-Aug 17:19 goja-dir: Start Backup JobId 7, Job=Backup-gytis.2005-08-01_17.19.38 01-Aug 17:19 goja-dir: Created new Volume Gytis-0002 in catalog. 01-Aug 17:19 goja-sd: Labeled new Volume Gytis-0002 on device Gytis (/mnt/backups/gytis.in). 01-Aug 17:19 goja-sd: Wrote label to prelabeled Volume Gytis-0002 on device Gytis (/mnt/backups/gytis.in) 01-Aug 14:20 goja-fd: Generate VSS snapshots. Driver=VSS WinXP, Drive(s)=DC 01-Aug 14:20 goja-fd: Backup-gytis.2005-08-01_17.19.38 Warning: Generate VSS snapshot of drive d:\ failed 01-Aug 14:20 goja-fd: Backup-gytis.2005-08-01_17.19.38 Warning: Generate VSS snapshot of drive c:\ failed 01-Aug 14:20 goja-fd: VSS Writer: Microsoft Writer (Bootable State), State: 1 (VSS_WS_STABLE) 01-Aug 14:20 goja-fd: Backup-gytis.2005-08-01_17.19.38 Warning: VSS Writer: WMI Writer, State: 7 (VSS_WS_FAILED_AT_PREPARE_BACKUP) 01-Aug 14:20 goja-fd: VSS Writer: MSDEWriter, State: 1 (VSS_WS_STABLE) 01-Aug 14:20 goja-fd: VSS Writer: Microsoft Writer (Service State), State: 1 (VSS_WS_STABLE) 01-Aug 14:21 goja-fd: Backup-gytis.2005-08-01_17.19.38 Error: Read error on file C:/Documents and Settings/Gytis/Local Settings/Application Data/Microsoft/Outlook/Outlook.pst. ERR=The process cannot access the file because another process has locked a portion of the file. I'm using winbacula-vss-1.37.32.exe and bacula dir on linux compiled from source Version: 1.37.30 (14 July 2005) Director configuration: FileSet { Name = Gytis Enable VSS = yes Include { Options { compression=GZIP9; signature=MD5; portable=yes;} File = d:/Work File = c:/Documents and Settings/Gytis/Local Settings/Application Data/Microsoft/Outlook/ } } Client is runing Windows XP Pro with sp2. VSS is started. Any ideas? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with VSS snapshots
meska wrote: Hi all , So i'm testing the VSS enabled bacula, and want to backup an outlook data file ( .pst). But bacula returns with an error : I wouldn't expect that Outlook supports VSS. It would be one less reason for people to buy Exchange if it did... -- Russell Howe [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Show next tape
Georg Lutz wrote: On 2005-07-26, Phil Stracchino wrote: Well, I suppose that so long as you don't have a limited volume use count or volume use window, then provided you have Use Any Volume enabled and you know about how much data you're expecting to back up, the output of List Volumes should be able to tell you a volume that will BE ACCEPTED. Hi Phil, we have 3 different pools: montly (new tapes, archive) , weekly (4 tapes) , daily (4 tapes). For data security reasons the tapes are changed each day. Monthly and weekly tapes are stored off-site. The 3 daily tapes are stored at the same location (but not the same room). So if the tape drive melts down the tape or something happens physically to the server only the last backup is concerned. To enforce the policy I set Maximum Volume Job to 2 (Backup plus catalog) and Accept Any Volume to no. Hm. I don't see how having Accept Any Volume disabled would do anything to enforce that policy that could not be better enforced by carefully structuring you Volume Retention and Volume Use Duration settings. For instance, let's assume your daily backups take eight hours to run, and your schedule calls for re-using tapes every eight weeks, then you could set the following in your Pools: Volume Use Duration = 12h Volume Retention = 55d Recycle = yes Recycle Oldest Volume = yes Accept Any Volume = yes This will give you 12 hours to write each tape, then Bacula will not allow that tape to be written again for 55 days, so it will become available for use again approximately 12-16 hours before the next time it's due to be used. Do this for ALL your tapes and keep a catalog of what is scheduled for use when, and you shouldn't have a problem. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] deleted database
viktorija wrote: Hello, i have a big problem. I should say a very big. Someone of operators deleted mysql data directory, where was bacula database. So now i have all backups but without database. How can i restore my backups, without database? Linux filesystem is xfs, so i cannot restore deleted directories :( Please help me to get back my backups. Hi again Viktorija. You have two alternatives here. First, if you've been running a job to dump and backup your catalog, you can use bextract to restore the Catalog backup from your most recent backup. Failing that, you can use bscan to reconstruct your Catalog from your backed up volumes. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Forcing Pools for upgraded jobs
Chris Lee wrote: Good morning everyone, Can a backup job which has been upgraded to Full be forced to use a different Pool in the director config? Example situation: 1) A new client is added to the director config in the middle of the month. 2) Full backups occur at the beginning of the month. 3) The new client uses a generic schedule which is defined for similar clients. 4) The next Run in that schedule is defined with Level=Incremental Pool=IncrPool. 5) So the director upgrades the job to Full, but still wants to use the IncrPool because it's specified in the Run directive. What I would like to see (if it is possible) is optional functionality such that when a job is upgraded during a scheduled Run, the Pool for that Run can be overridden as well. The first thing that came to mind when I started thinking about this is that job levels might have to be assigned to pools -- which may not be want some users want. After some further consideration it occurs to me that an optional Upgrade Pool directive could be added to the Schedule resource. Of course, these considerations hinge on whether such functionality is not currently available. It's already possible to specify which pool should be used for jobs of specific levels: JobDefs { Name = Backup Type = Backup ... Full Backup Pool = Full Differential Backup Pool = Inc Incremental Backup Pool = Inc ... } Reason says all that SHOULD be required is to make Bacula honor these directives when it upgrades Job levels. (I seem to recall this issue has come up before, but I don't recall the resolution.) -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Forcing Pools for upgraded jobs
I can't believe I didn't see this in the manual before. Thanks for pointing it out! :) Thanks, Chris -Original Message- From: Phil Stracchino [mailto:[EMAIL PROTECTED] Sent: Monday, 01 August, 2005 08:20 To: Chris Lee Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Forcing Pools for upgraded jobs Chris Lee wrote: Good morning everyone, Can a backup job which has been upgraded to Full be forced to use a different Pool in the director config? Example situation: 1) A new client is added to the director config in the middle of the month. 2) Full backups occur at the beginning of the month. 3) The new client uses a generic schedule which is defined for similar clients. 4) The next Run in that schedule is defined with Level=Incremental Pool=IncrPool. 5) So the director upgrades the job to Full, but still wants to use the IncrPool because it's specified in the Run directive. What I would like to see (if it is possible) is optional functionality such that when a job is upgraded during a scheduled Run, the Pool for that Run can be overridden as well. The first thing that came to mind when I started thinking about this is that job levels might have to be assigned to pools -- which may not be want some users want. After some further consideration it occurs to me that an optional Upgrade Pool directive could be added to the Schedule resource. Of course, these considerations hinge on whether such functionality is not currently available. It's already possible to specify which pool should be used for jobs of specific levels: JobDefs { Name = Backup Type = Backup ... Full Backup Pool = Full Differential Backup Pool = Inc Incremental Backup Pool = Inc ... } Reason says all that SHOULD be required is to make Bacula honor these directives when it upgrades Job levels. (I seem to recall this issue has come up before, but I don't recall the resolution.) -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how to redo a job
Moin, I have run a backup, but one host (= one job) do not run successfull, because I have a network problem. I fixed this network problem now. How can I run the unsuccessfull job now with all configurations (the same pool, the same data). I know the command run but then the job would use the Pool Default and not the pool Weekly ? Greets Bernhard Suttner -- Bernhard Suttner [EMAIL PROTECTED] ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Schön Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Bacula Multiple Tape Drives
Amanda changes the access-times on all the files it backups but this collides with out tmpwatch system - the files never expire :-( I hope this behavior is different with bacula. Bacula uses access times to decide what files to backup on Incremental and Differential backups. I'm not sure what the tmpwatch system does or why it conflicts with Amanda. tmpwatch is basically a small program that deletes things out of directories you designate: it cleans up /tmp and other bits here and there. It does so by querying access time of the file; if over a chosen threshold, it deletes the file. If Amanda changes access time on each file it touches, then that threshold would never be reached. He's basically wondering if Bacula changes atime on files it backs up, cause that'll mess up tmpwatch. (and it does) That being said, Kern, I have access time turned off via a mount option on a few of my larger filesystems for specific reasons; I'd assume that won't completely weird Bacula out? (I haven't brought those FS's into the new system yet) Thanks! Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ACL's with Bacula on FreeBSD (resend)
-- DaveD On Aug 1, 2005, at 11:59 AM, David Duchscher wrote: On Jul 20, 2005, at 1:15 PM, Tony Lambregts wrote: I have ACL's working on our FreeBSD Server using Samba but when I tried to backup and restore the files using Bacula I was unable to restore the ACL's. When I investigated I discovered that Bacula configured itself to have ACL support: no. I compiled it from soure using ports (bacula-1.36.2) The relevant portion of the configure check is as follows. checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for acl_get_file in -lacl... no From my research that last test is only really valid on linux. I would really like to know how to get Bacula to backup and restore ACL's on FreeBSD. Is this a known issue that has a simple fix or have I missed something? Thank you for your time. acl_get_file is in libc on FreeBSD. The acl library does exists on freebsd and is why the test fails. Removing the -lacl from the test will cause it to succeed. Here is a replacement patch for / usr/ports/sysutils/bacula-server/files/patch-configure. I haven't tested things completely yet so I am very interested in your results. If it works for both of us, I will submit the patch to the port maintainer and we can see about getting the test fixed in future releases. In case the mailer mangles the patch, you can also get it here: http://freebsd.tamu.edu/bacula/ After poking around some more, there is some linux only calls and headers that get added in when ACLs are enabled. I fixed those up and things will compile but being that is a lot of changes, I decided to check what changes went into 1.37.30. Things are much better in 1.37.30 and I would suggest looking at it for ACL support. I also think testing the beta is probably best since any bugs found might be fixed before it becomes stable. One thing that still needs fixing is the configure check for ACLs. Its the same as in 1.36.3. Removing the -lacl will cause the test to pass on FreeBSD. -- DaveD --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with VSS snapshots
On Mon, 1 Aug 2005, Russell Howe wrote: I wouldn't expect that Outlook supports VSS. It would be one less reason for people to buy Exchange if it did... Huh? Did I miss something? I seem to have no trouble backing up an open PST file using VSS. If I restore the result, Outlook is perfectly happy to use it. *confused* --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users