Ill have to do more testing but when attempting to set --objects it would complain if said path wasn't a volume. Not critical for my needs it turns out, but something of note:
- Code: Select all
sudo veeamconfig job create --help
Veeam Agent for Linux
(c) Veeam Software AG
Usage: veeamconfig job create [options] [command]
help, --help, -h - Short help
fileLevel - Create new file-level backup job
--name <value> - Job name
--repoName <value> - Repository name
--compressionLevel <0...4> - Compression level
--blockSize <256|512|1024|4096> - Block size (Kb)
--maxPoints <value> - Number of restore points to keep on disk
--prejob <value> - Pre-job command (executed on job start)
--postjob <value> - Post-job command (executed on job finish)
--objects <value> - Comma-separated list of objects to backup (device file in /dev, filesystem mountpoint, LVM volume group name or LVM logical volume name)
--backupAllSystem - Backup all system
Note the objects value is specific about needing volume names/mount points.
I've forked the module provided via my public github, and have been cleaning things up as well as adding features to make it more functional. You can find it/abuse it here: https://github.com/Justin-DynamicD/val-puppet
- fixed some variables that were preventing repos from getting setup properly on CentOS 6/7
- fixed the job configuration on vbrserver deployments so that it correctly processes 'entire' backup types and doesn't default to /dev/sda
- added job_ensure present|absent parameter so that jobs (and their corresponding cronjobs) can be deleted for eas(ier) reconfiguration (more plans here).
- changed cron file creation to include the jobname so that multiple jobs can be created/managed for those who pay for that extra control
There's a lot more I'd like to do (be able to inspect existing job settings and match against submitted parameters then determine if an update is necessary rather than forcing a delete/recreate I have in place now). Honestly the DSL of Puppet is much more limited than MS's PowerShell DSC so I don't know how far Ill get on this goal but we'll see. If it dies on the vine, at least you can maybe merge it back in.