[Bacula-users] data encryption support

2025-02-17 Thread Adam Weremczuk
Does Bacula 9.6.7 (from Debian 11 repository) likely support backups encryption out of the box? Or do I need to compile it with ./configure --with-openssl ? How do I check if encryption is currently available? I'm using it with LTO-8 ULTRIUM-HH8 external tape drive. --- Adam ___

[Bacula-users] freeing up space on LTO-8 tape

2025-01-06 Thread Adam Weremczuk
Hi all, Key points: 1. Bacula 9.6.7 on Debian 11. 2. The tape is almost full with some old Bacula backups which I don't care about. 3. I want to wipe it clean making space for new data. 4. I don't care about secure removal. 5. Ideally, I would prefer to leave the label and pool assignment as t

Re: [Bacula-users] unable to run scheduled jobs

2025-01-03 Thread Adam Weremczuk
it's not running: *cancel jobid=5113 Warning Job JobId=5113 is not running. What made them all disappear was a full server reboot. Possibly a storage and director restart would have sufficed). All subsequent scheduled jobs completed fine. Is it a bug resulting in zombie jobs being left hanging

Re: [Bacula-users] unable to run scheduled jobs

2025-01-02 Thread Adam Weremczuk
Trying to manually run a one-off full backup for a single client also gets stuck at "job is waiting on Storage". On 02/01/2025 11:42, Adam Weremczuk wrote: Forgot to add I'm using LTO-8 tapes. On 02/01/2025 11:41, Adam Weremczuk wrote: Hi all, Bacula 9.6.7 on Debian 11.

[Bacula-users] unable to run scheduled jobs

2025-01-02 Thread Adam Weremczuk
Hi all, Bacula 9.6.7 on Debian 11. There has been some mess up around Xmas time: 1. On 27 Dec some scheduled jobs exceeded max run time (18 hrs) and got cancelled. 2. On the same day, the tape drive was used for a "one off" job, which took 3 days and run out of (temporarily extended) 72 hrs

Re: [Bacula-users] unable to run scheduled jobs

2025-01-02 Thread Adam Weremczuk
Forgot to add I'm using LTO-8 tapes. On 02/01/2025 11:41, Adam Weremczuk wrote: Hi all, Bacula 9.6.7 on Debian 11. There has been some mess up around Xmas time: 1. On 27 Dec some scheduled jobs exceeded max run time (18 hrs) and got cancelled. 2. On the same day, the tape drive was

Re: [Bacula-users] no space left on Bacula server

2024-08-23 Thread Adam Weremczuk
I think the problem was 3 large full backup jobs of the same client running on the same day. The reason for that was a very high transmission error rate on the network interface for that client slowing down transfers to a crawl. Subsequently fixed. JobId 4133 Backup Canceled Fatal error: Max

Re: [Bacula-users] no space left on Bacula server

2024-08-23 Thread Adam Weremczuk
ailed -- Incomplete What on earth has happened here? On 23/08/2024 18:33, Adam Weremczuk wrote: Hi all, Bacula 9.6.7 on Debian 11. I'm backing up a 777 GB folder of an external xxx server. The backup job has been running for a number of hours. To my surprise, Bacula backup server has just COMPLETE

[Bacula-users] no space left on Bacula server

2024-08-23 Thread Adam Weremczuk
Hi all, Bacula 9.6.7 on Debian 11. I'm backing up a 777 GB folder of an external xxx server. The backup job has been running for a number of hours. To my surprise, Bacula backup server has just COMPLETELY run out of disk space with 1.2 TB out of 1.7 TB being used for Bacula .spool temporary

[Bacula-users] bacula client vs server version

2024-07-04 Thread Adam Weremczuk
I'm considering connecting: bacula client 9.6.7-7 Debian:12.6/stable (the latest version for Debian 12) to bacula server 9.6.7-3 Debian:11.6/oldstable (the latest version for Debian 11) From what I understand, client version should always be <= server version but perhaps the above would be

Re: [Bacula-users] LTO-8 tape report error

2024-06-20 Thread Adam Weremczuk
On 17/06/2024 18:50, Bill Arlofski via Bacula-users wrote: Hello Adam, Not sure if this will be any help at all, but I just checked and see that in my `mtx-changer-python.py` drop-in replacement script, to check for tape cleaning required messages, I am using: 8<  sg_logs --page=0xc

Re: [Bacula-users] LTO-8 tape report error

2024-06-17 Thread Adam Weremczuk
Hi Gary, I know what you mean by "hijacking a thread" now. I was reading that message when I decided to post my question from the same window. Today I cleared the tape drive with an official cleaning cartridge but it made no difference to the error: -

Re: [Bacula-users] LTO-8 tape report error

2024-06-13 Thread Adam Weremczuk
1. Are you suggesting running a round with a cleaning cartridge? The drive is not asking for it (by showing "C"). 2. I don't get what you mean. This is a new thread. On 13/06/2024 13:07, Gary R. Schmidt wrote: Any idea what's going on? 1 - Clean your heads. 2 - Don't hijack threads, start

[Bacula-users] LTO-8 tape report error

2024-06-13 Thread Adam Weremczuk
This was working until yesterday when I rebooted the Bacula/LTO server and now gives: - sg_raw -o - -r 1024 -t 60 -v /dev/sg1 8c 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 cdb to send: [8c 00 00 00 00 00 00 00 00

Re: [Bacula-users] bvfs_clear_cache

2024-03-25 Thread Adam Weremczuk
...obviously TA! On 25/03/2024 12:31, Chris Wilkinson wrote: I believe this is a bconsole command. -Chris- On Mon, 25 Mar 2024, 12:28 Adam Weremczuk, wrote: Hi all, Bacula 9.6.7-3 (free version) Baculum-web 9.6.6.3 Debian 11 Every quarter or so I run "dbcheck

[Bacula-users] bvfs_clear_cache

2024-03-25 Thread Adam Weremczuk
Hi all, Bacula 9.6.7-3 (free version) Baculum-web 9.6.6.3 Debian 11 Every quarter or so I run "dbcheck -f -c /etc/bacula/bacula-dir.conf" and each time I see this this: "Checking for orphaned File entries. This may take some time! To prune orphaned Path entries, it is necessary to clear the B

[Bacula-users] orphaned filename records

2023-12-22 Thread Adam Weremczuk
Hi all, Bacula 9.6.7 on Debian 11. Every 3 months I run "dbcheck -f -c /etc/bacula/bacula-dir.conf" Last time 32,525 orphaned filename records were found and deleted and the count was 27,550 before that. Today I got: dbcheck -f -c /etc/bacula/bacula-dir.conf Hello, this is the database chec

Re: [Bacula-users] client version newer than the server

2023-03-23 Thread Adam Weremczuk
Thanks for the info. Ubuntu 20.04 currently ships with 9.4.2 client but it's not a big problem installing e.g. 5.2.6 on it: - sudo sed -i 's/focal/trusty/g' /etc/apt/sources.list sudo apt update sudo apt install bacula-commo

[Bacula-users] client version newer than the server

2023-03-22 Thread Adam Weremczuk
Hi all, I run server 9.6.7 on Debian 11 which appears to be working fine with a range of clients: 5.2.6, 9.4.2 and 9.6.7. I'm wondering what typically happens when i.e. user decides to distro upgrade Ubuntu 20 to 22 and, as a result, the client upgrades to a version > 9.6.7? Will it likely

Re: [Bacula-users] Baculum 401 Unauthorized

2023-03-13 Thread Adam Weremczuk
attachment. It should help for this problem. Best regards, Marcin Haba (gani) On Tue, 7 Mar 2023 at 14:36, Adam Weremczuk <mailto:ad...@matrixscience.com>> wrote: Hi all, Bacula 9.6.7 Baculum 9.6.6 Debian 11.6 It installed and configured fine: - Ca

[Bacula-users] Baculum 401 Unauthorized

2023-03-07 Thread Adam Weremczuk
Hi all, Bacula 9.6.7 Baculum 9.6.6 Debian 11.6 It installed and configured fine: - Catalog API - Console API - Config API - Actions (start, stop restart Bacula services): skipped - Custom SSL cert added for ports 9095 and 9096 Bacula and Bacula Web seem to be working fine (backups, restores, t

Re: [Bacula-users] tapes running out of space

2023-03-01 Thread Adam Weremczuk
My questions: 1. Has the script been updated since 2017? 2. If so, does the latest version support LTO-8? 3. Does it address the above bug? 4. Where can I get it from? Regards, Adam On 07/08/2018 13:24, Alan Brown wrote: On 07/08/18 13:04, Adam Weremczuk wrote: On

Re: [Bacula-users] LTO-8 device or resource busy

2023-02-27 Thread Adam Weremczuk
cula-sd -> ../init.d/bacula-sd lrwxrwxrwx 1 root root 19 Jul 4 2019 S04bacula-fd -> ../init.d/bacula-fd lrwxrwxrwx 1 root root 25 Jul 4 2019 S19bacula-director -> ../init.d/bacula-director On 27/02/2023 16:14, Bill Arlofski via Bacula-users wrote: On 2/27/23 09:03, Adam Weremczuk wrot

[Bacula-users] LTO-8 device or resource busy

2023-02-27 Thread Adam Weremczuk
Hi all, My env: Debian 11 / Bacula 9.6.7 / LTO-8. Fresh installation. The server has just been rebooted and I'm unable to complete a tape test: btape -c bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:290-0 Using device: "/dev/nst0" for writing. btape: device.c:319

[Bacula-users] Bacula 9.6 client managing Windows services

2023-01-30 Thread Adam Weremczuk
Hi all, Is it possible to tell a client to stop a list of services in a specific order before starting a backup job? Then start them up after backup run is complete. Bacula server runs on Debian 11 and the client on Windows Server 2019 Standard. Regards, Adam ___

[Bacula-users] LTFS in Debian 11

2022-11-14 Thread Adam Weremczuk
Hi, Has anybody had much success with it? This is the closest thing that I've managed to find: https://github.com/LinearTapeFileSystem/ Only Debian 10 version with no updates for almost 2 years 🙁 My tape drive is Quantum LTO8 HH SAS External and works pretty well with WS 2019. Regards, Ad

[Bacula-users] restoring from LTO-4

2022-09-21 Thread Adam Weremczuk
Hi all, I'm running a very old Bacula 5.2.6 writing to equally old LTO-4 tapes (pre-LTFS). Data is unencrypted. In the past I've successfully tested restoring outside "bconsole" with "bextract" (.bsr files available) or "bls" followed by "bextract" (.bsr files missing). This was all done o

[Bacula-users] LTO via USB

2022-08-18 Thread Adam Weremczuk
Hi all, This might be considered slightly off topic but has anybody tried installing USB3 PCIe card in an external LTO tape drive? Many models appear to have 2 slots with only one occupied by SAS by default, e.g: https://www.bechtle.com/de-en/shop/quantum-lto-7-hh-sas-external-drive--4038311

[Bacula-users] running Bacula client on Synology

2022-08-02 Thread Adam Weremczuk
Hi all, Synology RS1221+ 8-Bay NAS specifically. Are there any officially supported fairly recent clients and installation guides available? If not Synology what other budget NAS brands are supported best? Regards, Adam ___ Bacula-users mailing

[Bacula-users] initialize backup from client

2020-07-16 Thread Adam Weremczuk
Hi all, As some of my remote users haven't been to the office for months no backups of their laptops have been taken. The reason is VPN is configured one way. Remote users can access internal resources but no internal systems are aware of their hostnames. All IPs assigned to VPN tunnels are

Re: [Bacula-users] labeling error

2019-09-25 Thread Adam Weremczuk
Yes, brand new tapes. Same error for all four I've added. I've already written to and read from one of them and everything appears to be fine. On 25/09/19 09:12, Radosław Korzeniewski wrote: Hello, pt., 20 wrz 2019 o 10:46 Adam Weremczuk <mailto:ad...@matrixscience.co

[Bacula-users] labeling error

2019-09-20 Thread Adam Weremczuk
Hi all, bconsole *label Automatically selected Storage: bacula_sd_lto Enter new Volume name: LTO-W20190920A Defined Pools: 1: lto_specials_pool 2: lto_test_pool 3: lto_weekly_pool 4: lto_monthly_pool 5: lto_archive_pool Select the Pool (1-5): 3 Connecting to Storage daemo

Re: [Bacula-users] tapes running out of space

2019-09-18 Thread Adam Weremczuk
heers, Adam On 07/08/18 15:02, Adam Weremczuk wrote: On 07/08/18 13:24, Alan Brown wrote: sg_raw -o - -r 1024 -t 60 -v /dev/nst0 (or its /dev/sg) 8c 00 00 00 00 00 00 00  00 00 00 00 04 00 00 00 And pipe it through the script I posted at https://github.com/hreinecke/sg3_utils/issues/18 Bingo

[Bacula-users] include regexfile

2019-08-07 Thread Adam Weremczuk
Hi all, Following a series of "Config error: Keyword regexfile not permitted in this resource" I finally got this: FileSet {   Name = node_fileset   Include {     Options {   exclude = no   regexfile = "^/var/lib/vz/dump/vzdump-lxc-101.*"     }     Options {   signature = SHA1

Re: [Bacula-users] preserving ACL permissions

2019-07-29 Thread Adam Weremczuk
Hi all, Switching options around did the trick and my ACLs meta data is now backed up. Unfortunately it only applies to files and folders that have been modified so my backups are not complete yet. I'm hoping the next full run (scheduled for Wednesday) will have them all. Martin was also r

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 16:06, Kern Sibbald wrote: Hello, I saw that someone mentioned using Samba.  Bacula does not save and restore acl across NFS or Samba.  To do so you must have a filesystem that is mounted locally  on the File Daemon. Best regards, Kern Hi Kern, Issue with missing ACLs only a

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 15:40, Josip Deanovic wrote: If I understand correctly you have run bacula-dir -t with the the client config excerpt. You should run bacula-dir -t with the main bacula configuration file. Yes, bacula-dir -t /etc/bacula/bacula-dir.conf doesn't complain about anything so I should be

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 12:16, Josip Deanovic wrote: When you perform some change you can always test the configuration with the bacula-dir -t command. I get the following for every single client conf: bacula-dir -t /etc/bacula/clients/server.conf 25-Jul 15:19 bacula-dir: ERROR TERMINATION at parse_conf.c

Re: [Bacula-users] deleting data written to volume

2019-07-25 Thread Adam Weremczuk
On 25/07/19 13:15, Uwe Schuerkamp wrote: no, I don't think so. If you run parallel Jobs the data will be interleaved on the tape, and a tape being a seq. access medium you are out of luck here. How about if I set: Maximum Concurrent Jobs = 1 Then all jobs will be written on continuous tape s

Re: [Bacula-users] deleting data written to volume

2019-07-25 Thread Adam Weremczuk
t, Uwe On Thu, Jul 25, 2019 at 11:54:35AM +0100, Adam Weremczuk wrote: Hi all, Is it possible with Bacula tools to delete data written to a volume? Bacula console commands "delete" and "purge" only seam to affect the catalog database. For storage I'm using LTO-4 tape

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 12:39, Josip Deanovic wrote: About the deletion of old jobs... What kind of storage type are using? Are you using real tapes or files on disk? See my "[Bacula-users] deleting data written to volume" post from about an hour ago. ___ Bacu

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 12:36, Josip Deanovic wrote: Just checked the documentation. @Martin, I think you are right. https://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION00147 "Any change to the list of the included files will cause Bacula to automatically cr

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 12:18, Josip Deanovic wrote: On Thursday 2019-07-25 12:11:58 Martin Simmons wrote: I don't think this change will cause a full backup -- only changes to File= and Plugin= lines will do that. Curious to hear if this is correct. :-) Thanks Josip. I'm leaning towards agreeing with y

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 11:44, Josip Deanovic wrote: Additionally, the first one seems to be linked with Eset antivirus library. Well spotted :) ESET Node32 was installed much later and it's just a silly experiment. I wouldn't thought it could affect operations of Bacula client. The suspicion is my config

[Bacula-users] deleting data written to volume

2019-07-25 Thread Adam Weremczuk
Hi all, Is it possible with Bacula tools to delete data written to a volume? Bacula console commands "delete" and "purge" only seam to affect the catalog database. For storage I'm using LTO-4 tapes which unfortunately don't support LTFS yet. I think ideally I would like tape space to be fr

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 10:55, Martin Simmons wrote: Yes, the FileSet may be the problem -- try reordering the Options clauses so that the "default" Options clause containing xattrsupport etc is the last one. The manual says: "However, one additional point is that in the case that no match was found, Bacul

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 24/07/19 16:49, Martin Simmons wrote: What happens if you take a backup from the broken client and restore it on the working client? And vice versa? Restore from the broken client to a working one misses ACLs. Restore from working client to broken shows them correctly. Could it be somethin

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
On 25/07/19 03:52, Josip Deanovic wrote: Can you also check ldd bacula-fd on both clients (working and not working)? I cannot check now if samba is using libacl or its own implementation. client with working ACL backup/restore: ldd /usr/sbin/bacula-fd     linux-vdso.so.1 =>  (0x7fffb519b0

Re: [Bacula-users] preserving ACL permissions

2019-07-24 Thread Adam Weremczuk
On 24/07/19 16:33, Adam Weremczuk wrote: On 24/07/19 16:24, Martin Simmons wrote: Have you checked if acl and xattr support is compiled into the bacula-fd? objdump -T ...path..to../bacula-fd | egrep 'acl|xattr' __Martin objdump -T /usr/sbin/bacula-fd | egrep 'acl|xattr&#x

Re: [Bacula-users] preserving ACL permissions

2019-07-24 Thread Adam Weremczuk
On 24/07/19 16:24, Martin Simmons wrote: Have you checked if acl and xattr support is compiled into the bacula-fd? objdump -T ...path..to../bacula-fd | egrep 'acl|xattr' __Martin objdump -T /usr/sbin/bacula-fd | egrep 'acl|xattr'   DF *UND*      ACL_1.0 a

Re: [Bacula-users] preserving ACL permissions

2019-07-24 Thread Adam Weremczuk
On 23/07/19 19:16, Josip Deanovic wrote: Have you checked both file systems for the ACL support? ACL support might be disabled. The client in question (fd) also happens to be Bacula director and sd. An yes, it does support ACL: cat /etc/mtab | grep acl | grep var /dev/mapper/vg0-var /var ext4

Re: [Bacula-users] preserving ACL permissions

2019-07-23 Thread Adam Weremczuk
Strangely both options were already in client's config file, just failed to be executed for some reason: FileSet {   Name = server_fileset   Include {     Options {   signature = SHA1   ##sparse = yes   xattrsupport = yes   aclsupport = yes   noatime = yes   checkfilechan

[Bacula-users] preserving ACL permissions

2019-07-22 Thread Adam Weremczuk
Hi all, With Bacula 5.2.6 (I know it's old) is it possible to preserve, e.g: ORIGINAL: # file: samba/sysvol # owner: root # group: 300 user::rwx user:root:rwx group::rwx group:300:rwx group:301:r-x group:302:rwx group:303:r-x mask::rwx other::--- default:user::rwx default:us

Re: [Bacula-users] list older jobs for client

2019-05-16 Thread Adam Weremczuk
On 16/05/19 10:20, Heitor Faria wrote: Please issue a: list help *list help Unknown list keyword: help *list copies  files   jobid=  jobs    jobtotals media   pool=   pools   volume I'm running pretty old version: 5.2.6 (21 February 2012)

Re: [Bacula-users] list older jobs for client

2019-05-16 Thread Adam Weremczuk
On 16/05/19 09:32, Heitor Faria wrote: list jobs client=xxx Unknown list keyword: client So it lists ALL jobs ever run, 49k in my case. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ba

[Bacula-users] list older jobs for client

2019-05-16 Thread Adam Weremczuk
Hi all, Hopefully a trivial question I struggle to find an answer to: status client=client_name only shows the last 10 jobs. How do I increase the number to say last 100? Thanks, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.n

Re: [Bacula-users] test script job

2019-04-10 Thread Adam Weremczuk
Thanks Martin, it behaved just as you said. What I'm trying to troubleshoot is a post job script failing: 09-Apr 22:38 bacula_dir JobId 48848: AfterJob: /sent: Permission denied (errno = 13) 09-Apr 22:38 bacula_dir JobId 48848: AfterJob: Could not send the message. It was running fine for mon

[Bacula-users] test script job

2019-04-10 Thread Adam Weremczuk
Hi all, I'm running old Bacula 5.2.6 with LTO-4 tapes and trying to add a test job that will execute a script from the director:  RunScript { RunsWhen = after RunsOnClient = no RunsOnFailure = yes FailJobOnError = no Command = "/etc/bacula/scripts/t

Re: [Bacula-users] bacula compression -- LTO4

2019-01-21 Thread Adam Weremczuk
Hello, You might be interested in checking this thread: https://sourceforge.net/p/bacula/mailman/message/36386670/ A perl script is mentioned there: https://github.com/hreinecke/sg3_utils/issues/18 which can provide you with e.g. daily reports of raw space remaining on tapes. Thanks, Adam

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 06/09/18 16:00, Martin Simmons wrote: 3 million files, not one? What am I doing wrong? Nothing is wrong -- the regexp is used during the restore to choose which files to extract. It has to scan the whole backup to do this, so it selects all files. So definitely only one file will be copied

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 06/09/18 09:21, Adam Weremczuk wrote: For backups  > 65 days < 2 years I can use "restore" command and regular expressions to perform searches. Attempted just now: (...) Do you want to restore all the files? (yes|no): no Regexp matching files to restore? (empty to a

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 05/09/18 10:45, Jérôme Blion wrote: Also, to my surprise, I've just received this message: 05-Sep 09:24 backup_dir JobId 0: Max configured use duration=172,800 sec. exceeded. Marking Volume "LTO-M20120606A" as Used. 05-Sep 09:24 backup_dir JobId 0: There are no more Jobs associated with Vo

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 05/09/18 10:45, Jérôme Blion wrote: Check File Retention and Job Retention. I suppose they are much lower than volume retention. That means that you keep the volume but you don't know exactly what's on it because catalog has been cleaned up. Indeed. This is what I found in client's config

Re: [Bacula-users] restoring from old backup

2018-09-05 Thread Adam Weremczuk
". Marking it purged. 05-Sep 09:24 backup_dir JobId 0: Recycled volume "LTO-M20130703A" I haven't made any config changes, just did a couple of listings and attempted one restore which I aborted. Weird... On 05/09/18 09:47, Adam Weremczuk wrote: Hi all, I'm usi

[Bacula-users] restoring from old backup

2018-09-05 Thread Adam Weremczuk
Hi all, I'm using Bacula 5.2.6 with LTO-4. Today I've tried restoring an single file (/var/log/auth.log) from an old backup and encountered the following: ++---+---+-+-++ | JobId  | Level | JobFiles  | JobBytes    | S

[Bacula-users] read tape label from bash

2018-08-09 Thread Adam Weremczuk
Hi all, What's the best way to read Bacula label of a currently mounted tape directly from bash? In our environment I can fairly reliably determine it with: tail -1 /var/lib/bacula/log 08-Aug 14:19 bacula_dir JobId 0: Recycled volume "LTO-W20110914A" but ideally I would prefer Bacula to repo

Re: [Bacula-users] tapes running out of space

2018-08-07 Thread Adam Weremczuk
On 07/08/18 16:15, Alan Brown wrote: use the corresponding /dev/sg Awesome, ta Alan! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _

Re: [Bacula-users] tapes running out of space

2018-08-07 Thread Adam Weremczuk
My last concern is the level of additional wear of drive and tapes. Execution of sg_raw required the tape to be unmounted: /dev/nst0: Device or resource busy Which now needs to be re-mounted for the next backup run. --

Re: [Bacula-users] tapes running out of space

2018-08-07 Thread Adam Weremczuk
On 07/08/18 13:24, Alan Brown wrote: sg_raw -o - -r 1024 -t 60 -v /dev/nst0 (or its /dev/sg) 8c 00 00 00 00 00 00 00  00 00 00 00 04 00 00 00 And pipe it through the script I posted at https://github.com/hreinecke/sg3_utils/issues/18 Bingo! id=0x writable=RO format=0 attrlen=0x0008=8  

Re: [Bacula-users] tapes running out of space

2018-08-07 Thread Adam Weremczuk
On 07/08/18 12:31, Alan Brown wrote: For LTO, there are a number of relatively easy ways of answering these questions _without_ moving the tape - as long as you have the latest version of sg3_utils installed Thank you Alan. The utilities look very promising. The problem is my Bacula system

Re: [Bacula-users] tapes running out of space

2018-08-07 Thread Adam Weremczuk
On 06/08/18 14:54, Adam Weremczuk wrote: It would still be useful to have e.g. a daily cron job examining the tape and determining how much raw uncompressed space it has left. https://wiki.bacula.org/doku.php?id=faq#can_bacula_tell_me_how_much_space_is_left_on_my_tapes "it's p

Re: [Bacula-users] tapes running out of space

2018-08-06 Thread Adam Weremczuk
On 06/08/18 14:08, Jérôme Blion wrote: LTO-4 are supposed to store 800GB uncompressed. That's the only value you can expect from the tape. Depending on the data pieces you want to backup, you can have a ratio lower than 2. If data pieces are already compressed you won't have a good compression

[Bacula-users] tapes running out of space

2018-08-06 Thread Adam Weremczuk
Hi all, For the second time this year I have experienced backups failing due to tapes filling up: 06-Feb 22:16 bacula_sd JobId 42315: Writing spooled data to Volume. Despooling 5,368,719,418 bytes ... 06-Feb 22:17 bacula_sd JobId 42315: End of Volume "LTO-W20141230A" at 1417:11071 on device "

Re: [Bacula-users] JobBytes

2018-02-21 Thread Adam Weremczuk
have a tape loaded to make it work. __Martin On Wed, 14 Feb 2018 14:47:59 +, Adam Weremczuk said: Hi Martin, This is what I'm getting from the command: mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x46 (LT

Re: [Bacula-users] JobBytes

2018-02-15 Thread Adam Weremczuk
Hi Martin, This is what I'm getting from the command: mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x46 (LTO-4). Soft error count since last status=0 General status bits on (4101):  BOT ONLINE IM_REP_EN So compre

[Bacula-users] backup usage breakdown

2018-02-08 Thread Adam Weremczuk
Hello, I'm using Bacula 5.2.6 with about 15 clients and recently experienced a tape filling up quite unexpectedly. So I'm looking for a way to make some kind of space usage listing. Something like a list of top-level directory sizes for each client on any given tape and date. The idea is to b

Re: [Bacula-users] JobBytes

2018-02-08 Thread Adam Weremczuk
ps using the various "Maximum Concurrent Jobs" options. __Martin On Wed, 7 Feb 2018 12:02:56 +, Adam Weremczuk said: Hi all, Last night a tape filled so I'm spending most of today investigating the cause and ensuring the next run completes fine. When executing "list jobna

[Bacula-users] JobBytes

2018-02-07 Thread Adam Weremczuk
Hi all, Last night a tape filled so I'm spending most of today investigating the cause and ensuring the next run completes fine. When executing "list jobname=" from the console I'm presented with 2 columns: JobFiles and JobBytes. Is JobBytes expected to show the volume read from the client or

Re: [Bacula-users] TAPE backups

2017-10-30 Thread Adam Weremczuk
Hi Alan, I'm only using LTO-4 with Bacula. This device to be precise: https://www.terapeak.com/worth/quantum-lto-4-tc-l42bn-tf4200-011-800-1600gb-ultrium-lto-4-sas-external-black/142217605799/ Considering an upgrade to LTO-6 or 7 some time next year. Thanks Adam On 21/10/2017 15:32, Alan Br

Re: [Bacula-users] 300k+ orphaned file and path records

2017-10-17 Thread Adam Weremczuk
On 16/10/2017 16:23, Alan Brown wrote: use the dbcheck utility to cleanup the database. That's what it's there for (make sure nothing else is running!) Hi Alan, I have no problem being patient and I can leave the job running for days over Xmas. My concern is, no matter how much time I give

Re: [Bacula-users] 300k+ orphaned file and path records

2017-10-16 Thread Adam Weremczuk
this clean up from hand. That's why I'm asking experts :) Regards Adam On 16/10/2017 15:49, Radosław Korzeniewski wrote: Hello, 2017-10-16 15:33 GMT+02:00 Adam Weremczuk <mailto:ad...@matrixscience.com>>: Does it mean the only option is throwing this database into a

Re: [Bacula-users] 300k+ orphaned file and path records

2017-10-16 Thread Adam Weremczuk
Hi Heitor, Thank you for a quick reply. We have plans of moving Bacula to a dedicated box, new tape drive and install the latest version. That's unfortunately unlikely to happen before Xmas. And then did you kill the MySQL thread? Perhaps you should have waited. I don't know exactly what ha

[Bacula-users] 300k+ orphaned file and path records

2017-10-16 Thread Adam Weremczuk
Hello, I'm running Bacula 5.2.6 on Debian linux. A dry run of dbcheck has revealed the following. dbcheck -v -c /etc/bacula/bacula-dir.conf Hello, this is the database check/correct program. Modify database is off. Verbose is on. Please select the function you want to perform. 1) Toggle m

[Bacula-users] malformed message error when testing new fileset

2017-09-22 Thread Adam Weremczuk
Hello, I have tried a couple of different ways of implementing "Exclude Dir Containing" but it was failing when restarting director with e.g: Config error: Keyword DirContaining not permitted in this resource or Config error: ExcludeDirContaining directive not permitted in Exclude. With this

Re: [Bacula-users] Bacula and LTFS

2017-09-21 Thread Adam Weremczuk
only see things like labels and byte counts from bconsole. The LTO drive doesn't appear in mtab and I haven't found a way of interacting with the tape drive and tapes outside Bacula. On 21/09/2017 16:02, Josh Fisher wrote: On 9/21/2017 6:23 AM, Adam Weremczuk wrote: Hello, A hypothet

[Bacula-users] Bacula and LTFS

2017-09-21 Thread Adam Weremczuk
Hello, A hypothetical scenario. I have Bacula 9 running on Debian 9 and writing to LTO-7 tapes (Quantum-Ultrium). Can I read these tapes elsewhere without Bacula? Normally that would require tapes to be formatted to LTFS. Can Bacula write to LTFS tapes or can it only use own native data struct

[Bacula-users] Bacula admin tool download

2017-09-08 Thread Adam Weremczuk
Hello, I'm after BAT for Bacula community edition version 5.2.6. The binary I've downloaded from SourceForge: https://sourceforge.net/projects/bacula/files/Win32_64/5.2.6/ only appears to offer bconsole.exe and bwx-console.exe BaculaSystem https://www.baculasystems.com/bat-the-bacula-admini