[Bacula-users] Bacula bpipe and noatime=yes
Dear users, I observed that using the FileSet option noatime=yes might prevent bpipe closing file errors such as this: x-fd JobId 117: Error: bpipe-fd: Error closing for file /var/tmp/x: Is this accurate? Regards, -- MSc Heitor Faria CEO Bacula LATAM mobile1: + 1 909 655-8971 mobile2: + 55 61 98268-4220 Brasilia - Miami - New York www.bacula.com.br ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape physical retention and age monitoring
On Thu, 20 Sep 2018 07:51:46 -0400 Phil Stracchino wrote: > That would be "retension", as distinct from > "retention". Oh. You are right. So what is the answer? -- George ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape physical retention and age monitoring
On 9/20/18 7:40 AM, George Anchev via Bacula-users wrote: > Hi, > > As far as I have read there is a recommendation LTO-* > tapes to be physically rewind from start to finish and > back every now and then to release physical tension. > This tape retention has a different meaning from the > term "retention" in Bacula (if I understand correctly). That would be "retension", as distinct from "retention". -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
Hi Kern, Is variable expansion fully supported again now? The doc (http://www.bacula.org/9.2.x-manuals/en/misc/Variable_Expansion.html) still says that it was deprecated as of version 1.37, but the replacement python scripting has been removed. __Martin > On Thu, 20 Sep 2018 12:09:25 +0200, Kern Sibbald said: > > PS: Bacula can create labels in many different formats using variable > substitution. This is documented in the manual. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Tape physical retention and age monitoring
Hi, As far as I have read there is a recommendation LTO-* tapes to be physically rewind from start to finish and back every now and then to release physical tension. This tape retention has a different meaning from the term "retention" in Bacula (if I understand correctly). Also tapes have limited (although quite long) age and same applies to write cycles. My question is: Does Bacula provide any means to monitor and service all these? Or what recommendations would you give? -- George ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
Check permissions on the disk, including SELinux or other ACLs. The bacula-sd user must have read/write permissions. On 9/19/2018 3:40 PM, Gary Dale wrote: I'm running bacula 7.4.4 on a Debian/Stretch AMD64 server. When I try to create a new disk volume for my steadily increasing amount of data needing to be backed up, it usually fails after I create the first new volume. There is lots of free space on the disk, so it's not that. Eventually I might be able to create another new volume (possibly because of an intervening reboot) but in the meanwhile I only have the one new volume (25G) which is about 1/10 the size of a full backup... Here's an example of what I see in bconsole when executing the label command: Sending label command for Volume "weekly-backup-pool-30" Slot 0 ... 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. Label command failed for Volume weekly-backup-pool-30. Do not forget to mount the drive!!! Any ideas on what is happening and how to fix it? Thanks. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
Hello, The output produced by Bacula seems unusually short. Normally Bacula displays a reason for the failure. I recommend trying your label command again, but turn on debug with something link setdebug level=150 Storage prior to doing the label command. It should give you a more detailed reason for the failure. Best regards, Kern PS: Bacula can create labels in many different formats using variable substitution. This is documented in the manual. On 09/19/2018 09:40 PM, Gary Dale wrote: I'm running bacula 7.4.4 on a Debian/Stretch AMD64 server. When I try to create a new disk volume for my steadily increasing amount of data needing to be backed up, it usually fails after I create the first new volume. There is lots of free space on the disk, so it's not that. Eventually I might be able to create another new volume (possibly because of an intervening reboot) but in the meanwhile I only have the one new volume (25G) which is about 1/10 the size of a full backup... Here's an example of what I see in bconsole when executing the label command: Sending label command for Volume "weekly-backup-pool-30" Slot 0 ... 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. Label command failed for Volume weekly-backup-pool-30. Do not forget to mount the drive!!! Any ideas on what is happening and how to fix it? Thanks. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
Le 20/09/2018 à 05:23, Gary Dale a écrit : On 2018-09-19 05:35 PM, Jérôme Blion wrote: Le 19/09/2018 à 21:40, Gary Dale a écrit : I'm running bacula 7.4.4 on a Debian/Stretch AMD64 server. When I try to create a new disk volume for my steadily increasing amount of data needing to be backed up, it usually fails after I create the first new volume. There is lots of free space on the disk, so it's not that. Eventually I might be able to create another new volume (possibly because of an intervening reboot) but in the meanwhile I only have the one new volume (25G) which is about 1/10 the size of a full backup... Here's an example of what I see in bconsole when executing the label command: Sending label command for Volume "weekly-backup-pool-30" Slot 0 ... 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. Label command failed for Volume weekly-backup-pool-30. Do not forget to mount the drive!!! Any ideas on what is happening and how to fix it? Thanks. Hello, why don't you let bacula create volumes when needed ? Because I didn't start with them that way and bacula doesn't like you to change volume labels once assigned. It wants to create new volumes with a 4-digit serial number ending. I've been using 2-digits. The manual recommends using python scripts for this which I don't want to get into to save myself what should be a few minutes every few months. http://www.bacula.org/7.4.x-manuals/en/misc/Variable_Expansion.html Perhaps you should do some tests to see if if can create volumes according to your naming convention. You should avoid any manual action regarding your backup solution. That's a troubles source. Moreover, it isn't guaranteed to resolve the problem I'm having. If bacula can't label a volume manually through bconsole, why should I expect it to do so automatically? I'd still also need to monitor the number of volumes / amount of disk space bacula is taking so it might not actually save me any time. It just gives me a different thing to worry about. http://www.bacula.org/7.4.x-manuals/en/main/Basic_Volume_Management.html When using automatic volume creation, you should use: Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 10 # Limit number of Volumes in Pool This way, you don't have to worry about disk filling. HTH. Jérôme Blion. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users