Commit graph

7 commits

Author SHA1 Message Date
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