Commit graph

10 commits

Author SHA1 Message Date
Lance Edgar d744257af6 Allow specifying python binary for common backup app environment
also be sure to upgrade setuptools, wheel for it.  this is needed esp. when
deploying to older machines e.g. debian 8
2020-09-29 17:59:31 -05:00
Lance Edgar 0b5f6234ad Add upgrade, restart-overnight-backups scripts for generic backup app 2019-09-30 15:37:21 -05:00
Lance Edgar 067c02e965 Add logic for installing luigi service as part of backup app 2019-09-27 15:51:10 -05:00
Lance Edgar fef0ccbac5 Always make backup config owned by 'root' user
instead of the `user` specified by caller, since we'll always expect to run the
actual backup commands as root
2019-09-22 20:15:15 -05:00
Lance Edgar c933f36ed6 Install symlink for /usr/local/bin/borg -> /srv/envs/backup/bin/borg
by default, but can skip if so invoked.  makes for nicer usage though, for sure
2019-09-16 14:52:36 -05:00
Lance Edgar 6d9006db9d Pass along user when making virtualenv for backup app
i.e. stop assuming 'root' user for that
2019-09-13 19:56:30 -05:00
Lance Edgar 5a9035ffd3 Make deploy.backup_app() more generic
so e.g. can install borg but skip rattail
2019-09-13 13:24:18 -05:00
Lance Edgar 63b86593f1 Deploy generic rattail-backup script for backup apps 2019-09-11 18:36:43 -05:00
Lance Edgar 9adc5a5b79 Tweak how backups are configured, to be a tad more generic 2019-09-11 17:33:40 -05:00
Lance Edgar bd4768839a Port logic for deploying a "backup" app 2019-01-06 14:14:47 -06:00