Re: [Bacula-users] needed tapes

2025-08-05 Thread Stefan G. Weichinger via Bacula-users
Am 21.03.25 um 15:13 schrieb Stefan G. Weichinger via Bacula-users: just a quick reply: **thanks** a lot for all the help, I have to catch up still and will read that next week when things calm down hopefully. short addition: I recently learn a bit of python ... and I take my bacula-tapes

Re: [Bacula-users] "No files" in Bacularis for Jobs

2025-07-02 Thread Stefan G. Weichinger via Bacula-users
I only noticed this branch of the thread right now. Sorry for the silence so far. I will work through your replies and suggestions asap, thank you. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/

Re: [Bacula-users] "No files" in Bacularis for Jobs

2025-06-25 Thread Stefan G. Weichinger via Bacula-users
Am 24.06.25 um 08:41 schrieb Marcin Haba: Hello Stefan, On Tue, 24 Jun 2025 at 07:47, Stefan G. Weichinger wrote: Am 23.06.25 um 18:51 schrieb Marcin Haba: It looks that your file records for that job are pruned. In this case it is good to check and adapt the File Retention and AutoPrune

Re: [Bacula-users] "No files" in Bacularis for Jobs

2025-06-24 Thread Stefan G. Weichinger via Bacula-users
Am 24.06.25 um 15:11 schrieb Marcin Haba: ok ... so I don't have anything wrong that triggered that (?) I don't know because we don't see your pruning settings in the Director configuration. AutoPrune = yes is set for the Client and for 2 Pools as well, but not for the pools with the Archi

Re: [Bacula-users] "No files" in Bacularis for Jobs

2025-06-24 Thread Stefan G. Weichinger via Bacula-users
Am 23.06.25 um 18:51 schrieb Marcin Haba: It looks that your file records for that job are pruned. In this case it is good to check and adapt the File Retention and AutoPrune directives. To make sure that it is this case, you can run in bconsole (for jobid=): list files jobid= If you a

[Bacula-users] "No files" in Bacularis for Jobs

2025-06-23 Thread Stefan G. Weichinger via Bacula-users
greetings today a customer asks me for a list of files in a directory at a given date in february I open Bacularis-5.0.0, and want to use "Restore" to browse the database: there's a job backing up the samba-share containing the relevant directories. What scares me: I choose a FULL backu

Re: [Bacula-users] needed tapes

2025-03-21 Thread Stefan G. Weichinger via Bacula-users
Am 20.03.25 um 15:59 schrieb Rob Gerber: Stefan, Here is some information to assist with crafting postgres sql queries. The postgres psql shell provides tools to look up tables and their columns so you know what keywords to specify in your queries. You can also easily test queries and get fee

Re: [Bacula-users] needed tapes

2025-03-20 Thread Stefan G. Weichinger via Bacula-users
Am 19.03.25 um 11:52 schrieb Gary R. Schmidt: Look up what the PoolId for "Daily" is from Pool and use Media.PoolId = Whatever_That_Is rather than the non-existent (in my version of bacula) Media.Pool. I had tried that, but with errors. Retried, rm-ed the JOIN and Pool.Name from the SELECT,

Re: [Bacula-users] needed tapes

2025-03-19 Thread Stefan G. Weichinger via Bacula-users
ok, I now have: # cat bacula_tapes.sh #!/bin/bash echo -e "sql\nSELECT Media.MediaId, Media.VolumeName, Media.PoolId, Pool.Name AS Pool, Media.Slot,\ Media.Slot <> 0 AS InChanger, Media.FirstWritten, Media.LastWritten, Media.VolStatus, \ GREATEST(0, (extract('epoch' from LastWr

Re: [Bacula-users] needed tapes

2025-03-17 Thread Stefan G. Weichinger via Bacula-users
Am 14.03.25 um 15:21 schrieb Bill Arlofski via Bacula-users: On 3/14/25 4:03 AM, Stefan G. Weichinger via Bacula-users wrote: Am 14.03.25 um 07:48 schrieb Stefan G. Weichinger via Bacula-users: I use an 8-slot autoloader, I added a little bit of SQL to the query file and just run that, it

Re: [Bacula-users] needed tapes

2025-03-14 Thread Stefan G. Weichinger via Bacula-users
Am 14.03.25 um 07:48 schrieb Stefan G. Weichinger via Bacula-users: I use an 8-slot autoloader, I added a little bit of SQL to the query file and just run that, it lists my tapes from last-used to most recent. I grab the three oldest, move them to the Scratch pool, purge them, and replace the

Re: [Bacula-users] needed tapes

2025-03-13 Thread Stefan G. Weichinger via Bacula-users
Am 13.03.25 um 13:09 schrieb Gary R. Schmidt: On 13/3/25 18:14, Stefan G. Weichinger via Bacula-users wrote: thanks all for your replies and explanations. It wasn't my intention to let somebody else do my work, no :-) I see the complexity somehow, and wonder if I can at least come up

Re: [Bacula-users] needed tapes

2025-03-13 Thread Stefan G. Weichinger via Bacula-users
thanks all for your replies and explanations. It wasn't my intention to let somebody else do my work, no :-) I see the complexity somehow, and wonder if I can at least come up with something that *helps* choosing the next 8 tapes each week. Currently mostly I select the tapes, I am the exte

Re: [Bacula-users] needed tapes

2025-03-11 Thread Stefan G. Weichinger via Bacula-users
Am 04.03.25 um 08:17 schrieb Stefan G. Weichinger via Bacula-users: So basically I look into the "Volumes" part of Bacularis, look for status "Append" or "Used", and take the tapes that are already overwritable again. And I look at the tapes in the loader which

Re: [Bacula-users] needed tapes

2025-03-03 Thread Stefan G. Weichinger via Bacula-users
Am 03.03.25 um 17:37 schrieb Rob Gerber: Stefan, Can you share some details about your current process to predict what media will be needed, including information about your pools and volumes inside them? Sure. At first: thanks for offering your help! - Basically we run one schedule with

[Bacula-users] needed tapes

2025-03-03 Thread Stefan G. Weichinger via Bacula-users
Is there a way to generate an email (every N days) that lists the needed tapes for the planned jobs ahead? We need to automate the selection of tapes and send an email to a list of tape-operators. The schedule uses tapes out of several pools and so far I write the "wish list" by looking a

Re: [Bacula-users] adding a CIFS-share as autochanger

2025-02-04 Thread Stefan G. Weichinger via Bacula-users
Am 03.02.25 um 17:04 schrieb Marcin Haba: Do I need this in the Device: Autochanger = yes Hello Stefan, Yes, you need it because your device is a part of the autochanger. If you want to use this device as a single independent Device, then removing "Autochanger = yes" will be OK and then you

Re: [Bacula-users] backing up a xen-server

2025-02-04 Thread Stefan G. Weichinger via Bacula-users
Am 04.02.25 um 08:56 schrieb Vanush "Misha" Paturyan: On Mon, 3 Feb 2025 at 13:05, Stefan G. Weichinger via Bacula-users wrote: Does it work to install the centos-client on a xen-server and use that for backing up VMs from there? When you say "xen-server" do you mean Do

Re: [Bacula-users] adding a CIFS-share as autochanger

2025-02-03 Thread Stefan G. Weichinger via Bacula-users
managed to label my first volume on the NAS phew pls suggest improvements: # SD Device { Name = "NAS-Storage" Description = "Backup NAS FPSS" MediaType = "vtape1" ArchiveDevice = "/mnt/bacula/nas_backup" RemovableMedia = no RandomAccess = yes LabelMedia = yes AlwaysOpen = no

Re: [Bacula-users] adding a CIFS-share as autochanger

2025-02-03 Thread Stefan G. Weichinger via Bacula-users
Am 03.02.25 um 15:28 schrieb Stefan G. Weichinger via Bacula-users: Am 03.02.25 um 15:05 schrieb Marcin Haba: On Mon, 3 Feb 2025 at 13:45, Stefan G. Weichinger via Bacula-users wrote: --- is that correct? If I then go to that host-API page I try to import the settings but somehow I never get

Re: [Bacula-users] adding a CIFS-share as autochanger

2025-02-03 Thread Stefan G. Weichinger via Bacula-users
Am 03.02.25 um 15:05 schrieb Marcin Haba: On Mon, 3 Feb 2025 at 13:45, Stefan G. Weichinger via Bacula-users wrote: --- is that correct? If I then go to that host-API page I try to import the settings but somehow I never get the slots displayed in bacularis etc Something is missing and I

[Bacula-users] backing up a xen-server

2025-02-03 Thread Stefan G. Weichinger via Bacula-users
Does it work to install the centos-client on a xen-server and use that for backing up VMs from there? Any helper scripts to trigger snapshots or so? I am only starting to research this, thanks for any pointers. ___ Bacula-users mailing list Bacu

[Bacula-users] adding a CIFS-share as autochanger

2025-02-03 Thread Stefan G. Weichinger via Bacula-users
Greetings, sorry to come up with that topic again, but I am caught in loops here and can't find the solution. I have a working setup with a tape-changer etc Now I want to add a second autochanger: it's a Samba-share on a NAS, I have added it to fstab with creds etc and the bacula user can

[Bacula-users] tagging volumes?

2025-01-10 Thread Stefan G. Weichinger via Bacula-users
At a customer we run specific archive-runs every 3 months and archive the physical tapes away from their office site. I use a pool "monthly" for that ... and mark the 4-5 tapes with Vol. Status = Archive when I do these quarterly runs. The rest of the monthly tapes are simply re-used for ..

Re: [Bacula-users] New release Bacularis 4.4.0

2024-10-31 Thread Stefan G. Weichinger
Am 31.10.24 um 18:11 schrieb Stefan G. Weichinger: This change is for the binary package repositories. But please don't worry. To get 4.4.0 you can also use any of other installation methods like:   - installation with PHP Composer   - Docker container images   - manual installation

Re: [Bacula-users] New release Bacularis 4.4.0

2024-10-31 Thread Stefan G. Weichinger
Am 31.10.24 um 15:32 schrieb Marcin Haba: On Thu, 31 Oct 2024 at 15:04, Stefan G. Weichinger wrote: Am 31.10.24 um 14:45 schrieb Stefan G. Weichinger: But I have to report some issues with fetching the debian packages ... in fact this doesn't work for me since 4.0.0 .. I never got

Re: [Bacula-users] New release Bacularis 4.4.0

2024-10-31 Thread Stefan G. Weichinger
Am 31.10.24 um 14:45 schrieb Stefan G. Weichinger: But I have to report some issues with fetching the debian packages ... in fact this doesn't work for me since 4.0.0 .. I never got newer releases shown for upgrading. I even regenerated my password at https://users.bacularis.com

Re: [Bacula-users] New release Bacularis 4.4.0

2024-10-31 Thread Stefan G. Weichinger
Am 31.10.24 um 14:01 schrieb Marcin Haba: We wish you good installations and upgrades. Thanks for the good news, I am curious already. But I have to report some issues with fetching the debian packages ... in fact this doesn't work for me since 4.0.0 .. I never got newer releases shown for

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-22 Thread Stefan G. Weichinger
Am 21.10.24 um 17:15 schrieb Bill Arlofski via Bacula-users: Not sure I would call FD encryption plus SD encryption "better", only because you have the added task of managing the keys/certs on the client(s) in addition to the SD re-encrypting the already FD-encrypted data and you needing to ma

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-21 Thread Stefan G. Weichinger
Am 20.10.24 um 20:13 schrieb Marcin Haba: There is an option "Volume encryption" in the cloud storage resource, I assume this would be redundant, right? This is the storage daemon data volume encryption directive. It is not used for the file daemon encryption. As far as I understand if the f

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-20 Thread Stefan G. Weichinger
Am 11.10.24 um 20:41 schrieb Marcin Haba: Hello Stefan, On Fri, 11 Oct 2024 at 20:26, Stefan G. Weichinger wrote: did that, it seems to do something now ;-) Super :-) Do I understand correctly that it writes in to "/tmp/$somevol" at first and then uploads data to the cloud?

Re: [Bacula-users] Bacula-15.x packages for Fedora (workstation)

2024-10-15 Thread Stefan G. Weichinger
Am 15.10.24 um 15:06 schrieb Dragan Milivojević: RH is a bit conservative, especially when it comes to server software that is not that widely used. In this case it was a good decision since the latest Bacula breaks the backups if you use accurate mode with pino5 settings. Anyway you can use copr

[Bacula-users] Bacula-15.x packages for Fedora (workstation)

2024-10-15 Thread Stefan G. Weichinger
In the repos I have registered to I find debs and rpms, but not built specifically for Fedora (40). Are there newer packages for Fedora than the 13.0.4 packages that come from Fedora itself? It surprises me that a distro that is known for being rather on the edge does not provide the latest

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Am 11.10.24 um 19:44 schrieb Marcin Haba: On Fri, 11 Oct 2024 at 19:16, Marcin Haba wrote: Cloud { Name = "contabo-bucket1" Driver = "S3" HostName = "eu2.contabostorage.com" BucketName = "buc" AccessKey = "xxx" SecretKey = "" Protocol = "HTTPS" Hello Stefan

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Am 11.10.24 um 19:44 schrieb Marcin Haba: On Fri, 11 Oct 2024 at 19:16, Marcin Haba wrote: Cloud { Name = "contabo-bucket1" Driver = "S3" HostName = "eu2.contabostorage.com" BucketName = "buc" AccessKey = "xxx" SecretKey = "" Protocol = "HTTPS" Hello Stefan

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Am 11.10.24 um 19:54 schrieb Stefan G. Weichinger: Am 11.10.24 um 19:16 schrieb Marcin Haba: On Fri, 11 Oct 2024 at 17:23, Stefan G. Weichinger wrote: Trying to set up an autochanger using a S3-compatible bucket in "the cloud" (in my case at Contabo in germany). Fresh installation

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Am 11.10.24 um 19:44 schrieb Marcin Haba: On Fri, 11 Oct 2024 at 19:16, Marcin Haba wrote: Cloud { Name = "contabo-bucket1" Driver = "S3" HostName = "eu2.contabostorage.com" BucketName = "buc" AccessKey = "xxx" SecretKey = "" Protocol = "HTTPS" Hello Stefan

Re: [Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Am 11.10.24 um 19:16 schrieb Marcin Haba: On Fri, 11 Oct 2024 at 17:23, Stefan G. Weichinger wrote: Trying to set up an autochanger using a S3-compatible bucket in "the cloud" (in my case at Contabo in germany). Fresh installation of Bacula-15.0.2, Bacularis-4.0.0 on a Debian-12

[Bacula-users] setting up an autochange in the cloud

2024-10-11 Thread Stefan G. Weichinger
Trying to set up an autochanger using a S3-compatible bucket in "the cloud" (in my case at Contabo in germany). Fresh installation of Bacula-15.0.2, Bacularis-4.0.0 on a Debian-12.7 machine. Added the packages: bacula-cloud-storage-s3 plus bacula-cloud-storage-common Restarted all the

Re: [Bacula-users] postgres load at restore

2024-09-11 Thread Stefan G. Weichinger
Am 03.09.24 um 08:05 schrieb Stefan G. Weichinger: Am 31.08.24 um 08:25 schrieb Stefan G. Weichinger: Logs show: # journalctl -u bacula-fd Aug 28 20:07:16 samba bacula-fd[958]: samba-fd: job.c:3698-5189 Bad response from SD to Append Data command. Wanted 3000 OK data Aug 28 20:07:16 samba

Re: [Bacula-users] postgres load at restore

2024-09-02 Thread Stefan G. Weichinger
Am 31.08.24 um 08:25 schrieb Stefan G. Weichinger: Logs show: # journalctl -u bacula-fd Aug 28 20:07:16 samba bacula-fd[958]: samba-fd: job.c:3698-5189 Bad response from SD to Append Data command. Wanted 3000 OK data Aug 28 20:07:16 samba bacula-fd[958]: , got len=25 msg="3903 Error a

Re: [Bacula-users] postgres load at restore

2024-08-30 Thread Stefan G. Weichinger
On 31.08.24 07:56, Stefan G. Weichinger wrote: As mentioned I added that Runscript and it seems to work. Now I got 2 emails per job this night. For each job like: Bacula: Backup OK of samba-fd Full there is also one with Bacula: Console Unknown term code of samba-fd that's

Re: [Bacula-users] postgres load at restore

2024-08-30 Thread Stefan G. Weichinger
As mentioned I added that Runscript and it seems to work. Now I got 2 emails per job this night. For each job like: Bacula: Backup OK of samba-fd Full there is also one with Bacula: Console Unknown term code of samba-fd that's "new" ;-) The backup job report looks OK. For reference one of

Re: [Bacula-users] postgres load at restore

2024-08-30 Thread Stefan G. Weichinger
Am 30.08.24 um 10:49 schrieb Marcin Haba: On Fri, 30 Aug 2024 at 09:46, Stefan G. Weichinger <mailto:li...@xunil.at>> wrote: Sounds great. May I ask why this isn't enabled by default? Hello Stefan, Yes, it is a good practice and a good idea. I think it isn't enabled

Re: [Bacula-users] postgres load at restore

2024-08-30 Thread Stefan G. Weichinger
At first: thanks lot for the quick and detailed reply! Great support ... Am 29.08.24 um 18:25 schrieb Marcin Haba: Bvfs cache is a great function in Bacula that has many advantages. Unfortunately it also has some disadvantages. Before this cache is created it takes some time and resources t

[Bacula-users] postgres load at restore

2024-08-29 Thread Stefan G. Weichinger
today I had to restore 2 files from a job with ~800GB and 785318 files in it this is bacula-15.0.2 and bacularis-3.2.1 on debian-12.6 When I tried the restore in bacularis and chose the needed Job-ID for selection of the files, the postgresql-DB went to 100% (on one core) and the webserver t

Re: [Bacula-users] migrate job

2024-08-05 Thread Stefan G. Weichinger
Am 02.08.24 um 10:04 schrieb Martin Simmons: On Fri, 2 Aug 2024 07:36:36 +0200, Stefan G Weichinger said: Am 01.08.24 um 18:08 schrieb Martin Simmons: finds no volumes to migrate "media list" lists ~40 volumes in Pool "File" I would still appreciate some help here.

Re: [Bacula-users] migrate job

2024-08-01 Thread Stefan G. Weichinger
Am 01.08.24 um 18:08 schrieb Martin Simmons: finds no volumes to migrate "media list" lists ~40 volumes in Pool "File" I would still appreciate some help here. Maybe the problem is the VolStatus? It must be "Full", "Used" or "Error" to be considered for migration with SelectionType = "Olde

Re: [Bacula-users] migrate job

2024-08-01 Thread Stefan G. Weichinger
On 01.08.24 18:08, Martin Simmons wrote: Maybe the problem is the VolStatus? It must be "Full", "Used" or "Error" to be considered for migration with SelectionType = "OldestVolume". The VolStatus of the source volumes or the target volumes? ___ B

Re: [Bacula-users] migrate job

2024-08-01 Thread Stefan G. Weichinger
On 01.08.24 18:08, Martin Simmons wrote: Maybe the problem is the VolStatus? It must be "Full", "Used" or "Error" to be considered for migration with SelectionType = "OldestVolume". re-read, sorry. Must be the source volumes, right? ___ Bacula-us

Re: [Bacula-users] migrate job

2024-08-01 Thread Stefan G. Weichinger
Am 09.07.24 um 13:16 schrieb Stefan G. Weichinger: I have: Pool {   Name = "Daily"   Description = "daily backups"   PoolType = "Backup"   MaximumVolumes = 30   VolumeRetention = 864000   VolumeUseDuration = 432000   Storage = "HP-Autoloader"

Re: [Bacula-users] migrate job

2024-07-09 Thread Stefan G. Weichinger
I have: Pool { Name = "Daily" Description = "daily backups" PoolType = "Backup" MaximumVolumes = 30 VolumeRetention = 864000 VolumeUseDuration = 432000 Storage = "HP-Autoloader" } Pool { Name = "File" PoolType = "Backup" LabelFormat = "Vol-" MaximumVolumes = 45 MaximumV

Re: [Bacula-users] migrate job

2024-07-08 Thread Stefan G. Weichinger
Am 04.07.24 um 15:20 schrieb Stefan G. Weichinger: Am 04.07.24 um 01:16 schrieb Bill Arlofski via Bacula-users: Your status storage shows that it is reading from the "daily" pool, using the tape drive "HP-Ultrium", and it is wanting to write to the "Daily" p

Re: [Bacula-users] migrate job

2024-07-04 Thread Stefan G. Weichinger
Am 04.07.24 um 01:16 schrieb Bill Arlofski via Bacula-users: Hello Stefan, Something is quite wrong here... :) And a lot of extra information is missing. Your status storage shows that it is reading from the "daily" pool, using the tape drive "HP-Ultrium", and it is wanting to write to the

[Bacula-users] migrate job

2024-07-03 Thread Stefan G. Weichinger
I can't get that migrate job running. Job { Name = "migrate-to-tape" Type = "Migrate" Pool = "File" NextPool = "Daily" JobDefs = "DefaultJob" PurgeMigrationJob = yes Enabled = yes MaximumSpawnedJobs = 20 SelectionPattern = "." SelectionType = "OldestVolume" } I have disk

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-26 Thread Stefan G. Weichinger
Am 21.06.24 um 16:31 schrieb Radosław Korzeniewski: Hello, czw., 20 cze 2024 o 17:46 Stefan G. Weichinger <mailto:li...@xunil.at>> napisał(a): Well, it looks for a volume named "Vol-xxx" in the tape loader, which is wrong. Any chance you can share your j

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-25 Thread Stefan G. Weichinger
Am 25.06.24 um 17:43 schrieb Martin Simmons: On Tue, 25 Jun 2024 12:59:03 +0200, Stefan G Weichinger said: I see various issues, maybe related to defective tapes also. Volumes that are in mode "Append" are loaded and not written to as in: 25-Jun 12:52 samba-sd JobId 2840: 33

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-25 Thread Stefan G. Weichinger
Am 25.06.24 um 17:43 schrieb Martin Simmons: I "Purge" them, mark them as "Append" ... doesn't work. Don't manually mark them as "Append" because that tells Bacula to wind forward to the end of the data before writing. The "Purge" operation just affects the catalog, not the data on the tape.

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-25 Thread Stefan G. Weichinger
Am 25.06.24 um 12:59 schrieb Stefan G. Weichinger: my director conf is 863 lines long, I assume I should pick out the relevant parts. Will try to. ok, showing config I removed Jobs and Filesets for other VMs and Samba-Shares, that are just edited copies of the shown ressources (I assume) to

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-25 Thread Stefan G. Weichinger
Am 19.06.24 um 09:46 schrieb Radosław Korzeniewski: Then you should put all your new tapes in the Scratch pool during labeling, so Bacula can take one to the selected pool when required. Finally you should configure the "Recycle" pool parameter pointing to the Scratch pool, so all your unused t

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-21 Thread Stefan G. Weichinger
On 21.06.24 16:31, Radosław Korzeniewski wrote: There are multiple places it could be wrong. You will never know unless you will get a whole picture. Now we only have a few puzzle pieces which do not match together. Sure, I will compile config and logs asap and come back here. thanks _

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-20 Thread Stefan G. Weichinger
Am 20.06.24 um 17:32 schrieb Radosław Korzeniewski: Great! So what job logs say about a volume selection when it selects "a wrong volume"? Well, it looks for a volume named "Vol-xxx" in the tape loader, which is wrong. Your configuration seems to be fine, but what Bacula says about your co

Re: [Bacula-users] volumes, pools, media types and labels

2024-06-19 Thread Stefan G. Weichinger
Am 19.06.24 um 09:46 schrieb Radosław Korzeniewski: Did you label your tapes? You can't use tapes in Bacula without labeling. Sure I did! When you label your tapes, just use "barcodes" options and Bacula will read all barcodes from tapes and label them to match. Then you should put all your

[Bacula-users] volumes, pools, media types and labels

2024-06-18 Thread Stefan G. Weichinger
I have an annoying issue that I don't yet understand I read the howtos around volumes and media type etc but so far couldn't get it working: There are 2 storages "File" and "HP-Autoloader" ... so disk- and tape-based backups. There are pools like "daily" "weekly" "monthly" that contain phy

Re: [Bacula-users] Bacularis: set of rights for tape operators

2024-06-13 Thread Stefan G. Weichinger
Am 13.06.24 um 14:05 schrieb Marcin Haba: This is wrong because if multiple commands are closed in one big quotes, it is treated as one command that does not exist, so it causes no access to anything. You need to write it as this (without quotes):   CommandAcl = gui, .api, .status, .storage

Re: [Bacula-users] Bacularis: set of rights for tape operators

2024-06-13 Thread Stefan G. Weichinger
Am 13.06.24 um 12:44 schrieb Marcin Haba: You don't need to restart anything. Are you sure that you set all CommandAcl directive values in the Console ACL? They should be one command per one CommandAcl field: CommandAcl = gui CommandAcl = .api CommandAcl = .status CommandAcl = .storage Comman

Re: [Bacula-users] Again LTO9 and performances...

2024-06-13 Thread Stefan G. Weichinger
interested as well, I need to speedup my weekly/monthly FULL runs (with LTO6, though: way slower anyway). Shouldn't the file daemon do multiple jobs in parallel? To tape you can only write ONE stream of data. To the spooling disk there could be more than one stream. Yes, that seems wrong:

Re: [Bacula-users] Bacularis: set of rights for tape operators

2024-06-13 Thread Stefan G. Weichinger
Am 13.06.24 um 10:24 schrieb Marcin Haba: On Thu, 13 Jun 2024 at 10:02, Stefan G. Weichinger <mailto:li...@xunil.at>> wrote: I don't see how to assign the ACL to that user, sry  In the create API basic user window there is an option with label: "Create dedicated B

Re: [Bacula-users] Bacularis: set of rights for tape operators

2024-06-13 Thread Stefan G. Weichinger
Am 12.06.24 um 17:09 schrieb Marcin Haba: Hello Stefan, Thanks for your question. It showed me that it might be good to add descriptions for the resources available for each role and probably a new section in the documentation that describes it. For the question about setting access for the

[Bacula-users] Bacularis: set of rights for tape operators

2024-06-12 Thread Stefan G. Weichinger
Could someone point me at a HOWTO or doc or point out a meaningful list of roles/permissions to assign to a bacularis user who should be able to: - list volumes - manage the autochanger maybe later - label volumes ? I don't want to give that employee full access, but I am a bit overwhelm

Re: [Bacula-users] Again LTO9 and performances...

2024-06-11 Thread Stefan G. Weichinger
Am 06.06.24 um 15:57 schrieb Marco Gaiarin: Mandi! Josh Fisher via Bacula-users In chel di` si favelave... Not for a single job. When the storage daemon is writing a job's spooled data to tape, the client must wait. However, if multiple jobs are running in parallel, then the other jobs will

[Bacula-users] Migration job(s)

2024-06-06 Thread Stefan G. Weichinger
I had to run backups to Disk only while the tape drive was repaired. Now the drive returned and I would like to migrate all the backups on disk to tape. "Migrate" Jobs should help here, right? I defined a job like this: Job { Name = "migrate-to-tape" Type = "Migrate" Storage = "File"

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-06-06 Thread Stefan G. Weichinger
Am 03.06.24 um 08:51 schrieb Stefan G. Weichinger: Fourth, please reply back with the results from the above tests, and with any other information you think may be important. I will do asap. Right now I wait for their admin to swap all the tapes etc the btape test went completely OK In the

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-06-02 Thread Stefan G. Weichinger
Am 02.06.24 um 17:00 schrieb Rob Gerber: Well, I think something is wrong here. I WOULD NOT write any data or an EOF to any production tapes with valuable data. This will almost certainly lead to data loss. To be perfectly clear, if you rewind a tape and write EOF to that tape, the data previou

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-06-02 Thread Stefan G. Weichinger
the drive was repaired, the head (?) replaced Now I have issues with the tapes labeled by the old drive ... I assume I should relabel them but that alone doesn't always lead to bacula correctly recognizing the tapes. And the procedure to relabel multiple tapes is a bit of manual work becau

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-23 Thread Stefan G. Weichinger
Am 20.05.24 um 11:44 schrieb Stefan G. Weichinger: Is there an easy way to delete all volumes belonging to a specific Job-ID? For now I looked it up in Bacularis: check which jobs are on which (disk-based) volume, rm the volume in Bacularis, then rm the corresponding file from disk (in the

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-20 Thread Stefan G. Weichinger
Am 15.05.24 um 16:02 schrieb Rob Gerber: To manually remove the disk volumes, and associated job and file entries, do a delete operation. Easily done in Bacularis or baculum, (I haven't done it in bconsole though I'm sure it's doable there too). I would have a catalog backup restored BEFORE I

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-16 Thread Stefan G. Weichinger
Am 15.05.24 um 16:02 schrieb Rob Gerber: Stefan, are your bacula catalog backups being made to a disk volume, as is default, or to a tape volume? If being made to a disk volume you could restore a catalog backup. If your catalog backups were being made to that same machine whose backups were pu

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-15 Thread Stefan G. Weichinger
Am 08.05.24 um 13:13 schrieb Stefan G. Weichinger: I assume the drive has a problem. we used a new cleaning tape and a new LTO tape, btape still fails I tend to say this drive is defective Today the IT and the CEOs decide how to proceed. For now I created a temporary file-based storage on

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-08 Thread Stefan G. Weichinger
I assume the drive has a problem. btape append test fails ... dmesg: [Mi Mai 8 10:18:32 2024] scsi 1:0:7:1: Power-on or device reset occurred [Mi Mai 8 10:18:32 2024] ch 1:0:7:1: [ch0] reading element address assignment page failed! [Mi Mai 8 10:18:32 2024] ch 1:0:7:1: [ch0] INITIALIZE EL

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-08 Thread Stefan G. Weichinger
even btape fails # /opt/bacula/bin/btape /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:298-0 Using device: "/dev/nst0" for writing. btape: btape.c:477-0 open device "HP-Ultrium" (/dev/nst0): OK *test === Write, rewind, and re-read test === I'm going to write 1 records and

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-07 Thread Stefan G. Weichinger
Am 07.05.24 um 18:21 schrieb Rob Gerber: Wait a sec - look at this again: # mtx -f /dev/sg4 status    Storage Changer /dev/sg4:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 4 Loaded):VolumeTag = CMR921L6        Storage Element 1:Full :VolumeTag=CMR904L6  

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-07 Thread Stefan G. Weichinger
Am 07.05.24 um 17:04 schrieb Stefan G. Weichinger: Could it be related to something like blocksizes? These tapes were used with Amanda before. trying another tape now I really get lost here. Wanted to re-label a tape to start over: # systemctl stop bacula-sd # mt -f /dev/st0 rewind # mt

Re: [Bacula-users] HP 1/8 G2 Autoloader

2024-05-07 Thread Stefan G. Weichinger
more info: restarted daemons entered bconsole mounted a slot, labelled the tape Catalog record for Volume "CMR921", Slot 4 successfully created. Requesting to mount HP-Autoloader ... 3001 Device ""HP-Ultrium" (/dev/nst0)" is mounted with Volume "CMR921" started a (test) job to backup the c

[Bacula-users] HP 1/8 G2 Autoloader

2024-05-07 Thread Stefan G. Weichinger
On the weekend I tried to use a "weekly" pool for a set of full backups. It failed with a tape error and since then we fail to get on track again. Multiple reboots of the library, change of tapes, relabeling etc I try for example to stop all bacula-services and unload a tape: # mtx -f /dev/sg

Re: [Bacula-users] Wildfile

2024-04-15 Thread Stefan G. Weichinger
Am 11.04.24 um 07:49 schrieb Bill Arlofski via Bacula-users: On 4/10/24 11:38 PM, Stefan G. Weichinger wrote: First coffee here right now ;-) Thanks for your example. Hello Stefan, You are welcome! Well, it is 23:41 here now, so I have switched from coffee to beer. :) Understandable

Re: [Bacula-users] Bacula and german special chars "umlauts"

2024-04-10 Thread Stefan G. Weichinger
I think those special chars are already in the filesystem like this. It's no big deal as long as they are in the backups ;-) Choosing files in the GUI is still possible, it just looks ugly or incorrect somehow. I will check if that relates to the way samba was set up there etc (the relevan

Re: [Bacula-users] Wildfile

2024-04-10 Thread Stefan G. Weichinger
Am 10.04.24 um 16:45 schrieb Bill Arlofski via Bacula-users: Hello Stefan, No, this will not backup anything because you have not specified anything to backup with a `File = /path/to/somewhere` inside of your `Include{}` block. So far, you have only set something (WildFile) inside of an `Opti

Re: [Bacula-users] Wildfile

2024-04-10 Thread Stefan G. Weichinger
Am 10.04.24 um 14:25 schrieb Rob Gerber: I don't think it is correct, no. I am not an expert, but last time I tried something like this I believe the suggestion I was given was to use a runbefore script to run a find command or similar to locate and build a file list, then give that list to b

[Bacula-users] Wildfile

2024-04-09 Thread Stefan G. Weichinger
Is this Fileset correct? Fileset { Name = "VM_xxx-y" Include { Options { WildFile = "\"/mnt/backup/vmbackup/Backup xxx-y/*.vbk\"" } } } I don't get files with this ... seems not to match. ___ Bacula-users mailing list Bacula-u

Re: [Bacula-users] Bacula and german special chars "umlauts"

2024-04-09 Thread Stefan G. Weichinger
Am 09.04.24 um 08:38 schrieb Marcin Haba: Hello Stefan, Yes, filenames displayed in the restore process. Also it might be good to check how the names are stored in the database in the File table if everything is fine there. will try that in an hour or so. currently editing Jobs and doing in

Re: [Bacula-users] Bacula and german special chars "umlauts"

2024-04-08 Thread Stefan G. Weichinger
Am 09.04.24 um 08:04 schrieb Marcin Haba: Hello Stefan, I agree with Anders' advice to check Bacula first. Bacula stores file names in the database as they are, without interpreting them, no encoding conversion. It means that something is wrong on the input when names are stored, it will also

[Bacula-users] Bacula and german special chars "umlauts"

2024-04-08 Thread Stefan G. Weichinger
I am in the process of installing and configuring Bacula-13.0.4 and Bacularis-2.7.0 on a Debian-12.5 server. (moving over from using Amanda, I might ask a few questions around that soon) What I noticed: when I access "Restore" in Bacularis, there are files displayed with strange chars ins

Re: [Bacula-users] Scheduling example

2024-03-06 Thread Stefan G. Weichinger
Am 06.03.24 um 15:55 schrieb Phil Stracchino: On 3/6/24 01:58, Stefan G. Weichinger wrote: As I try to come up with an initial setup for weekly-daily-monthly I found this: https://www.bacula.org/13.0.x-manuals/en/main/Automatic_Volume_Recycling.html#SECTION003060 Shouldn&#

[Bacula-users] Scheduling example

2024-03-05 Thread Stefan G. Weichinger
As I try to come up with an initial setup for weekly-daily-monthly I found this: https://www.bacula.org/13.0.x-manuals/en/main/Automatic_Volume_Recycling.html#SECTION003060 Shouldn't there also be Jobs for Weekly and Monthly? Which Pool to use for the Catalog Backups?

Re: [Bacula-users] backing up cifs-shares

2024-02-27 Thread Stefan G. Weichinger
Am 27.02.24 um 12:29 schrieb Marcin Haba: Hello Stefan, After adding the www-data to the bacula group you need to restart php-fpm and web server services. Here you can find more information about possible ways to solve this error: https://bacularis.app/doc/brief/troubleshooting.html#permission

Re: [Bacula-users] backing up cifs-shares

2024-02-27 Thread Stefan G. Weichinger
It seems to have worked now ... for the first windows-client. I am in the process of removing the older release and baculum. Earlier config was in "/etc/bacula", now the path seems to be "/opt/bacula/etc" I moved the configs, adjusted paths ... also in the API Panel. Things are *read* ok,

Re: [Bacula-users] backing up cifs-shares

2024-02-26 Thread Stefan G. Weichinger
Am 26.02.24 um 14:25 schrieb Rob Gerber: Mixing topics is ok. Better in this case. All the information is in one email thread. fine I have read that if you use mt to rewind the tape and then write eof to the tape (end of file), it will fool bacula into thinking that the tape is empty. If you

Re: [Bacula-users] backing up cifs-shares

2024-02-26 Thread Stefan G. Weichinger
Am 24.02.24 um 20:53 schrieb Stefan G. Weichinger: I was already able to get the windows-client to work by upgrading/reinstalling the bacula-server part (basically starting from scratch ... didn't matter much, but was a bit of work). The server was older than the client, that seems to

Re: [Bacula-users] backing up cifs-shares

2024-02-24 Thread Stefan G. Weichinger
Am 24.02.24 um 03:07 schrieb Rob Gerber: Hello Stefan! I have a server that I back up via bacula that I can only access via SMB. It is a high-end NAS appliance running gentoo linux, with absolutely no shell access by anyone but the vendor who provides it. The appliance does its job well, but

  1   2   >