Re: [Bacula-users] Understanding purge
On 22 November 2010 18:55, Blake Dunlap iki...@gmail.com wrote: On Mon, Nov 22, 2010 at 11:02, Dermot Beirne dermot.bei...@dpd.ie wrote: That particular feature would be good news for me at least! I definitely would really like to see the ability to automatically purge volumes also, and leave it to the user to decide if they want to preserve the data as long as possible. The patch you posted a link to is for version 3.0.1 Do you know if it would still apply to 5.0.3? If you can point me to a description of how to apply patches to bacula also, that would be helpful. I haven't used patches before. Do you normally use the binary distributions (rpms etc) or compile bacula from source? -Blake I've compiled from source up to now. Dermot -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup
On Mon, 22 Nov 2010 16:15:17 +0100, martinezino said: Dear List, i started using bacula a couple of weeks ago and i am very satisfied. Today i noticed on doing an incremental backup that a file that was moved from one directory to another doesn't get stored in the backup? After doing a touch on the file - it got saved into the backup (incremental). For my sense of a backup this should be done without touching the file, because the director content changed ... Do i miss here something? Thanks PM PS: bacula-fd on osx/hfs, atime is enabled That is because hfs doesn't change the ctime when you move a file, so bacula ignores the file. You could try using accurate mode, which should fix this. http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_3_0_0.html#SECTION0081 __Martin -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula and automatic labelling of volumes
Hi! I have set up bacula with automatic labelling of volumes: In bacula-dir.conf: Storage { Name = File Address = bacula SDPort = 9103 Password = Device = FileStorage Media Type = File } Pool { Name = File Pool Type = Backup Recycle = yes recycle Volumes AutoPrune = yes Volume Retention = 10 days Maximum Volume Bytes = 4G Maximum Volume Jobs = 1 Maximum Volumes = 100 LabelFormat = T${JobName} } In bacula-sd.conf: Device { Name = FileStorage Media Type = File Archive Device = /srv/bacula LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Automatic creation of volumes then labelling them fails. Bacula hangs waiting for operator intervention --- this is not what I expected it to do. I'd like to have: - Start a job, - look for an empty volume, if none there, create one, than label it - push it into the pool, mount it. - backup the jobs data. - after finishing keep the volume with this one job arround - delete it when retention time has come and there is not enough space for a new volume. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! -- Thomas -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
Bacula does not act like you wish, you could script parts of this to accomplish what you want, but you cannot do it natively. On Tue, Nov 23, 2010 at 12:53, Thomas Schweikle t...@vr-web.de wrote: Hi! I have set up bacula with automatic labelling of volumes: In bacula-dir.conf: Storage { Name = File Address = bacula SDPort = 9103 Password = Device = FileStorage Media Type = File } Pool { Name = File Pool Type = Backup Recycle = yes recycle Volumes AutoPrune = yes Volume Retention = 10 days Maximum Volume Bytes = 4G Maximum Volume Jobs = 1 Maximum Volumes = 100 LabelFormat = T${JobName} } In bacula-sd.conf: Device { Name = FileStorage Media Type = File Archive Device = /srv/bacula LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Automatic creation of volumes then labelling them fails. Bacula hangs waiting for operator intervention --- this is not what I expected it to do. I'd like to have: - Start a job, - look for an empty volume, if none there, create one, than label it - push it into the pool, mount it. - backup the jobs data. - after finishing keep the volume with this one job arround - delete it when retention time has come and there is not enough space for a new volume. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! -- Thomas -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
Am 23.11.2010 20:55, schrieb Blake Dunlap: Bacula does not act like you wish, you could script parts of this to accomplish what you want, but you cannot do it natively. Which parts does bacula do, which does it not? On Tue, Nov 23, 2010 at 12:53, Thomas Schweikle t...@vr-web.de [...] Automatic creation of volumes then labelling them fails. Bacula hangs waiting for operator intervention --- this is not what I expected it to do. I'd like to have: - Start a job, - look for an empty volume, if none there, create one, than label it - push it into the pool, mount it. - backup the jobs data. - after finishing keep the volume with this one job arround - delete it when retention time has come and there is not enough space for a new volume. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! -- Thomas -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
Which parts does bacula do, which does it not? - Start a job, - look for an empty volume, if none there, create one, than label it It looks here for an appendable volume. Although if all of your volumes are use volume once /max jobs =1 it will only find empty ones. - push it into the pool, mount it. You probably already want the volume in the correct pool. There is a scratch pool that can pull new volumes out of into your pool but I am not sure that will help or do what you want. - backup the jobs data. usually no problem if the last step succeed. - after finishing keep the volume with this one job arround this is the default operation/ - delete it when retention time has come and there is not enough space for a new volume. Bacula does not delete volumes when the retention period expires or it runs out of space. It will purge volumes when there are no available volumes in the pool and one is needed at the moment for a job. If you want different functionality than the default you will have to script this. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! -- Thomas -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- John M. Drescher -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
Am 23.11.2010 21:50, schrieb John Drescher: Which parts does bacula do, which does it not? - Start a job, - look for an empty volume, if none there, create one, than label it It looks here for an appendable volume. Although if all of your volumes are use volume once /max jobs =1 it will only find empty ones. Does this mean bacula does not automatically create volumes as needed if storage is File? Would be a nice feature. Else: is there a way to mass create volumes? I've calculated about 70 volumes per host I've to backup ... - push it into the pool, mount it. You probably already want the volume in the correct pool. There is a scratch pool that can pull new volumes out of into your pool but I am not sure that will help or do what you want. This would be enough --- if volumes recycled are relabelled. If they keep there label I'd have to look for a way remove labels from volumes not used any more. - backup the jobs data. usually no problem if the last step succeed. - after finishing keep the volume with this one job arround this is the default operation/ :-) - delete it when retention time has come and there is not enough space for a new volume. Bacula does not delete volumes when the retention period expires or it runs out of space. It will purge volumes when there are no available volumes in the pool and one is needed at the moment for a job. If you want different functionality than the default you will have to script this. I'd do it. But at first bacula would have to run and use volumes as necessary. Most of the time bacula shall run without any intervention by anyone! -- Thomas -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
Am 23.11.2010 um 19:53 schrieb Thomas Schweikle: Hi! I have set up bacula with automatic labelling of volumes: In bacula-dir.conf: Storage { Name = File Address = bacula SDPort = 9103 Password = Device = FileStorage Media Type = File } Pool { Name = File Pool Type = Backup Recycle = yes recycle Volumes AutoPrune = yes Volume Retention = 10 days Maximum Volume Bytes = 4G Maximum Volume Jobs = 1 Maximum Volumes = 100 LabelFormat = T${JobName} } In bacula-sd.conf: Device { Name = FileStorage Media Type = File Archive Device = /srv/bacula LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Automatic creation of volumes then labelling them fails. Bacula hangs waiting for operator intervention --- this is not what I expected it to do. I'd like to have: - Start a job, - look for an empty volume, if none there, create one, than label it - push it into the pool, mount it. - backup the jobs data. - after finishing keep the volume with this one job arround - delete it when retention time has come and there is not enough space for a new volume. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! Hi Thomas, i have the same configuration and it is doing the automatic labeling (Media Type = File). What about this recycle Volumes-line in your Pool definition ? PM -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
recycled volumes are not relabeled, only when they are created are they labeled AFAIK On Tue, Nov 23, 2010 at 16:17, Paulo Martinez martinez...@googlemail.comwrote: Am 23.11.2010 um 19:53 schrieb Thomas Schweikle: Hi! I have set up bacula with automatic labelling of volumes: In bacula-dir.conf: Storage { Name = File Address = bacula SDPort = 9103 Password = Device = FileStorage Media Type = File } Pool { Name = File Pool Type = Backup Recycle = yes recycle Volumes AutoPrune = yes Volume Retention = 10 days Maximum Volume Bytes = 4G Maximum Volume Jobs = 1 Maximum Volumes = 100 LabelFormat = T${JobName} } In bacula-sd.conf: Device { Name = FileStorage Media Type = File Archive Device = /srv/bacula LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Automatic creation of volumes then labelling them fails. Bacula hangs waiting for operator intervention --- this is not what I expected it to do. I'd like to have: - Start a job, - look for an empty volume, if none there, create one, than label it - push it into the pool, mount it. - backup the jobs data. - after finishing keep the volume with this one job arround - delete it when retention time has come and there is not enough space for a new volume. After reading the fine manual , goggling around, not finding anything helpful: does anyone have a setup doing what I expect mine to do, running and is willing to share? I'd appreciate any help! Hi Thomas, i have the same configuration and it is doing the automatic labeling (Media Type = File). What about this recycle Volumes-line in your Pool definition ? PM -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and automatic labelling of volumes
recycled volumes are not relabeled, only when they are created are they labeled AFAIK That is correct. If you want to change the name. Its probably better to delete and create a new volume. John -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unable to restore using different storage device.
Hello, I am having issues trying to restore to a different client and storage device then originally did the backup job. In our setup we have 1 director, 2 clients and 2 storage devices. I can restore fine if I run the restore job using the same storage device that backed it up, the problem I'm having is when I take the tape to our other site using the other storage device. Essentially this is the procedure I am following - Run restore job. - Specify job to restore - Mark files to restore - Choose my restore job profile - Change the client to the client I want to restore to - Change the storage device to the device I want to restore to - Run It then starts the job but the job waits with the message job... is waiting on max Storage jobs. Just to be clear this is the only job that is running. After having tried this same procedure over and over I finally noticed that the restore job writes a bootstrap record. This bootstrap record is written before the part where I can change the client and storage device. This results in the bootstrap file containing the incorrect storage device, even though I am modifying the job parameters and specifying a different one. Is this a bug or am I not understanding the use of the bootstrap file? How can it be written before the user is allowed to modify the backup job parameters? I have tried manually editing the file to reflect the storage device I want to use, as well as deleting the file completely and seeing if it notices. Either method result in the same ... is waiting on max Storage jobs Any tips? Suggestions? Thanks. -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users