Commit graph

350 commits

Author SHA1 Message Date
L3D
4f1ed05096
Merge pull request #92 from Shipssv83/fix_path
fix path and configure
2023-02-25 20:51:41 +01:00
Sergey Shipilov
af1f6dcc35 fix path and configure 2023-02-25 20:29:44 +01:00
L3D
ef008b3a52
increase to restic 1.15.1 2023-02-20 17:22:50 +01:00
L3D
9cfe610337
Merge pull request #91 from varac/fix_crontab_cleanup
Properly respect restic_do_not_cleanup_cron
2022-11-30 10:44:32 +01:00
Varac
6bed15cfcd
Properly respect restic_do_not_cleanup_cron 2022-11-29 10:12:11 +01:00
L3D
dfef3cc26c
Merge pull request #90 from roles-ansible/lint
Removing broken molecule test
2022-11-06 21:10:03 +01:00
L3D
604db7c8b1
merge 2022-11-06 21:09:40 +01:00
L3D
ab58952190
Merge pull request #82 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.7
Bump github/super-linter from 4.9.4 to 4.9.7
2022-11-06 21:07:30 +01:00
L3D
e41e115291
Merge pull request #85 from roles-ansible/linting
update molecule linting
2022-11-06 21:07:08 +01:00
L3D
0935f2248b
Removing broken molecule test 2022-11-06 20:56:56 +01:00
L3D
8ae48c1caa
Merge pull request #89 from S0obi/bugfix/fix-preperation-typo
Fix preperation typo
2022-11-05 21:58:10 +01:00
Thibault Soubiran
ce8ab66454 Fix preperation typo 2022-11-05 21:51:25 +01:00
L3D
f22b671d34
Merge pull request #72 from roles-ansible/dependabot/github_actions/robertdebock/molecule-action-4.0.9
Bump robertdebock/molecule-action from 4.0.8 to 4.0.9
2022-10-06 15:19:12 +02:00
dependabot[bot]
e45cb80dcd
Bump robertdebock/molecule-action from 4.0.8 to 4.0.9
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/robertdebock/molecule-action/releases)
- [Commits](https://github.com/robertdebock/molecule-action/compare/4.0.8...4.0.9)

---
updated-dependencies:
- dependency-name: robertdebock/molecule-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 13:14:37 +00:00
dependabot[bot]
ee88d77207
Bump github/super-linter from 4.9.4 to 4.9.7
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.4 to 4.9.7.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.9.4...v4.9.7)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 13:13:37 +00:00
L3D
ec841d18a5
update molecule linting 2022-10-06 15:06:46 +02:00
L3D
9e7c7227d1
Merge pull request #84 from roles-ansible/linting
update linting
2022-10-06 14:56:23 +02:00
L3D
c705de0272
Merge pull request #83 from z-bsod/patch-1
README: fix repo name typo in backup example
2022-10-06 14:52:58 +02:00
L3D
e3732c72c3
update linting 2022-10-06 14:52:27 +02:00
Christoph
e1a2e05193
README: fix repo name typo in backup example
change the repo name from 'remove' to 'remote' to match the name used in the 'restic_repos' configuration example above.
2022-10-06 12:55:36 +02:00
L3D
62b7b7812d
Merge pull request #81 from roles-ansible/linttingtest
update testing
2022-09-13 19:43:55 +02:00
L3D
5ff0f0ce3e
update 2022-09-13 19:21:20 +02:00
L3D
6f5a8fcf26
Merge pull request #79 from varac/exclude_caches
Fix exclude-caches directive
2022-09-12 11:30:29 +02:00
Varac
fd854570cf
Fix exclude-caches directive
It's called --exclude-caches, not --exclude-cache
see https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
2022-09-12 09:16:24 +02:00
Martin Kennedy
4cf66ebec4 fix: More tweaks to get snapshot-finding to work
Grr! this is really frustrating. We need more "tracking" for the
snapshot we created.
2022-08-28 16:19:59 -04:00
Martin Kennedy
ae270aeebd [v2] feat: lvm: Add lvm-based backup functionality
This commit implements the needs of #75[^1]: it allows for the
creation of atomic backups when the backup target is a file/dir whose
fs rests on LVM. This ensures the snapshot will be atomic.

By using a mount namespace, the LVM snapshot can be done in the same
directory -- so existing LVM-based applications of ansible_role_restic
can be migrated to this implementation without any discontinuity in
what appears to be backed up.

This combination of LVM's snapshotting layer and mount namespaces
comes with some caveats:

- you cannot backup / due to namespace issues
- subdirs with a separate fs won't be correctly detected
- not all filesystems are happy about LVM snapshots -- btrfs, e.g.
- LVM snapshots come with a performance penalty when active
- fstrim and LVM snapshots don't like each other whatsoever

[^1]: https://github.com/roles-ansible/ansible_role_restic/issues/75

--
Changes in v2:
- Use `findmnt -v` to find snapshot when cleaning up
- Check for _snap before `lvremove -y`

Signed-off-by: Martin Kennedy <hurricos@gmail.com>
2022-08-28 16:12:46 -04:00
L3D
aa70e1d29c
Merge pull request #77 from Hurricos/pr-fixup-default-install-path
fix: defaults: Match restic_install_path value to docs
2022-08-28 11:18:47 +02:00
Martin Kennedy
4aecbbeffd fix: defaults: Match restic_install_path value to docs
The README (Role Variables) asserts that `restic_install_path`
defaults to `/usr/local/bin`, when in fact it defaults to
`/usr/bin`. Fix the defaults to match the documentation.

Signed-off-by: Martin Kennedy <hurricos@gmail.com>
2022-08-27 18:36:13 -04:00
L3D
efd21f0d0a
Merge pull request #73 from rndmh3ro/monitoring
add a monitoring call possibility
2022-07-12 22:07:49 +02:00
Sebastian Gumprich
9f710b8a0f add a monitoring call possibility 2022-07-12 21:25:34 +02:00
L3D
d89d649725
Merge pull request #70 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.4
Bump github/super-linter from 4.9.2 to 4.9.4
2022-06-06 02:22:48 +02:00
L3D
7d305d9d2b
Merge pull request #68 from roles-ansible/dependabot/github_actions/robertdebock/galaxy-action-1.2.1
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
2022-06-06 02:22:29 +02:00
L3D
e113e8951d
Merge pull request #67 from roles-ansible/dependabot/github_actions/robertdebock/molecule-action-4.0.8
Bump robertdebock/molecule-action from 4.0.7 to 4.0.8
2022-06-06 02:22:11 +02:00
dependabot[bot]
3db7ab3910
Bump github/super-linter from 4.9.2 to 4.9.4
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.2 to 4.9.4.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.9.2...v4.9.4)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 09:13:51 +00:00
dependabot[bot]
5ab018ab24
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
Bumps [robertdebock/galaxy-action](https://github.com/robertdebock/galaxy-action) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/robertdebock/galaxy-action/releases)
- [Commits](https://github.com/robertdebock/galaxy-action/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: robertdebock/galaxy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 09:09:55 +00:00
dependabot[bot]
6646c61a70
Bump robertdebock/molecule-action from 4.0.7 to 4.0.8
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/robertdebock/molecule-action/releases)
- [Commits](https://github.com/robertdebock/molecule-action/compare/4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: robertdebock/molecule-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 09:11:56 +00:00
L3D
5233dfe102
Merge pull request #66 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.2
Bump github/super-linter from 4.9.0 to 4.9.2
2022-04-04 11:47:33 +02:00
dependabot[bot]
cacabaffb0
Bump github/super-linter from 4.9.0 to 4.9.2
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.0 to 4.9.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.9.0...v4.9.2)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 09:12:15 +00:00
L3D
1e0d0b9c92
Merge pull request #65 from roles-ansible/docs
improve README
2022-04-01 11:12:35 +02:00
L3D
acef0d2dbc
change ansible to use FQCN and lowercase restic_systemd_timer_default_OnCalendar 2022-04-01 11:07:52 +02:00
L3D
1121ff2511
improve README
thanks to  @warwick-lill for the hint
CLOSE https://github.com/roles-ansible/ansible_role_restic/issues/64
2022-04-01 11:00:22 +02:00
L3D
30b45c6154
Merge pull request #63 from roles-ansible/dependabot/github_actions/robertdebock/galaxy-action-1.2.0
Bump robertdebock/galaxy-action from 1.1.1 to 1.2.0
2022-04-01 00:22:48 +02:00
dependabot[bot]
dea2ebf5e9
Bump robertdebock/galaxy-action from 1.1.1 to 1.2.0
Bumps [robertdebock/galaxy-action](https://github.com/robertdebock/galaxy-action) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/robertdebock/galaxy-action/releases)
- [Commits](https://github.com/robertdebock/galaxy-action/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: robertdebock/galaxy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 09:14:24 +00:00
L3D
c1d7ea9cd0
Merge pull request #61 from roles-ansible/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-27 19:41:55 +02:00
dependabot[bot]
9ef6501d03
Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:19:42 +00:00
L3D
dfde5d9674
Merge pull request #59 from roles-ansible/dependabot/github_actions/robertdebock/molecule-action-4.0.7
Bump robertdebock/molecule-action from 2.7.2 to 4.0.7
2022-02-16 17:16:54 +01:00
L3D
b623f966b2
Merge pull request #60 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.0
Bump github/super-linter from 4.8.5 to 4.9.0
2022-02-16 17:16:09 +01:00
dependabot[bot]
186c71b164
Bump github/super-linter from 4.8.5 to 4.9.0
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.8.5 to 4.9.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.8.5...v4.9.0)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 09:08:04 +00:00
dependabot[bot]
6c30165fd5
Bump robertdebock/molecule-action from 2.7.2 to 4.0.7
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action) from 2.7.2 to 4.0.7.
- [Release notes](https://github.com/robertdebock/molecule-action/releases)
- [Commits](https://github.com/robertdebock/molecule-action/compare/2.7.2...4.0.7)

---
updated-dependencies:
- dependency-name: robertdebock/molecule-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 10:07:05 +00:00
L3D
5d842e30a1
Merge pull request #53 from roles-ansible/txpo
delete cronjobs when they should be deleted
2022-01-18 18:05:35 +01:00