Re: changer for more than one usb disk device

2023-11-17 Thread Exuvo
Udev can run shell scripts as an action, use that when device is plugged in and have smarter symlink naming logic in the script. On Thu, 16 Nov 2023, 22:10 Moritz Both, wrote: > Greetings, > > we use amanda with usb disks and manually change them every day. I > configured udev to create a

Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15

2023-06-07 Thread Exuvo
"exuvo" Olsson ex...@exuvo.se On 2023-06-07 13:43, Robert Heller wrote: Is there some "trick" to getting Amanda (3.5.1) to run properly under MacOSX 10.15? I recently added a new (to me) machine to my LAN and want to be able to take regular backups of it. I is an older model M

Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15

2023-06-07 Thread Exuvo
. In /usr/lib/amanda/application/ the following has SGID to root set: ambind calcsize killpgrp rundump runtar. Anton "exuvo" Olsson ex...@exuvo.se On 2023-06-07 21:53, Exuvo wrote: Those errors seem like normal permission errors, if you su to amanda can you access those files? If not i

Re: multiple LTOs in the same library

2023-05-19 Thread Exuvo
You can probably skip the labelstr completly and only use autolabeling=no with manual labeling to assign tapes to each storage pool. Anton "exuvo" Olsson ex...@exuvo.se On 2023-05-19 13:36, ASV wrote: Wow, I'll go through it as soon as I can. Thank you very much for now e

Re: multiple LTOs in the same library

2023-05-18 Thread Exuvo
"ironmountain"     tpchanger "MSL2024"     runtapes 10 # max number of tapes used in a single run of amdump     tapetype "LTO5"     labelstr "^A[0-9]{5}$" # label constraint regex: all tapes must match     taperscan "lexical" } storage "archive-sto

Re: multiple LTOs in the same library

2023-05-16 Thread Exuvo
I think the settings you want are two different storage/pools sections with a labelstr regex for matching valid tapes for it. I cant see my config from my phone but its something like that. On Tue, 16 May 2023, 11:17 ASV, wrote: > OK! I guess you have no hint for me but thanks anyway for

Re: amanda-3.5.3 problems

2023-05-02 Thread Exuvo
The empty man pages is because someone forgot to build the man pages when making the rest of the package. Anton "exuvo" Olsson ex...@exuvo.se On 2023-04-28 15:44, Nuno Dias wrote: Hi, After upgrading amanda from amanda-3.5.1 to amanda-3.5.3 using the rpm from Fedora, I h

Re: garbage collect: free orphaned chunks from disks?

2023-03-08 Thread Exuvo
I would also like to add that it is good to have backups from varying dates around in case the most recent backup is ex after a file was accidentally deleted and you need to restore it from an older backup. Anton "exuvo" Olsson ex...@exuvo.se On 2023-03-08 12:20, Heiko Schlitter

Re: Multiple storage-definitions, generating archive tapes

2022-10-30 Thread Exuvo
Are you not supposed to do all the -Letter options before the configuration name? Is that maybe why it does not work? I.e: amflush -o storage=storage1 configurationNameHere Anton "exuvo" Olsson ex...@exuvo.se On 2022-10-24 19:08, Stefan G. Weichinger wrote: So far my setups wit

Re: Multiple storage-definitions, generating archive tapes

2022-08-23 Thread Exuvo
ng with R or A ( ^A[0-9]{5}$ ) respectively. They share holding disk but i always flush it so it is only used for slow DLEs to avoid the drive starting and stopping a lot. Is that what you are trying to do or did i read incorrectly? Anton "exuvo" Olsson ex...@exuvo.se On 2022-08-23 10:15,

Re: Presumably Perl issue with amcheck (and probably the entire package)

2022-06-21 Thread Exuvo
Are you sure that you compiled amanda against the very same perl version? Anton "exuvo" Olsson ex...@exuvo.se On 2022-06-20 18:14, Matthias Wolf wrote: Hi! I'm trying to migrate an Amanda 3.5.1 server to a new host. The old one ran under Ubuntu 20.04, the new one has Manjaro

Re: (OT) What backup to use with Windows

2022-05-31 Thread Exuvo
I do client initiated rdiff-backup via locked down ssh key (ie append only) to my server. Then i run amanda backup weekly to backup the latest pushed backup to tape (ignoring rdiff-backups history). This way i have both a quick restore for normal use and a mostly offline (only turned on during

Re: amrecover usage with chg-robot

2022-05-25 Thread Exuvo
h i had to add to read older backups when i was testing different block sizes. That settings means it supports up to that blocksize for restores. Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-25 17:09, Stefan G. Weichinger wrote: Am 25.05.22 um 16:46 schrieb Stefan G. Weiching

Re: amrecover usage with chg-robot

2022-05-25 Thread Exuvo
To handle changing device names use ex /dev/tape/by-id/scsi-HUE12340E22-nst and /dev/tape/by-id/scsi-DEC1234567 Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-25 14:50, Stefan G. Weichinger wrote: Am 25.05.22 um 14:41 schrieb Nuno Dias: My conf  (the relevant parts) tpchan

amflush refusing to flush from holdingdisk

2022-05-14 Thread Exuvo
30002/localhost.storage.1' is not in a holding disk directory." which finally clued me in. -- Anton "exuvo" Olsson ex...@exuvo.se

Re: amcrypt: deprecated key derivation used

2022-05-06 Thread Exuvo
SSL:=`which openssl`}" ]; then     echo `_ '%s: openssl not found' "${ME}"` >&2     exit 1 elif [ ! -x "${OPENSSL}" ]; then     echo `_ "%s: can't execute %s (%s)" "${ME}" "openssl" "${OPENSSL}"` >&2     exit 1 fi And

Re: amcrypt: deprecated key derivation used

2022-05-06 Thread Exuvo
Sorry for a lot of replies. I looked at my config and i only use estimate calcsize and estimate server as estimate client was so slow when it was using that. I probably never tested my encryption script with estimate client which i think is the default. Anton "exuvo" Olsson ex..

Re: amcrypt: deprecated key derivation used

2022-05-06 Thread Exuvo
Actually it might be related to the estimates. Try and see if it works if you use another estimate mode like "estimate server" or "estimate calcsize". Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-06 12:21, Exuvo wrote: I have never used amsamba, i only use d

Re: amcrypt: deprecated key derivation used

2022-05-06 Thread Exuvo
nc -pbkdf2 -e -aes-256-ctr -salt -pass fd:3 3< "${PASSPHRASE}" 2> /tmp/encrypterrors Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-06 11:03, Stefan G. Weichinger wrote: Am 04.05.22 um 16:46 schrieb Exuvo: Ah yes my RANDFILE was probably already created long

Re: amanda fails

2022-05-06 Thread Exuvo
My wild guess looking at that file is that it is unable to read the inventory from the tapelist file? If you are using autolabeling and this is a new empty backup configuration maybe you need to add the first tape manually. Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-06 11:31

Re: amcrypt: deprecated key derivation used

2022-05-04 Thread Exuvo
not affect speed at all. The default digest is sha-256, sha-512 just has more bits. The only thing you would gain is more protection against brute force attacks i think. Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-04 13:02, Stefan G. Weichinger wrote: Am 04.05.22 um 12:46 schrie

Re: amcrypt: deprecated key derivation used

2022-05-04 Thread Exuvo
# cat /etc/amanda/zstd-compression3 #!/bin/bash if [[ "$1" == "-d" ]]; then     zstd -dqcf else     zstd -qc -3 -T0 fi Anton "exuvo" Olsson ex...@exuvo.se On 2022-05-04 08:28, Stefan G. Weichinger wrote: Am 17.12.21 um 04:35 schrieb Stefan G. Weichinger: That

Re: DLE RESULTS MISSING after failed backup due to drive not being turned on

2022-04-23 Thread Exuvo
eanup ROT09' and now amadmin find does not see the test DLE anymore and seems to also have resolved amdump. Do i really need to do it this way or should i have done something else to remove the old DLE? Anton "exuvo" Olsson ex...@exuvo.se On 2022-04-20 15:58, Exuvo wrote:

Re: DLE RESULTS MISSING after failed backup due to drive not being turned on

2022-04-20 Thread Exuvo
on. I think the actual issue is that it is not finding a usable tape even tho it loads the tape first as if it thinks it is an valid tape to use. Removing the test DLE with amadmin delete made it start working again. Anton "exuvo" Olsson ex...@exuvo.se On 2022-04-19 03:54, E

Re: DLE RESULTS MISSING after failed backup due to drive not being turned on

2022-04-18 Thread Exuvo
e filesystem. I also tried changing to another file path but still MISSING. It must be something in the database that got stuck, i will have to parse it myself and see if i can figure out what. Anton "exuvo" Olsson ex...@exuvo.se On 2022-04-18 02:34, John Lauro wrote: I normally us

Re: DLE RESULTS MISSING after failed backup due to drive not being turned on

2022-04-17 Thread Exuvo
run fine. Anton "exuvo" Olsson ex...@exuvo.se On 2022-04-17 01:54, badd...@ingodsfamily.com wrote: I have frequently done an "ls"  on my holding disk, and manually deleted files and directories older than 7 days ago, which clearly amanda is not planning to flush to tape

DLE RESULTS MISSING after failed backup due to drive not being turned on

2022-04-16 Thread Exuvo
starting dumpers which never get used here until quitting. -Mail report 03:14 with drive off- Hostname: minerva Org : exuvo Config  : backup Date    : april 16, 2022 *** A TAPE ERROR OCCURRED: ['/dev/tape/by-id/scsi-DEC8320699' not found]. Some dumps may have been left in the holding disk

Re: Problem with amtape "hanging" when forked from Java

2022-03-10 Thread Exuvo
  int avail = err.available();     err.skip(avail); // or a read if you want the data   }   Thread.sleep(1); } Anton "exuvo" Olsson ex...@exuvo.se On 2022-03-11 04:05, Exuvo wrote: An educated guess from me would be that the particular error message you are waiting for is not actuall

Re: Problem with amtape "hanging" when forked from Java

2022-03-10 Thread Exuvo
size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, or even deadlock. ". Anton "exuvo" Olsson ex...@exuvo.se On 2022-03-10 15:55, Robert Heller wrote: At Wed,

Re: Problem with amtape "hanging" when forked from Java

2022-03-09 Thread Exuvo
Could you give the exact command line you give when it hangs? Anton "exuvo" Olsson ex...@exuvo.se On 2022-03-09 00:27, Robert Heller wrote: For some unfathomably reason amtape "hangs" when forked from a Java program. I've written a Java program that goes through vau

Spurious "tar: Skipping to next header" at end of restore

2022-02-23 Thread Exuvo
. my /etc/amanda/encrypt. Wondering if anyone else has gotten this and know what property i should set to suppress this non-error. Using amgtar, tar 1.34 and amanda 3.5.1. -- Anton "exuvo" Olsson ex...@exuvo.se

Re: example config for aes-256-ctr and zstd

2022-02-22 Thread Exuvo
Sure go ahead. I did not know about that repository so i will take a look if there is anything i find useful there. Anton "exuvo" Olsson ex...@exuvo.se On 2022-02-22 14:41, Stefan G. Weichinger wrote: Am 21.02.22 um 18:55 schrieb Exuvo: In case anyone is interested i made a post

example config for aes-256-ctr and zstd

2022-02-21 Thread Exuvo
r -salt -pass fd:3 3< "${PASSPHRASE}" else     /usr/bin/openssl enc -pbkdf2 -e -aes-256-ctr -salt -pass fd:3 3< "${PASSPHRASE}" fi cat zstd-compression3, use with server_custom_compress "/whatever/zstd-compression3 : #!/bin/sh if [[ "$1" == "-d&quo