Re: Is there a write-up on using amvault with an archive config?
Winston Sorfleet <[email protected]> Tue, 22 Mar 2022 00:34:16 -0400
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Message-ID | <[email protected]> |
I use amvault to tertiarary media (LTO-2, I am just a casual home user)
while my main archive is VTL on a slow NAS. I use cron, but obviously I
could just run as-needed from the command line.
You're right, it is a bit hard to intuit, and I had to get some help
from the community here as it is using overrides.
The command line I use is as follows:
/usr/sbin/amvault -q --latest-fulls --dest-storage "tape_storage" vtl
Where vtl is the config. The key part is the "tape_storage" which
refers to the appropriate vault-storage template in the amanda conf
file. E.g.
storage "vtl"
vault-storage "tape_storage"
define storage "tape_storage" {
erase-on-failure yes
policy "HP_Robot"
runtapes 1
set-no-reuse no
tapedev "LTO-2"
tapetype "LTO2"
tapepool "$r"
tpchanger "LTO-2"
labelstr "Vault-[1-7]"
autolabel "Vault-%" any
}
define changer LTO-2 {
tpchanger "chg-single:/dev/nst0"
device-property "LEOM" "TRUE"
}
define tapetype LTO2 {
comment "HP Ultrium 448, hardware compression off"
length 193024 mbytes
filemark 0 kbytes
speed 20355 kps
}
Obviously for you it will be simpler since you don't have to engage the
SCSI subsystem and define actual tapetype parameters or fiddle with
blocksizes. And you're not limited to a single "tape".
On 2022-03-21 15:46, Jon LaBadie wrote:
> *** Apologies if a near duplicate has been posted ***
> *** I initially submitted it with the wrong email ***
>
>
> Amazing, I've used amanda for about 25 years and never set up
> an archive config nor used amvault. No time like the present
> as I setup a new server with increased capacity.
>
> I don't want an archive config that does periodic massive
> dumps. Instead I'd prefer that on-demand I could copy a
> level 0 DLE to the archive in such a way that amrecover/
> amrestore could use the archive config. Both the source
> and the archive destination would be vtapes but on
> different drives in different housings.
>
> I "think" that amvault would be the appropriate tool.
> If not, correct my error please.
>
> Has anyone done a write-up on setting up and using such
> a scheme?
>
> Thanks,
> Jon
>