[Bacula-users] Problems with recycling
Hi I am tetsing Bacula. I have configured it to work with mysql. I have one pool with only one tape. There are 5 jobs to be backed up on that tape. Jobs are running weekly. This is the pool configuration: Pool { Name = PoolCintasDiariasMartes Pool Type = Backup AutoPrune = yes Volume Retention = 5 days Recycle = yes } Then, the 5 jobs run ok. But next week tape has status Append, and should be Used, isn't it? because 5 days is the volume retention, so after 5 days the tape should be recycled. (i have read the documentation, mainly this page http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html). If i change the pool to look like this: Pool { Name = PoolCintasDiariasMartes Pool Type = Backup Use Volume Once = Yes AutoPrune = yes Volume Retention = 5 days Recycle = yes } After the first job, the tape is marked as used and bacula requests me one appendable volume for the next job. Any idea about why bacula does not mark the volume as used after 5 days with the first pool configuration? Thanks in advance. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] The number of files mismatch!
Hi I am getting this error when bacula fails running a job (the client gets blocked, i. e.) and using again the tape used when got the error. 8-Aug 23:00 BackupDirector: Start Backup JobId 198, Job=BackupPC-Calidad.2007-08-08_23.00.00 08-Aug 23:00 backup-sd: Volume CintasDiariasMiercoles-01 previously written, moving to end of data. 08-Aug 23:01 backup-sd: BackupPC-Calidad.2007-08-08_23.00.00 Error: I cannot write on Volume CintasDiariasMiercoles-01 because: The number of files mismatch! Volume=78 Catalog=77 08-Aug 23:01 backup-sd: Marking Volume CintasDiariasMiercoles-01 in Error in Catalog. 08-Aug 23:03 backup-sd: Job BackupPC-Calidad.2007-08-08_23.00.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: HPUltrium1 (/dev/st0) Media type: Ultrium-1 Pool: PoolCintasDiariasMiercoles I think that when bacula is making a backup, it inserts the current file in the database, but if client is blocked, the file is not backed up, so the number of files in the tape and in the catalog are different; could this be the reason? I solved this setting manually the number of files of the tape in the catalog, and set the volume status to append. Any idea solving this? thanks - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Tapes in error status
Hi When some error ocurrs when doing a backup, the tape used get the status Error. How can i change the status so i can use again that tape without needing to delete it and add it again? If i manually set the status Append the job runs but i get an error saying that the number of file in the tape is not equal to the number of files in database. Thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Programming last friday of month
Hi I want to make a backup in a different pool last friday of the month? is this possible? Schedule: Pool1: 1st - (last-1) friday (from first to last penultimate friday) Pool 2: Last friday of month - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Many jobs in one volume
Hi I am trying to backup many computers into one tape, but when a job is finished i get this error: - 02-jul 08:52 backup-sd: Job BackupV-SVN.2007-06-29_23.00.02 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: HPUltrium1 (/dev/st0) Media type: Ultrium-1 Pool: PoolCintasSemanalesSemana5 - Pool definitios are: - Pool { Name = PoolCintasPuestosLunes Pool Type = Backup AutoPrune = yes VolumeRetention = 10d # recycle in 10 days Recycle = yes } - I have 5 client, 5 jobs (one job for each client) and one tape drive. There is one pool for every week day (except friday), one pool for every friday of the month (except first friday), and one pool for every first friday of the month. Each pool has only one tape. There is only one schedule for all jobs. Could you help me? Do you need any more info? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Many jobs in one volume
Well, my error, i sent a message to one user, and not to the list. I paste it again: There is one volume (and only one) created and labeled for each pool: - *status director [...] Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup10 02-jul-07 23:00BackupV-Web CintasDiariasLunes Full Backup10 02-jul-07 23:00BackupV-Kolab CintasDiariasLunes Full Backup10 02-jul-07 23:00BackupV-SVN CintasDiariasLunes Full Backup10 02-jul-07 23:00BackupDBOpenBravo CintasDiariasLunes Full Backup10 02-jul-07 23:00BackupSamba CintasDiariasLunes [...] *list media [...] Pool: PoolCintasDiariasLunes +-+---+---+-+--+--+-+--+---+---+-+ | MediaId | VolumeName| VolStatus | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+---+---+-+--+--+-+--+---+---+-+ | 2 | CintasDiariasLunes-01 | Used | 258,733,325 |1 |2,592,000 | 1 |0 | 0 | Ultrium-1 | 2007-06-25 08:58:27 | +-+---+---+-+--+--+-+--+---+---+-+ [...] - The problem is that the first scheduled job, works fine, but once finished, the next job is waiting with that message. I want all jobs in the schedule be stored in the same tape. 2007/7/2, tomasz dereszynski [EMAIL PROTECTED]: Juan Asensio Sánchez wrote: No idea? Please help me, i can't get it work. told you i think you need to label tape/s 02-jul 08:52 backup-sd: Job BackupV-SVN.2007-06-29_23.00.02 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: HPUltrium1 (/dev/st0) Media type: Ultrium-1 Pool: PoolCintasSemanalesSemana5 that mean you do not have volume for this pool and u need to create one using label command in bconsole *label hit enter it will tell you what to do next then bacula will create volume with this label for pool ok? and user guide is not bad idea - Pool definitios are: - Pool { Name = PoolCintasPuestosLunes Pool Type = Backup AutoPrune = yes VolumeRetention = 10d # recycle in 10 days Recycle = yes } - I have 5 client, 5 jobs (one job for each client) and one tape drive. There is one pool for every week day (except friday), one pool for every friday of the month (except first friday), and one pool for every first friday of the month. Each pool has only one tape. There is only one schedule for all jobs. Could you help me? Do you need any more info? yes you need labeled your tape... use 'label' in bacula regards -- bEsT rEgArDs| Confidence is what you have before you tomasz dereszynski | understand the problem. -- Woody Allen TD840-RIPE | -- bEsT rEgArDs| Confidence is what you have before you tomasz dereszynski | understand the problem. -- Woody Allen TD840-RIPE | - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Terminated jobs and translating email messages
Hi I am trying to delete all data from bacula to start again. I have dropped the mysql database and when i run status director, it is empty, but when I run status storage i have the old terminated jobs. I have deleted too /var/lib/bacula/*.state, *.bsr and *.connmsg without success. How can i remove those terminated jobs? One more question. Is it possible to translate the email messages that bacula sends? Can i custom them? Thanks in advance. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users