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

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

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

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

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

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

[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

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

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

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

[Bacula-users] Wildfile

2024-04-10 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

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

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

2024-04-09 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

[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

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't

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

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

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 have

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

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

2024-02-23 Thread Stefan G. Weichinger
Am 23.02.24 um 09:50 schrieb Stefan G. Weichinger: I am still learning my way to use bacula and could need some explanations. In the meantime I learned there is a Windows client ;-) installed it, added client definition to the server, edited client conf ... I see the client and its status

[Bacula-users] backing up cifs-shares

2024-02-23 Thread Stefan G. Weichinger
I am still learning my way to use bacula and could need some explanations. One goal of my customer is to backup an old Windows Server VM with ~15 shares. My bacula-server is a Debian-VM with bacula-13.0.3, and baculum-11.0.6 I have a config running, writing to a HP changer with 8 tapes etc

Re: [Bacula-users] Autochanger and Baculum

2024-02-06 Thread Stefan G. Weichinger
I think I found the issue: the execute-permission was missing on "/etc/bacula" I can unload tapes now from baculum. testing things now I hope I haven't broken anything by editing everything ;-) thanks, Stefan ___ Bacula-users mailing list

Re: [Bacula-users] Autochanger and Baculum

2024-02-06 Thread Stefan G. Weichinger
sorry for "flooding" I just want to provide as much details as possible *mount Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Automatically selected Storage: loader1 Enter autochanger slot: 2 3991 Bad autochanger "loaded? drive 0" command: ERR=Keine Berechtigung. Results=

Re: [Bacula-users] Autochanger and Baculum

2024-02-06 Thread Stefan G. Weichinger
I edited the names and the device-names: Device { Name = "HP-Ultrium4" MediaType = "LTO-4" DeviceType = "Tape" ArchiveDevice = "/dev/tape/by-id/scsi-350014380032d5e61-nst" LabelMedia = yes AlwaysOpen = yes Autochanger = yes MaximumFileSize = 200 } Autochanger { Name =

[Bacula-users] Autochanger and Baculum

2024-02-06 Thread Stefan G. Weichinger
I try to set up a HP 1x8 Changer and an LTO drive. I defined it in * bacula-sd.conf Device { Name = "HP-LTO7" MediaType = "LTO-4" DeviceType = "Tape" ArchiveDevice = "/dev/nst0" LabelMedia = yes AlwaysOpen = yes Autochanger = yes MaximumFileSize = 200 } Autochanger {

Re: [Bacula-users] newbie: errors in baculum

2024-01-27 Thread Stefan G. Weichinger
Am 26.01.24 um 21:01 schrieb Marcin Haba: Hello Stefan, Yes, for PostgreSQL 15 you need this patch. It should still be valid. At the moment Bacula GitLab stopped working so I am sending the patch in attachment. It is a one line patch. After applying it, the TDbCommand error should not occur

Re: [Bacula-users] newbie: errors in baculum

2024-01-25 Thread Stefan G. Weichinger
seems I hit this: https://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg72759.html Is it advised to use bacularis instead now? ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net

Re: [Bacula-users] newbie: errors in baculum

2024-01-25 Thread Stefan G. Weichinger
Am 25.01.24 um 11:58 schrieb Stefan G. Weichinger: "Error code: 1000 Message: Internal error. TDbCommand failed to execute the query SQL " SELECT conname, consrc, contype, " Googled that, unsure about it. I find https://www.mail-archive.com/search

[Bacula-users] newbie: errors in baculum

2024-01-25 Thread Stefan G. Weichinger
greetings, bacula-users I am a complete starter with bacula and test things in a Debian 12.4 machine. I can write to and read from tape already, using an autochanger ... looks good already. I maybe have a "mixed" setup: at first I installed from the debian repos, then I found the