On Friday 16 November 2018 15:38:27 Debra S Baddorf wrote:
> > On Nov 16, 2018, at 2:09 PM, Gene Heskett <[email protected]>
> > wrote:
> >
> > On Friday 16 November 2018 14:38:58 Chris Nighswonger wrote:
> >> On Fri, Nov 16, 2018 at 2:30 PM Gene Heskett <[email protected]>
> >
> > wrote:
> >>> from amanda as usr, find /usr/local -name 'planner'
> >>> returns that its in /usr/local/libexec/amanda/planner
> >>> Now I'll find out (maybe) what it thinks of my changes. Ignore
> >>> that faint knocking sound. :) But I assumed you meant backup_job
> >>> was your config dir, in my case /usr/local/etc/amanda/Daily so it
> >>> failed.
> >>
> >> backup_job is the name of the backup rather than the directory. So
> >> in my case it looks like this:
> >>
> >> /usr/lib/amanda/planner campus
> >
> > ooohhkkaaay. Can I use wild cards like "Daily PublicA*" ?
> >
> > No, the logfile error already posted prevents it from running so it
> > never gets to PublicA in any form.
> >
> >> Be sure to run it as your backup user.
> >
> > amanda in this case.
> >
> >> Sorry for any confusion there.
> >>
> >> Kind regards,
> >> Chris
> >
> > Thanks Chris
>
> I’m not familiar with the syntax, but I would suspect it wants
> planner <configname> node <DLE-Nickname>
>
> which in my case, is the “homeu” word in the following:
> node homeu /home {
> include “./u*”
> }
>
> You have to give it a nickname, because ALL the DLEs for this
> disk (“/home”) are based on that same disk location /home
> So you nickname the A parts, or the AF (a-f) parts, etc.
>
> If it WASN’T a tar subset (using includes or excludes) then you
> would skip the nickname and just put the disk area /home
> But for subsets, you need a name for each one.
>
> Deb Baddorf
The dle's in question:
coyote PublicAar /home/gene/PublicA/ {
comp-coyote-tar
include "./[a-r]*" "./[-]*" "./_*"
} 1 local
coyote PublicAsz /home/gene/PublicA/ {
comp-coyote-tar
include "./[s-z]*"
} 1 local
coyote PublicAAZ /home/gene/PublicA {
comp-coyote-tar
include "./[A-Z]*"
} 1 local
/usr/local/libexec/amanda/planner Daily coyote PublicA*
gets me:
planner: pid 4411 executable /usr/local/libexec/amanda/planner version
3.5.1
planner: build: VERSION="Amanda-3.5.1"
planner: BUILT_DATE="Fri Nov 9 20:28:49 EST 2018" BUILT_MACH=""
planner: BUILT_REV="7557" BUILT_BRANCH="tags" CC="gcc"
planner: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
planner: libexecdir="/usr/local/libexec"
planner: amlibexecdir="/usr/local/libexec/amanda"
planner: mandir="/usr/local/share/man" AMANDA_TMPDIR="/tmp/amanda"
planner: AMANDA_DBGDIR="/tmp/amanda-dbg/"
planner: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
planner: DUMP=UNDEF RESTORE=UNDEF VDUMP=UNDEF VRESTORE=UNDEF
planner: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
VXRESTORE=UNDEF
planner: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
planner: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
planner: LPR="/usr/bin/lpr" MAILER="/usr/bin/Mail"
planner: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
planner: defs: DEFAULT_SERVER="coyote" DEFAULT_CONFIG="DailySet1"
planner: DEFAULT_TAPE_SERVER="coyote" DEFAULT_TAPE_DEVICE=""
planner: NEED_STRSTR AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF
planner: AMFLOCK_LNLOCK SETPGRP_VOID AMANDA_DEBUG_DAYS=4
BSD_SECURITY
planner: USE_AMANDAHOSTS CLIENT_LOGIN="amanda" CHECK_USERID
HAVE_GZIP
planner: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
planner: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
planner:
CONFIGURE_ARGS=" '--with-user=amanda' '--with-group=disk' '--with-owner=amanda'
'--with-gnu-ld' '--prefix=/usr/local/' '--with-debugging=/tmp/amanda-dbg/'
'--with-tape-server=coyote' '--with-bsdtcp-security' '--with-amandahosts'
'--with-configdir=/usr/local/etc/amanda' '--enable-manpage-build'
'--with-readline' '--with-gnutar=/bin/tar'
'--with-security-file=/etc/amanda-security.conf'
'--with-amandates-file=/etc/amandates'"
planner: could not open log file (null): Bad address
So the above last line seems to be the showstopper
Copyright 2018 by Maurice E. Heskett
--
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)
Genes Web page <http://geneslinuxbox.net:6309/gene>