Draft:
-> current state of things, first amdump running:
CIFS-share mounted at /mnt/vranger
disklist with stuff like:
backup /mnt/vranger/wints01_4233ab62-a53c-0894-05e8-6eac5cb47ac5 {
vranger-incr
include list "/etc/amanda/vsphere/includes/wints01.includes"
} 1
# dumptype vranger-incr
define dumptype vranger-incr {
global
comment "Only latest fulls of vranger"
compress none
strategy nofull
}
The include-files are generated by this VERY-quick-and-dirty-bash-script:
----------------------------
#!/bin/bash
PATHNAME="/mnt/vranger"
for i in $PATHNAME/*; do
# don't cd into files ...
if [ -d $i ]
then
cd $i;
# cut everything after the VMs name
STRING1=${i%%_*};
# cut everything path-related to get VM-name only
STRING2=${STRING1##*/};
# find full backups within last 3 days
find . -type f -mtime -3 -name "*.var" | grep "_F_" >>
/etc/amanda\/vsphere/includes/$STRING2.includes
fi
done
----------------------------
Yeah, I know, the include-files should be deleted at first ... there are
quite some more things to polish. It's a try ...
Stefan