[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. ---

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

2025-01-06 Thread Adam Weremczuk
ignment as they are. 6. The job should complete in under 10 hrs. What's the best way to achieve this? Regards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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
I run a free space check on it, it reports as half full. I've manually changed the status to "append" which has made no difference. Can somebody advise how to get back on track? Regards and Happy New Year! Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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
like below: Before: Device: Remaining Native Capacity in Partition (MiB) (10,620,751) Now: Device: Remaining Native Capacity in Partition (MiB) (10,176,636) Is this backup going to fail or succeed? Since it's Fri evening here I would kind of prefer to know now...

[Bacula-users] bacula client vs server version

2024-07-04 Thread Adam Weremczuk
would be ok? --- Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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 --p

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

2024-06-17 Thread Adam Weremczuk
y fine. I don't have any spare hardware try different configuration. Is there anything else to try to determine the root cause? Why would a reboot alone trigger it? Regards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net

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
00 Error 9 occurred, no data received Illegal request, Invalid opcode - All scheduled backups were written last night and all other Bacula scripts executed fine. Any idea what's going on?

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
ry to clear the BVFS Cache first with the bconsole ".bvfs_clear_cache yes" command." BVFS is nowhere to be found in my installation. Shall I install it and how? Is it free? Shall I bother at all? Regards, Adam ___ Bacula-u

[Bacula-users] orphaned filename records

2023-12-22 Thread Adam Weremczuk
he yes" before typing yes. Is it really a necessary step requiring opening a second shell and running this command manually? Is there any reason this step hasn't been directly incorporated into "dbcheck"? Regards, Adam _

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

2023-03-23 Thread Adam Weremczuk
main unchanged throughout further updates. Hope this helps someone! Adam On 23/03/2023 09:51, Vanush "Misha" Paturyan wrote: I do not have any experience with clients going above 9.6.7, but I did have to restrict clients from upgrading beyond 7.4.4 during Debian dist-upgrade to "

[Bacula-users] client version newer than the server

2023-03-22 Thread Adam Weremczuk
Will it likely continue working without issues as long as the version gap is not too big? Will I get a stern warning on the server if there is a problem? Or could it fail silently only for a serious issue to be discovered on restore? Regards, Adam __

Re: [Bacula-users] Baculum 401 Unauthorized

2023-03-13 Thread Adam Weremczuk
It worked, thank you Marcin. On 09/03/2023 19:13, Marcin Haba wrote: Hello Adam, Thanks for your detailed report. Described behavior is not dangerous but I agree that it is not too natural. It will be fixed in the next release. For now if you want you can try a patch. I am sending it in

[Bacula-users] Baculum 401 Unauthorized

2023-03-07 Thread Adam Weremczuk
?name=restore&limit=15000&director=bacula-dir: 50 Time(s) /api/v1/joblog/64/?show_time=0&director=bacula-dir: 43 Time(s) /api/v1/jobs/64?director=bacula-dir: 42 Time(s) /api/v1/config?director=bacula-dir: 19 Time(s) (...) What authorization is missing and how to fix it? Regards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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
l crw-rw  1 root tape  9,  64 Feb 24 18:29 st0m drwxr-xr-x  4 root root  80 Feb 24 18:29 tape cat /etc/bacula/bacula-sd.conf | grep /dev | grep -v ^#   Archive Device = /dev/nst0   Changer Device = /dev/st0 What's the reason for my error and how to fix it? Regards, Adam

[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
gards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

[Bacula-users] restoring from LTO-4

2022-09-21 Thread Adam Weremczuk
box dies but I have the drive and tapes - will I be able to access all data on tapes by connecting the drive to a new box followed by "bextract" and "bls" commands alone? Regards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

[Bacula-users] LTO via USB

2022-08-18 Thread Adam Weremczuk
-drive/brochure but I would prefer not to be limited and locked to this one particular model + software. I'm assuming that I should still be able to run Bacula with the above? Any advise? Regards, Adam ___ Bacula-users mailing list Bacula-

[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

Re: [Bacula-users] Backup Fail Email Notifications for Deprecated Hosts

2021-03-16 Thread Adam Palmer
.png]<http://www.impulse.net/> [http://www.impulse.net/images/facebook_r.png]<http://www.facebook.com/theimpulseguys/> [http://www.impulse.net/images/twitter_r.png] <http://www.twitter.com/theimpulseguys/> [http://www.impulse.net/images/linkedin_r.png] <https://www.linkedin.c

Re: [Bacula-users] Define job run Priority?

2021-03-16 Thread Adam Palmer
w.impulse.net/> [http://www.impulse.net/images/facebook_r.png]<http://www.facebook.com/theimpulseguys/> [http://www.impulse.net/images/twitter_r.png] <http://www.twitter.com/theimpulseguys/> [http://www.impulse.net/images/linkedin_r.png] <https://www.linkedin.com/company/impulse> Adam P

[Bacula-users] Backup Fail Email Notifications for Deprecated Hosts

2021-03-15 Thread Adam Palmer
w.impulse.net/images/twitter_r.png] <http://www.twitter.com/theimpulseguys/> [http://www.impulse.net/images/linkedin_r.png] <https://www.linkedin.com/company/impulse> Adam Palmer | Web Services Administrator Impulse Advanced Communications | www.impulse.net Direct 805-884-6397 | hostmas...@im

[Bacula-users] initialize backup from client

2020-07-16 Thread Adam Weremczuk
One weekly one executed at convenient time would be much better than no backup at all. I'm after a secure solution - just allow clients to perform a single operation rather than grant root access to Bacula server. I'm running an old Bacula version 5.2.6. Plea

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
lume "LTO-W20190920A" I haven't done much labeling but can't recall seeing this error before. Can it be safely ignored? Thanks, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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

Re: [Bacula-users] Possible to compile only Bacaula-FD ?

2019-08-26 Thread Adam Nielsen
tions. I'm not sure if this is the best example as I think a few other Linux distributions also split out the build into multiple packages, but I'm not so familiar with those. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sour

[Bacula-users] include regexfile

2019-08-07 Thread Adam Weremczuk
} Unfortunately when I run bconsole -> estimate job=node_backup listing client=node_fd my regexfile (which I want to include) is not listed. What am I doing wrong? Thanks, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] preserving ACL permissions

2019-07-29 Thread Adam Weremczuk
also right about the config change not resulting in a full backup (just incremental) so my tape hasn't run out of space. Thanks everyone! Adam 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

Re: [Bacula-users] preserving ACL permissions

2019-07-25 Thread Adam Weremczuk
config change suggested by Martin has made any difference. Regards, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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
it at all possible with LTO-4 and Bacula? Thanks, Adam On 25/07/19 12:50, Uwe Schuerkamp wrote: Hello Adam, if you don't mind having to re-label the volume aftwards a delete volume= followed by an mt -f /dev/st0 weof # insert your tape device here should reliably wipe your tape. All the bes

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
I would like tape space to be freed up and I'm ok with the job still being listed. As long as Bacula is aware of the situation and e.g. doesn't try to access the deleted data later. Obliterating both the data and the job info as if they've never existed

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
glad I've discovered it now, not in a panic disaster recovery situation... Thanks, Adam ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Tape SL150 (Oracle). Drive Read-Only. Licence?

2019-06-25 Thread Adam Nielsen
> The 2 drive is LTO5. The tape is LTO5. Who manufactured the drives? HP or IBM? Can you find out the model numbers? Have you tried running the OEM diagnostics on them to see what they say? The HP ones are particularly detailed and informative. Cheers, A

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

Re: [Bacula-users] Fwd: Is there a test for LTO-4 tapes or just pull them from service?

2019-05-07 Thread Adam Nielsen
ound messages about the head not moving the expected distance which led me to disassemble a failing LTO5 drive[1] to clean the head mechanism and get the drive back in service). I'm assuming you've done the obvious and used a cleaning tape recently of course. Cheers, Adam. [1]: Just

Re: [Bacula-users] Does bacula schedule cleaning by default?

2019-05-07 Thread Adam Nielsen
n LTO3 drive) can be set to automatically load a cleaning tape when the drive requests one, so I imagine most tape libraries have this functionality in them somewhere. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://

Re: [Bacula-users] Resource SD (Media Type) mix lto4 and lto3

2019-04-29 Thread Adam Nielsen
certain backups on certain tapes then it's probably better to handle that at the pool level. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

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
define a job not involving a client, file set and tapes? This is a production system and all I want it to do is test running a script without having to create an entire dummy structure, change tapes etc. Please advise. Regards, Adam ___ Bacula-user

Re: [Bacula-users] Windows backup much slower than Linux backup

2019-02-28 Thread Adam Nielsen
those are high for one drive then that could explain what's going on. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Spooling vs buffering

2019-02-07 Thread Adam Nielsen
r Bacula scratch space, and live with shoe shine as well because tapes are never exactly 800GB. 4. Implement buffering support in Bacula so that I can eliminate shoe shining and speed up my backups, without buying new hardware. I definit

Re: [Bacula-users] Spooling vs buffering (was: Autochanger Configuration Help)

2019-02-06 Thread Adam Nielsen
t tricky, because you need to return success/fail for each written data block, but you can't really do this if you're caching them for writing later. This is because if there's a write error, it's difficult to handle the error when the block wa

Re: [Bacula-users] Lack Persistent Device Naming to use with Alert Command

2019-01-29 Thread Adam Nielsen
;1" Here it suggests that changing the rule from type 8 to type 1 will only match tape drives. On my system a DVD drive is 5 and a hard drive is 0, so I guess using type 1 should work for tapes only. Cheers, Adam. [1]: https://unix.stackexchange.com/questions/39370/how-to-reload-udev-r

Re: [Bacula-users] Lack Persistent Device Naming to use with Alert Command

2019-01-27 Thread Adam Nielsen
ev so you don't need to rewrite the Bacula config file. But this is pretty much what udev does already so better to get that working if you can. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Lack Persistent Device Naming to use with Alert Command

2019-01-26 Thread Adam Nielsen
There's a more recent firmware for > my tape library, a Dell ML6000, that I've held off installing. Do you > think a new firmware might allow the sg driver to provide more output? Nope, this is all part of the udev rule system. Cheers, Adam. [1]: h

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] Running a script each time a client is addressed

2019-01-12 Thread Adam Nielsen
agine it would take even one hour to set up something like this, much less if you've used OpenVPN before. I know you want an answer that will work for SSH, but this is the first clue that you're trying to bang a nail in with a shoe, instead of using a hammer[

Re: [Bacula-users] Running a script each time a client is addressed

2019-01-11 Thread Adam Nielsen
why you're using SSH rather than something like OpenVPN? OpenVPN will automatically connect as needed so it's much easier to manage in scripted environments, so just wondering what makes SSH the preferred option in this case. Cheers, Adam. ___

Re: [Bacula-users] How to LTO-8

2019-01-11 Thread Adam Nielsen
ot; is equivalent to the Autochanger section, this is just a newer way of writing it that works with recent Bacula versions. (Definitely 9.x, not sure about 7.x though.) Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] How to LTO-8

2019-01-10 Thread Adam Nielsen
es back to mtx-changer. This is assuming nobody else has posted a working mtx-changer script for your autochanger already of course! > I split my bacula-dir into components so here are the relevant ones Everything else here looks like it should be fine. Once you get mtx-changer wor

Re: [Bacula-users] How to LTO-8

2019-01-09 Thread Adam Nielsen
t actually is. I don't think this will cause any problems unless you actually have a single Bacula setup that uses multiple tape types at the same time, and it needs to look at the Media Type in order to decide which drive to load the tape into. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

2018-12-29 Thread Adam Nielsen
else was upgraded? Just wondering whether any system libraries that Bacula uses could also be involved. I had a quick look at the kernel history but couldn't really see anything that might cause incorrect data to be read back from a tape. Cheers, Adam.

Re: [Bacula-users] Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

2018-12-28 Thread Adam Nielsen
x27;s diagnostic tools installed (itdt) you could see whether that has anything you can run to check the health of the tape. I'm not familiar with IBM's tools, but the HP Tape Tools diagnostic does have a test for tape quality. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] "ERR=database or disk is full" while building directory tree for restore

2018-12-26 Thread Adam Nielsen
like inside the containers, without affecting anything on your host machine. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Catalog from old tape ?

2018-12-24 Thread Adam Nielsen
> to open device "Default" (/dev/nst0): ERR=Device or resource busy Something else is running that is accessing the tape. Have you unmounted the tape or temporarily stopped the bacula-sd daemon? Cheers, Adam. ___ Bacula-users mailin

Re: [Bacula-users] Tape shoe-shining with spooling enabled - why?

2018-12-22 Thread Adam Nielsen
I. Support for MTWEOFI was added to the kernel[2] back in October 2010, and looks like it was first released in 2.6.37, so it's not something new. I am not familiar with Bacula's cross-platform support, so is this something that can simply be changed? Or could it just be wrapped by

Re: [Bacula-users] Tape shoe-shining with spooling enabled - why?

2018-12-22 Thread Adam Nielsen
ng of EOF marks is not an option? Is there any way to somehow disable flushing on EOF? I'm running Linux kernel 4.18.16 if that's relevant. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Tape shoe-shining with spooling enabled - why?

2018-12-22 Thread Adam Nielsen
ly the drive stops, rewinds a little, then gets ready to go again when more data comes through. Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Tape shoe-shining with spooling enabled - why?

2018-12-22 Thread Adam Nielsen
Do you have any idea why this might be happening? Cheers, Adam. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

[Bacula-users] Tape shoe-shining with spooling enabled - why?

2018-12-21 Thread Adam Nielsen
r day or two at this rate) but I'm not sure why that would affect things either. Does anyone know why despooling 8GB of data from memory onto the tape drive would result in shoe-shining? Many thanks, Adam. ___ Bacula-users maili

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
copied to "restored" folder? The search for it is still likely to take hours, right? Is it expected to use extreme amounts of CPU and/or memory? Just double checking before wrecking havoc :) Thanks, Adam -- Check out t

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
d by "dbcheck -f -c /etc/bacula/bacula-dir.conf" I run every quarter or so? Is it a good idea to do this: Regexp matching files to restore? (empty to abort): auth.log ? Thanks, Adam -- Check out the vibran

[Bacula-users] read tape label from bash

2018-08-09 Thread Adam Weremczuk
refer Bacula to report the current actual state. I'm aware of bconsole, btape etc. but they are all interactive consoles. I think it's possible to query Bacula database (MySQL in my case). Any neat "one li

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

  1   2   3   >