Commit graph

19 commits

Author SHA1 Message Date
Lance Edgar 43d8df3c5d Add MAILTO for backup crontab 2023-02-23 13:05:54 -06:00
Lance Edgar cde124b916 Add logrotate support for backup apps 2023-02-17 11:01:29 -06:00
Lance Edgar cfba5425a1 Slight tweaks when making backup venv 2023-01-02 15:01:39 -06:00
Lance Edgar a3339ac062 Avoid workon command when deploying backup app 2022-11-28 16:49:56 -06:00
Lance Edgar 1fedc314b3 Add pyfuse3 support for backup (borg) app 2022-11-27 18:47:43 -06:00
Lance Edgar 5df704679f Improve error message when deploying backup w/ no config 2022-02-16 15:26:46 -06:00
Lance Edgar 5b985fb803 Fix syntax error, clone URL for deploy.backup_app() 2021-11-10 20:56:55 -06:00
Lance Edgar 506b88d3e2 Avoid use of workon when deploying backup app
should not assume presence of virtualenvwrapper for this
2021-05-04 15:49:46 -05:00
Lance Edgar 9048403130 Tweak how python packages are installed for backup app
per some issues i encountered with pip 20.3.3 and its "new resolver" although
not totally clear what fixed it... :/
2021-01-13 13:13:35 -06:00
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