Commit graph

330 commits

Author SHA1 Message Date
L3D
0861eb151a
Merge pull request #106 from roles-ansible/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-05 12:06:53 +02:00
L3D
f82099fb75
Merge pull request #104 from usmanatron/bug/azure-sas
bugfix: Need to wrap Azure SAS tokens in quotes
2023-09-05 12:06:26 +02:00
L3D
e8253b9086
Merge pull request #102 from UvixCreative/backup_now
Backup now
2023-09-05 12:05:37 +02:00
dependabot[bot]
84fb2bddc8
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:31:13 +00:00
Ben
1bed8d3ae6 Added changed_when and converted to builtin.command 2023-09-04 22:25:13 -04:00
Usman Iqbal
9cf2f6ad50 bugfix: Need to wrap Azure SAS tokens in quotes 2023-09-04 19:10:38 +01:00
L3D
a1d287488f
Merge pull request #103 from UvixCreative/change_cleanup_default
Change restic_do_not_cleanup_cron default to true
2023-09-01 13:45:49 +02:00
Ben
dec516c514 Had restic_backup_now default assignment in the wrong file I think 2023-08-31 09:11:12 -04:00
Ben
6b9d8fea92 Change restic_do_not_cleanup_cron default to true 2023-08-31 09:09:45 -04:00
Ben
9ee20b675a Remove tmp emacs file that was accidentally added 2023-08-31 09:03:05 -04:00
Ben
35d890bb1e Run backup with loop of restic_backups 2023-08-31 09:00:19 -04:00
Ben
31a0197256 Set restic_backup_now variable to false by default 2023-08-31 08:57:54 -04:00
Ben
4740ebb5d3 Added option to run backup script immediately 2023-08-31 08:53:46 -04:00
L3D
ce731567bf
Merge pull request #101 from usmanatron/azureblob
Add support for Azure Blob Storage
2023-08-23 23:04:30 +02:00
Usman Iqbal
b2c597722f Add some more specific examples for remotes that are supported 2023-08-23 20:57:10 +01:00
Usman Iqbal
a291a09cce Add Azure Blob Storage support, based on restic documentation 2023-08-23 20:55:32 +01:00
L3D
0a5c1bbb94
Merge pull request #99 from johanvdw/log_stderr
Log stderr also to logfiles
2023-08-22 13:02:28 +02:00
Johan Van de Wauw
e5ae44bd66 Log stderr also to logfiles 2023-08-16 14:05:34 +02:00
L3D
236a5c6b54
Merge pull request #98 from roles-ansible/a
Cleanup github actions
2023-08-10 11:47:10 +02:00
L3D
b3c305cdfb
Cleanup actions 2023-08-10 11:46:05 +02:00
L3D
7ec0667ac6
Merge pull request #78 from Hurricos/lvm
[WIP] feat: lvm: Add lvm-based backup functionality
2023-08-10 11:42:06 +02:00
L3D
11932058c9
Merge pull request #95 from jojo141185/main
Add option to limit maximum number of CPUs used.
2023-07-04 00:55:09 +02:00
jochen
f283f55288 Add option to limit maximum number of CPUs used. 2023-06-30 23:42:27 +02:00
L3D
1d7ba78515
Merge pull request #94 from borland502/borland502-old-schedule-assert-patch
Fix play summary taint in legacy cron entry assertion for ansible past 2.12
2023-03-22 12:15:08 +01:00
Jeremy Hettenhouser
ba17cc6657
Update delete_legacy_cron_entry.yml
Fixed (SCHEDULE) (OLD) check tainting the play recap as well as the assumption that cron_delete.failed will be defined.

Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 20:18:23 -04:00
Jeremy Hettenhouser
c62e2a4027
Update delete_legacy_cron_entry.yml
ignore_errors:true on the old version test.  While the failure will not halt execution, it will color the summary output red for every host which executes the restic role even if most of them are set to use systemd

Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 19:39:40 -04:00
L3D
e825ef2e29
Merge pull request #93 from johanvdw/patch-1
Fix minor typo
2023-03-08 10:46:55 +01:00
Johan Van de Wauw
918693eb76
Fix minor typo 2023-03-08 08:52:54 +01:00
Martin Kennedy
6459eaa161 fix: lvm: Handle cleanup after unreadable files
Before this commit, since restic backup exits with status 3 if it
cannot read one or more files, the LVM snapshot wasn't being cleaned
up.

Now, specially handle the 3 exit status; also, unequivocally perform
the LVM cleanup when finished.
2023-03-07 16:26:36 -05:00
Martin Kennedy
de3d35d4ec fix: lvm: Allow / to be backed up as LVM
This commit causes an LVM backup target of / to be treated as /rootfs
instead.

Note that this will conflict with a path called /rootfs if we *do* try
to back that up.

Also, while we're at it, drop the -m option from mount. Not all
systems have this option.
2023-03-07 16:24:30 -05:00
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