[bareos-users] Re: LTO-6 inconsistent write performance (from 12M/s to 153M/s)

2023-09-13 Thread Bruno Friedmann (bruno-at-bareos)
A few remarks: - You shouldn't forget tmpfs is fundamentally a (virtual) memory-based file system; its contents live in memory only, but since they’re swappable the kernel can store them in swap instead of physical memory if necessary. So what precaution you're using to ensure, there's no swap

Re: [bareos-users] Help with retention

2023-11-06 Thread Bruno Friedmann (bruno-at-bareos)
And if you already have volumes, don't forget to update them all. bconsole -> update -> volume parameter -> 13: All Volumes from Pool or 14: All Volumes from all Pools On Friday, 3 November 2023 at 08:49:26 UTC+1 Miguel Santos wrote: > Forgot to change Max Volume Jobs, I will set it to 1, not

Re: [bareos-users] New PostgreSQL plugin search volunteers for testing

2023-09-18 Thread Bruno Friedmann (bruno-at-bareos)
ot;[Errno 2] No such file or directory: > '/db/pgsql/pgsql-15/pg_subtrans/00BF'" > > It seems that the plugin fails when it wants to backup a subtransaction > that has been commited and removed from that directory in the meantime. > > Is it save to exclude the pg_subt

Re: [bareos-users] New PostgreSQL plugin search volunteers for testing

2023-09-18 Thread Bruno Friedmann (bruno-at-bareos)
6/2117113: "[Errno 2] No such file or > directory: '/db/pgsql/pgsql-15/base/16386/2117113'" > > It is a active database. Any thoughts on this? > > With kind regards, > Dennis > > Ursprüngliche Nachricht > *Von*: Bruno Friedmann (bruno-at-bareos) > *

Re: [bareos-users] New PostgreSQL plugin search volunteers for testing

2023-09-18 Thread Bruno Friedmann (bruno-at-bareos)
Sorry in fact it is in 15 doc too. Le lundi 18 septembre 2023 à 15:59:34 UTC+2, Bruno Friedmann (bruno-at-bareos) a écrit : > Hello Dennis, > > Nice you already tried the fresh PG16 meat, after checking the new > documentation about subtrans we can see that upstre

[bareos-users] Re: Always Incremental example?

2023-09-20 Thread Bruno Friedmann (bruno-at-bareos)
Hello Giorgio, while our documentation isn't yet as perfect as it could be (PR are welcome at any times :-) it will certainly be more up to date than a 5 years old threads. If you look for inspiration about your configuration, maybe you want to have a look at how the systemtests works

[bareos-users] Re: Issues with getting bareos to see the slots in autochanger

2023-10-02 Thread Bruno Friedmann (bruno-at-bareos)
Usually bareos sd user is also member of "Tape" and Disk group which greatly simplify access to that kind of devices. Le vendredi 29 septembre 2023 à 21:30:03 UTC+2, Philip Dalrymple a écrit : > OK THAT WAS IT > > A line needs to be added to /etc/sudoers file to allow the user (or group) >

[bareos-users] Re: bareos-sd device count usage

2023-09-27 Thread Bruno Friedmann (bruno-at-bareos)
The trick is to use a virtual autochanger for those kind of device, so only the changer is declared on the director. If you want to get inspired, you can have a look at the following PR which will propose to introduce this https://github.com/bareos/bareos/pull/1467 Le mardi 26 septembre 2023

[bareos-users] Re: Restore catalog from bootstrap

2023-09-27 Thread Bruno Friedmann (bruno-at-bareos)
Thank you to discover one part of the documentation that need to be rewritten. Oleg todo is quite right in the term of using bextract with the bsr is the easiest way to have your catalog back, and maybe also you want to extract the previous configuration. Please don't be shy and propose a PR

[bareos-users] Re: bareos-sd device count usage

2023-09-27 Thread Bruno Friedmann (bruno-at-bareos)
; > using count simplifies the sd config, but the director with needs each > listed. > > On Wednesday, September 27, 2023 at 4:55:39 a.m. UTC-4 Bruno Friedmann > (bruno-at-bareos) wrote: > >> The trick is to use a virtual autochanger for those kind of device, so >>

[bareos-users] Re: Changelog for upgraded packages

2023-09-27 Thread Bruno Friedmann (bruno-at-bareos)
the link proposed drive you to the master documentation (see little droplist at the left bottom) you can choose 22 version https://docs.bareos.org/bareos-22/Appendix/ReleaseNotes.html then you have the unreleased (so 22.1.1~pre) changes Le mercredi 27 septembre 2023 à 09:17:03 UTC+2, Silvio

[bareos-users] Re: Two auto-changers sharing jobs

2023-10-05 Thread Bruno Friedmann (bruno-at-bareos)
Maybe your sentence is not enough clear: *"The same media is readable and writeable by either drive from either library."* To me it sound like the two autochanger are seen as one big library on the system to 2 tapes drives and a lot of slots. It they are not, then you will have to play with

Re: [bareos-users] New PostgreSQL plugin search volunteers for testing

2023-10-10 Thread Bruno Friedmann (bruno-at-bareos)
", "credits" or "license" for more information. >> >>> "0135/B5371B08" > "135/A42EF7F0" >> False >> >>> "135/B5371B08" > "135/A42EF7F0" >> True >> >>> >> &

Re: [bareos-users] Re: Two auto-changers sharing jobs

2023-10-05 Thread Bruno Friedmann (bruno-at-bareos)
the same library they > came from. > > Is there any way I can achieve that? > > Best regards, > Chris > > On 05/10/2023 09:41, Bruno Friedmann (bruno-at-bareos) wrote: > > Maybe your sentence is not enough clear: /"The same media is readable > > and writeable

[bareos-users] Re: Authorization problem in Webui with Pam authentication

2024-02-08 Thread Bruno Friedmann (bruno-at-bareos)
Certainly due to an upgrade without having run su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges something present in the fine manual ;-) Le jeudi 8 février 2024 à 11:53:16 UTC+1, Thomas Messner a écrit : > When I go to Director -> Subscription, I get the following error message: >

[bareos-users] Re: bareos web ui with https

2024-02-15 Thread Bruno Friedmann (bruno-at-bareos)
Hello Markus, I hope you noticed in Bareos documentation, that connection between php-fpm (webui) and the director had to be unencrypted (due to missing tls-psk support in upstream php-curl module). But to have https and as such tls connection between your browser and the webui you will have

[bareos-users] Re: First Full Backup is not consolidated

2024-02-20 Thread Bruno Friedmann (bruno-at-bareos)
Hard to say without any configuration sample, but certainly you will have to have a look at https://docs.bareos.org/TasksAndConcepts/AlwaysIncrementalBackupScheme.html#always-incremental-max-full-age Le dimanche 11 février 2024 à 18:25:14 UTC+1, Mike a écrit : > Hi, > > I'm using Bareos 23 set

[bareos-users] Re: Trigger copy job just after a backup job

2024-02-21 Thread Bruno Friedmann (bruno-at-bareos)
Hello Łukasz just a big warning: *don't do that ! :-)* The why is when you are in the run script post state, the initial job is still not finished for Bareos and changes still happen afterwards. You really don't want to try hard to confuse your database and Bareos installation. Some have

[bareos-users] Re: bareos-sd dummy device help

2023-12-19 Thread Bruno Friedmann (bruno-at-bareos)
Did you also install the bareos-storage-fifo Le lundi 18 décembre 2023 à 11:33:28 UTC+1, emme a écrit : > good morning, > tried this but seems not working, am i doing wrong? > > ( > https://docs.bareos.org/Appendix/Howtos.html#use-a-dummy-device-to-test-the-backup > ) > > cat

[bareos-users] Re: Adding / Installing a windows client - v23 vs documentation

2023-12-29 Thread Bruno Friedmann (bruno-at-bareos)
Maybe this will just create the "oooh moment" Here you have client resource defined in the bareos-dir (director) /etc/bareos/bareos-dir.d/client/client2-fd.conf Each of them will contain a passphrase that you will report to /etc/bareos/bareos-fd.d/director/director-dir.conf So I can just confirm

[bareos-users] Re: ARM64 Client

2023-12-21 Thread Bruno Friedmann (bruno-at-bareos)
There was a thread not so long ago here in the ML see https://groups.google.com/u/1/g/bareos-users/c/rQ4i5oHoKGQ Le mercredi 20 décembre 2023 à 15:55:39 UTC+1, Chris Dos a écrit : > I'm running and ARM64 Orange Pi and the 16.2 client was backing up fine > until I upgraded the server yesterday.

Re: [bareos-users] LTO capacity management

2023-12-21 Thread Bruno Friedmann (bruno-at-bareos)
You certainly will get more gain to spend a bit of time in the documentation, than trying to play with scripting :-) Bareos has parameter to most (if not all) possible case https://docs.bareos.org/bareos-23/Configuration/Director.html#config-Dir_Job_RescheduleOnError ;-) Alexander, if a

[bareos-users] Re: Adding / Installing a windows client - v23 vs documentation

2024-01-04 Thread Bruno Friedmann (bruno-at-bareos)
Hi Jason, you're still seems to confuse director configuration on fd and client configuration on dir On Windows /etc/bareos is replaced by %ProgramData%/bareos and the rest below is identical. As mentioned into the documentation the configure add client create two This creates two resource

[bareos-users] Re: Error when listing jobs in bconsole: Fatal error: cats/sql_list.cc:593

2024-01-05 Thread Bruno Friedmann (bruno-at-bareos)
Hi Jen, I guess you already verified that you didn't forget to update the database schema and the privileges ? either with dbconfig or manually by applying the manual script update_bareos_tables and grant_bareos_privileges ``` Enter SQL query: select * from version; +---+ | versionid |

[bareos-users] Re: Error when listing jobs in bconsole: Fatal error: cats/sql_list.cc:593

2024-01-05 Thread Bruno Friedmann (bruno-at-bareos)
bid=36197 hours=48 > > I get the error as mentioned above. With the solution the error doesn't > bother me but it seems a little strange to me. > > Greetings, Jens > > > > > Bruno Friedmann (bruno-at-bareos) schrieb am Freitag, 5. Januar 2024 um > 11:41:11 UTC+1: >

[bareos-users] Re: Bareos 23.0.1~pre7.606b211eb-33 error: Volume Header Id bad: Bacula 1.0 immortal

2024-01-10 Thread Bruno Friedmann (bruno-at-bareos)
Hi, The compatible option was in deprecated mode since a few release, and has been removed finally in 23. Here it look like you're recycling a very old volume since ages. The best advise would be to either try a manual relabel (when in purge status) check if the header is then correctly

Re: [bareos-users] VSS ERR=The process cannot access the file because it is being used by another process

2024-01-16 Thread Bruno Friedmann (bruno-at-bareos)
Hello, all normally the issues that are described here, should have been already fixed, and should work without any trouble with bareos >= 23 The code fixing the problem has been submitted and merge a certain time ago with PR1452 https://github.com/bareos/bareos/pull/1452 Please refresh your

Re: [bareos-users] VSS ERR=The process cannot access the file because it is being used by another process

2024-01-17 Thread Bruno Friedmann (bruno-at-bareos)
written that explicitly. On 16.01.2024 15:23, Bruno Friedmann (bruno-at-bareos) wrote: Hello, all normally the issues that are described here, should have been already fixed, and should work without any trouble with bareos >= 23 The code fixing the problem has been submitted and merge a cert

Re: [bareos-users] VSS ERR=The process cannot access the file because it is being used by another process

2024-01-17 Thread Bruno Friedmann (bruno-at-bareos)
ors of being unable to access the file and if >> I wanted to restore the files I got a zero-length content. I know it should >> have been converted to the shadowcopy-based filename but wasn't. >> >> I'll check the latest package version first though. >> >> MK

[bareos-users] Re: replicating bareos database and environment

2024-01-18 Thread Bruno Friedmann (bruno-at-bareos)
Unconventional setup I must admit. I presume you know that any write to the db will failed and as such it is 100% failing A restore will need to create a temp table, so I'm not sure you are on the right path. You may want to debug this by starting your director with bareos-dir -f -u

[bareos-users] Re: error:1409E10F:SSL (backup failed)

2024-01-09 Thread Bruno Friedmann (bruno-at-bareos)
You certainly want to get ride of this out of date version Bareos Version: 20.0.0-1 (16 December 2020) Le mardi 9 janvier 2024 à 10:52:53 UTC+1, cwa...@gmail.com a écrit : > In addition, there is also this error : > > 16-oct. 18:48 scribe-dir JobId 6: Fatal error: TLS read/write failure.: >

Re: [bareos-users] Re: Upgrade to Bareos 23 on FreeBSD Failed

2024-01-08 Thread Bruno Friedmann (bruno-at-bareos)
Hi There a number of Pull request concerning FreeBSD improvement installation and update that are in the process to be merged. They will bring the missing update script which you can download directly from the source code repository if needed

Re: [bareos-users] LTO capacity management

2023-12-21 Thread Bruno Friedmann (bruno-at-bareos)
Another set of eyes is always useful. >> >> Thanks for correcting my (false, this time) assumptions! >> >> MK >> On 21.12.2023 10:41, Bruno Friedmann (bruno-at-bareos) wrote: >> >> You certainly will get more gain to spend a bit of time in the >> documentat

[bareos-users] Re: bareos-fd-postgresql plugin connection

2023-11-23 Thread Bruno Friedmann (bruno-at-bareos)
Hi Sathis, I guess your best bet will be to use the newer postgresql plugin come in 23 where you will have all new sort of possibility you can already check the new documentation at https://docs.bareos.org/master/TasksAndConcepts/Plugins.html#postgresql-plugin The last iteration of rewrite

[bareos-users] Re: bareos-fd-postgresql plugin connection

2023-11-23 Thread Bruno Friedmann (bruno-at-bareos)
Hi Stathis, I guess your best bet will be to use the newer postgresql plugin come in 23 where you will have all new sort of possibility you can already check the new documentation at https://docs.bareos.org/master/TasksAndConcepts/Plugins.html#postgresql-plugin The last iteration of rewrite

[bareos-users] Re: A problem with storage after upgrading to version 23

2023-11-29 Thread Bruno Friedmann (bruno-at-bareos)
As indicated in the changelog of the release - daemons: remove deprecated Pid Directory config option, and update Maximum Concurrent Jobs default value to 1 PR #1426 Le mercredi 29 novembre 2023 à 07:24:30 UTC+1, Serhii Zahuba

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-30 Thread Bruno Friedmann (bruno-at-bareos)
t; > I had the same issue as Bruce had. I'm working on a Debian 11.8 system and > the reboot was the only way to get bareos up and running again. > > Greetings, Jens > > Bruno Friedmann (bruno-at-bareos) schrieb am Montag, 27. November 2023 um > 10:30:32 UTC+1: > >>

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-27 Thread Bruno Friedmann (bruno-at-bareos)
Hi Bruce, It look really weird to me, to have to reboot a server due to Bareos update or upgrade. Mostly update just need to restart services which all can be done in one go with `systemctl restart bareos-dir bareos-sd bareos-fd` For upgrade, it has always been a good idea (beside reading the

Re: [bareos-users] Bareos refuses to backup container subvolumes

2023-12-04 Thread Bruno Friedmann (bruno-at-bareos)
With container, you may need to add the overlay as fs type in your fileset ``` overlay on / type overlay (rw,relatime,context="system_u:object_r:container_file_t:s0:... ``` Le samedi 2 décembre 2023 à 19:56:00 UTC+1, Jan Hebler a écrit : > Hi > > Am Samstag, 2. Dezember 2023, 12:20:29 CET

Re: [bareos-users] Using rear.

2024-02-01 Thread Bruno Friedmann (bruno-at-bareos)
a director ressource is mandatory to make bareos-fd able to know who is connecting. rear is also using bconsole, which also need a director ressource to connect to. but of course that doesn't mean bareos-director component has to be installed, this is 2 separated things. Le jeudi 1 février

Re: [bareos-users] Using rear.

2024-01-31 Thread Bruno Friedmann (bruno-at-bareos)
Not sure it will be enough due to the following trace reported 2024-01-30 12:20:54.433433584 Including prep/BAREOS/default/500_check_BAREOS_bconsole_results.sh The -xc and -xs options have changed. Use --xc and --xs as given in the help. Run with --help for more information. 2024-01-30

[bareos-users] Re: Again question regarding python-ldap

2023-11-08 Thread Bruno Friedmann (bruno-at-bareos)
python3-ldap will be part of bareos 23 you can already test it with the experimental repository (better to go with EL9 due to pyhton3 version being more recent) On Wednesday, 8 November 2023 at 08:11:35 UTC+1 Silvio Schloeffel wrote: > Hi, > > our CentOS7 based backup server now comes to is

[bareos-users] Re: LTO Tape migration

2023-11-22 Thread Bruno Friedmann (bruno-at-bareos)
copying for tape to tape is somewhat what bcopy can do, but then yes new volume will not be known by bareos https://docs.bareos.org/master/Appendix/BareosPrograms.html#bcopy You're safer way to using migration job. Le mercredi 22 novembre 2023 à 14:50:57 UTC+1, Guy Foetz a écrit : > Hi, > > I

[bareos-users] Re: Incremental backup has the same size and amount of files

2024-02-22 Thread Bruno Friedmann (bruno-at-bareos)
The culprit is *Command = "sh -c 'rm -rf /mnt/hidden/backups/*"* Everyday you add new file, as so they are picked by the fd because they are new Seems you have to return to the design board ;-) On Thursday 22 February 2024 at 15:39:17 UTC+1 Руслан Пилипюк wrote: > Hey guys! I was stuck trying

Re: [bareos-users] Re: Restore catalog from bootstrap

2024-03-05 Thread Bruno Friedmann (bruno-at-bareos)
bextract is used directly with volume, so of course it is used on storage, so if yours is a remote, you have to use bextract there. On Monday 4 March 2024 at 18:44:42 UTC+1 Oleg Volkov wrote: > Very interesting question. Had not tried this in a distributed environment. > I could assume that

[bareos-users] Re: How to check what jobs does the volume file have

2024-03-18 Thread Bruno Friedmann (bruno-at-bareos)
read the fine manual bconsole commands list On Friday 15 March 2024 at 15:28:18 UTC+1 Руслан Пилипюк wrote: > I have the following settings in a pool, and I want to check in which > volume my job backups are located, as you can see I aiming to have 7 > backups in one volume, therefore by

Re: [bareos-users] Continue failed job

2024-03-21 Thread Bruno Friedmann (bruno-at-bareos)
Wishes tend to be always in late compared to any PR. You may have an interest to participate and make an enhancement to the documentation :-) On Thursday 21 March 2024 at 09:28:35 UTC+1 Jascha Schubert wrote: > Hello Andreas, > thank you for your answer. > I hope that resuming a job will be

[bareos-users] Re: latest build 23.0.3pre87 from 11. April not working

2024-04-15 Thread Bruno Friedmann (bruno-at-bareos)
Well, I'm not sure what you're trying to report as of course the CI testing would normally had caught such failure. Here a suse 15 just installed with all default run nicely ``` Connecting to Director localhost:9101 Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 1000 OK: bareos-dir Version:

[bareos-users] Re: latest build 23.0.3pre87 from 11. April not working

2024-04-15 Thread Bruno Friedmann (bruno-at-bareos)
reos-tools bareos-storage-tape mtx scsitools \ > sg3-utils mt-st bareos-storage-droplet \ > && apt-get clean \ > && rm -rf /var/lib/apt/lists/* > > COPY docker-entrypoint.sh /docker-entrypoint.sh > RUN chmod u+x /docker-entrypoint.sh > > RUN tar czf /bar

[bareos-users] Re: Bareos 21.0.0 - missing "delete" command in console

2024-05-14 Thread Bruno Friedmann (bruno-at-bareos)
you are in batch mode (so you need to remove the interactive yes) delete jobid=999 yes should work By the way you're using a really out of dated version 21 compared to current 23. On Tuesday 14 May 2024 at 06:50:00 UTC+2 Paul Chen wrote: > [image: Capture2.JPG] > [image: Capture.JPG] > > > >

[bareos-users] Re: Client Run Before Job with different scripts for different backup levels

2024-05-14 Thread Bruno Friedmann (bruno-at-bareos)
Maybe you can use the %l in a major script which decide then action corresponding the the level ? On Tuesday 14 May 2024 at 11:25:01 UTC+2 Leon Bartle wrote: > Hi there! > > Is there a way to run different commands with the "Run Script" Command, > depending on the Backup level? > > For