Frank Dornheim
cd7a054f98
Refactored
2023-03-10 18:24:27 +01:00
Frank Dornheim
c80257320f
renamed tasks/03_configure.yml to tasks/04_create_links_to_borg_and_borgmatic.yml
2023-03-10 18:24:02 +01:00
Frank Dornheim
d992c83e49
Refactored
2023-03-10 18:14:40 +01:00
Frank Dornheim
03c9f4ff11
Refactored
2023-03-10 18:12:09 +01:00
Frank Dornheim
926a98840c
Refactored: Check for ssh-key if not present, genereate them.
2023-03-10 18:10:54 +01:00
Frank Dornheim
4c2377e188
Switch created to perform the backup as root or service account. If a service account is to be used, it will be created.
2023-03-10 17:58:30 +01:00
Frank Dornheim
1a3131cefc
add new parameters for tests
2023-03-10 17:54:49 +01:00
Frank Dornheim
cdd541590f
Add comments for running backup with service account
2023-03-10 17:53:07 +01:00
Frank Dornheim
ea619be53f
reworked timer install logic
2023-03-08 15:20:04 +01:00
Frank Dornheim
7414f85e39
reworked timer install logic
2023-03-08 15:19:10 +01:00
Frank Dornheim
05baedc841
Add variable borg_cron_package to install the cron-packages in case of using timer: cron
2023-03-08 15:14:36 +01:00
Frank Dornheim
252850064d
Add description to borgmatic_timer_cron_name and borgmatic_timer
2023-03-08 15:11:47 +01:00
Frank Dornheim
dd0521b816
- renamed borgmatic_cron_name to borgmatic_timer_cron_name to be more convergent.
...
- Change recommendations implemented by m3nu so that creation of a timer (systemd or cron) is optional and can be selected via borgmatic_timer.
2023-03-08 15:06:47 +01:00
Frank Dornheim
de797a3b48
add:
...
- borgmatic_timer_systemd: true
readd:
- borgmatic_cron_name: "borgmatic"
2023-03-08 14:31:55 +01:00
Frank Dornheim
cda39e7314
add option: borgmatic_timer
2023-03-08 14:28:49 +01:00
Frank Dornheim
cb52a83ff1
fix letter turner
2023-03-05 21:54:14 +01:00
Frank Dornheim
a09650c8f2
fix ansible-lint errors and warnings
2023-03-05 21:41:06 +01:00
Frank Dornheim
40b81c759b
cleanup
2023-03-05 14:18:48 +01:00
Frank Dornheim
173e16b2c4
Add borgmatic_initialization_repo (bool) as option to disable init of repo
2023-03-05 14:18:18 +01:00
Frank Dornheim
fa719dfce1
- "borg_source_directories" is not longer a required Argument
...
- add "borg_keys_directory" to load key from Service user during starting borgmatic by sudo
2023-03-05 14:05:29 +01:00
Frank Dornheim
5ac571438e
cleanup: user backup_user
2023-03-05 14:03:06 +01:00
Frank Dornheim
b64bc44b57
restructure role add import logic
2023-03-05 14:02:09 +01:00
Frank Dornheim
8b67e74440
Role restructured:
...
- if needed creation of a service user incl. creation of the ssh-key,
- add the ssh key to authorized_keys,
- auto init of the repos,
- creation and start of systemd timer and services and
- installation of the Docker helperscript.
2023-03-05 13:52:02 +01:00
Frank Dornheim
c9ce5d4856
Created arguments_specs.yml
2023-03-05 13:48:15 +01:00
Frank Dornheim
2e24a438f5
docker.sh - Stops all or selected containers to save the persistent data intact. The containers are started in reverse order
2023-03-05 13:47:22 +01:00
Frank Dornheim
cba6907980
Removed cronie from package installation because systemd timer is used
2023-03-05 13:40:44 +01:00
Frank Dornheim
2771f882b5
remove ssh_key_file; change cron to timer
2023-03-05 13:37:15 +01:00
Frank Dornheim
b7f40883e8
Update Readme.me: reorder optional Arguments, update cron -> systemd timer
2023-03-04 11:04:44 +01:00
Frank Dornheim
6d86c53e8a
add full path
2023-02-25 20:17:21 +01:00
Stefan Morgenthaler
981d4f9072
Allow to installation via OS package manager or pip ( #106 )
...
* allow to installation via os package manager or pip
* Run a second time to install via package manager
* Check for EPEL if distro package requested.
* Split dep lists to avoid installing build deps when using distro pkg
Co-authored-by: Stefan Morgenthaler <dev@morgenthaler.at>
Co-authored-by: Manu <manu@snapdragon.cc>
2022-12-15 17:40:53 +01:00
Sébastien Clément
e34f9311d8
Allow setting borg/borgmatic version ( #107 )
2022-11-22 20:54:31 +01:00
Manu
e1ba1d1364
Adjust Borgmatic arguments for v1.7.0 ( #102 )
2022-09-03 11:07:50 +02:00
Manuel Riel
1def545c86
Remove borgbase module, now separate ( #100 )
2022-05-13 11:17:47 +04:00
Luc Stroobant
740e9fe758
Upgrade pip and setuptools during installation. By @stroobl ( #95 )
2022-03-06 10:01:25 +04:00
Manu
8429ec5bc1
Support Borg 1.2.0 ( #94 )
...
* Move common Python packages to main.yml, install dependent Python packages first.
2022-02-28 10:28:37 +04:00
Manu
29d0c5f480
Unify all Borgmatic hooks in one variable ( #93 )
2022-02-20 14:42:09 +04:00
Manu
bb5b6afd4c
Add RHEL9 support, fix empty exclude option ( #92 )
2022-02-20 13:56:14 +04:00
Manu
4e376b4442
Use Python3 setuptools on Debian ( #89 )
2022-01-07 15:04:09 +04:00
michalroxorpl
aa5830aca0
Introduce support for Archlinux. By @michalroxorpl ( #79 )
2021-09-23 14:07:49 +04:00
Manu
10ed2c3f44
Fix for Debian 11 ( #76 )
...
* Fix for Debian 11 install
* Pin CentOS version
* Bump Python version
2021-08-18 18:53:42 +04:00
Casey Link
81a3f1106e
Fedora: correctly install borg and borgmatic into the venv ( #75 )
2021-08-18 16:09:40 +04:00
Manu
97160c1d82
Update test badge
2021-08-05 12:03:16 +04:00
Lammert Hellinga
b52efea18e
Add if around exclude options to prevent yaml error. By @Kogelvis ( #72 )
2021-08-05 12:00:42 +04:00
Manu
cce04c3648
Use borgmatic_config_name for normal-sized cron job. Fixes #69 ( #70 )
2021-06-22 10:36:26 +04:00
Luc Stroobant
b99de011fc
Install borgmatic in virtualenv. By @stroobl. Fixes #60 ( #68 )
2021-06-21 21:58:51 +04:00
savoiringfaire
995c866c22
Don't specify full path in cron ( #67 )
2021-06-21 21:38:55 +04:00
Kevin
c94da43a80
Fix BorgBase repository creation ( #66 )
2021-05-09 09:27:34 +08:00
Manu
3bd0b3d497
Add Manjaro support (by @verbumfeit), CI fixes. ( #65 )
...
Co-authored-by: verbumfeit <verbumfeit@tuta.io>
2021-04-20 14:53:35 +08:00
tabic
7925d31198
Fix role badge. By @tabic ( #63 )
2021-03-25 22:42:26 +08:00
Manu
aa5f2d5d8d
Prettier default archive timestamps ( #61 )
2021-02-18 23:58:24 +08:00