I browsed the archives and found the huge thread "approaches to Amanda
vaulting" from 2017 ...

I am quite sure that there is many useful information in these postings
but I'd prefer to start over.

In my experience that vaulting stuff is either non-intuitive and/or
under-documented ;-)

If I would understand it better I could even imagine writing some small
howto. But I am far from.

-

At a customer I run an amanda config using 6 external USB-disks in rotation.

I set up an aggregate changer consisting of 6 vtape-changers like:

define changer disk6 {
        tpchanger "chg-disk:/mnt/externaldisk6"
                property "num_slot" "20"
                property "auto-create-slot" "yes"
                property "removable" "yes"
                property "MOUNT" "yes"
                property "UMOUNT" "yes"
                property "UMOUNT-LOCKFILE" 
"/etc/amanda/vtape/externaldisk6.lock"
                property "UMOUNT-DELAY" "1"
}

define changer aggregate {
        tpchanger "chg-aggregate:{disk1,disk2,disk3,disk4,disk5,disk6}"
                property "state_filename" "/etc/amanda/vtape/aggregate.stats"
                property "allow-missing-changer" "yes"
}

tpchanger           "aggregate"


---

then a storage:

DEFINE STORAGE vtape {
      TPCHANGER           "aggregate"
      LABELSTR            "vtape-[0-9]*-[0-9]*"
      TAPEPOOL            "vtape"
      RUNTAPES            1
      TAPERSCAN           "lexi"
      TAPETYPE            "vtape"
      TAPERALGO           FIRST
      AUTOFLUSH           yes
      FLUSH-THRESHOLD-DUMPED 100
      FLUSH-THRESHOLD-SCHEDULED 100
      TAPERFLUSH          50
}


The goal was:

* it shouldn't matter which usb-disk is attached

* amanda should rotate over 20 vtapes per external disk (if the disks
aren't swapped / people forget to change them ...)

So far that works.

Now I want to add this:

additional to having the responsible person change the usb-disk and
taking them out of office there, I want to somehow get a copy/clone of a
full set of lev0 to my place here (preferably without having to drive ...)

->

idea 1) collect fulls into one specific vtape (for example via "amadmin
force" on the last friday of the month or so)  .... then rsync/rclone
that one vtape-dir to my server here (bandwidth and time aside ...)

idea 2) setup some 2nd storage and vault the fulls onto that, then sync that

As you may remember I was never able to set that up successfully :-P

-

I am quite sure that I overcomplicate things, and I'd like to hear your
ideas and suggestions ...

thanks, Stefan


Reply via email to