On 1/22/24 04:46, David Christensen wrote:
On 1/21/24 21:42, gene heskett wrote:
On 1/21/24 18:29, David Christensen wrote:
On 1/21/24 14:48, gene heskett wrote:
On 1/21/24 16:13, David Christensen wrote:
On 1/21/24 03:47, gene heskett wrote:
On 1/21/24 01:33, David Christensen wrote:
3. For Amanda, either add more HDD's to the storage server or
build another server. If another server, shut it down when you are
not using it.
...
Designed to run every night when things are relatively quiet, how
this works well depends on the other machines it is backing up be
available.
...
1. Wake on LAN.
2. Wake at preset day/time.
...
Unfortunately, amanda is truely ancient, for some reason the
originator who first wrote it in the later 70's IIRC sold it nearly 20
years ago to a commercial outfit called zmanda, who took it more or
less commercial, throwing the amanda named version under the buss.
They must have ran out of money and resold it to another outfit, who
has redoubled their effort to get rid of the free version. One of the
things it has not been fixed to do, is issue a wakeup call, and wait
for the clients to get their stuff in one sock, say 30 seconds to get
everything spun up and ready to take orders, so I'm pretty sure a
client that doesn't respond in milliseconds will be skipped. So
basically, amanda needs to be officially forked since the current
owner, Betsol has not made any contribution to amanda that amounts to
an actual update but once in 6 or 7 years now, There's several things
it now needs, such as the wake-on-lan support done right. Python is
part of it but python 2 is still needed. Or a whole new start for
something to replace and put it back squarely in the gplv2 or 3 camp.
If there is actually another capable of diddling the level schedule
like amanda does, I'm sure I could name some of the major users that
would jump ship in a week or so once they became aware of a workalike.
It appears Amanda has a script API for both the client and the server:
https://manpages.debian.org/buster/amanda-common/amanda-scripts.7.en.html
The zmanda wiki has a Script API page, but it is empty (?):
https://wiki.zmanda.com/index.php/Script_API.
For BIOS/UEFI wake-on-lan, it might be possible to write a script that
wakes the clients, to write a script that shuts down the clients, to
configure the Amanda server to run the wake script before backups, and
to configure the Amanda server to run the shutdown script after backups.
For BIOS/UEFI wake at preset day/time, it might be possible to set the
clients to wake before the scheduled backup time, to write a script that
shuts down the clients, and to configure the Amanda server to run the
shutdown script after backups.
David
All this is possible David, but needs someone to do it. So far our list
of volunteers is pretty slim. I once wrote a script that added amanda's
database to the end of the vtape amanda had just made, making a bare
metal recovery to the state it had just reported instead of a bare metal
being one run out of date, but I did that in bash. I've never did
anything to amanda itself except compile it, its old perl, old python
and probably older bash, all dumped into the same bowl and the mixer
turned on high. Amanda, right now, needs 15 years of catchup tlc. I
haven't even tried to build it since wheezy and I have far newer srcs
than the current 3.51 here. While I have the /home/amanda dir with all
that it , i'd have to create anew amanda user with passwd-less access to
the system to even attempt a build of what I have.
.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis