Commit graph

349 commits

Author SHA1 Message Date
L3D
64ce64c665
Merge pull request #113 from roles-ansible/DO1JLR-patch-1
update restic to 0.16.3
2024-01-26 16:00:31 +01:00
L3D
1145fd254e
Update main.yml
Signed-off-by: L3D <l3d@c3woc.de>
2024-01-26 15:59:30 +01:00
L3D
c180b074fd
change restic to 0.16.3
Signed-off-by: L3D <l3d@c3woc.de>
2024-01-26 15:59:06 +01:00
L3D
662e96fa28
Merge pull request #112 from felixandersen/pre_backup_cmd
added pre_backup_cmd to backup items (wip)
2024-01-26 15:46:19 +01:00
L3D
4b5477dd70
Merge branch 'main' into pre_backup_cmd
Signed-off-by: L3D <l3d@c3woc.de>
2024-01-26 15:45:44 +01:00
L3D
9a1cafd4e4
Merge pull request #111 from felixandersen/call_with_nice
call restic backup script with nice (wip)
2024-01-26 15:44:25 +01:00
Felix Andersen
d844d911b7 README update 2024-01-04 18:47:04 +00:00
Felix Andersen
09af54284a template change and README clarification 2024-01-04 17:52:05 +00:00
Felix Andersen
dd5ad45ad4 added pre_backup_cmd to backup items 2024-01-03 18:33:10 +00:00
Felix Andersen
4d21e0f4c1 call restic backup script with nice 2024-01-03 18:32:15 +00:00
L3D
3d161abd3e
Merge pull request #110 from FL337/patch-1
docs: fix command for role installation
2023-11-30 17:49:22 +01:00
Flo
dc3991d19b
docs: fix command for role installation
Signed-off-by: Flo <3964000+FL337@users.noreply.github.com>
2023-11-30 17:41:56 +01:00
L3D
1a9993cda3
Merge pull request #109 from roles-ansible/DO1JLR-patch-1
Update main.yml
2023-10-25 14:00:30 +02:00
L3D
5524ea7f8a
Update main.yml
https://github.com/restic/restic/releases/tag/v0.16.1

Signed-off-by: L3D <l3d@c3woc.de>
2023-10-25 13:59:41 +02:00
L3D
9e46a1ac2e
Merge pull request #108 from johanvdw/allow_multiple_paths
Allow multiple paths in src
2023-10-14 18:35:42 +02:00
Johan Van de Wauw
304dc65ae9 Make sure stdin keeps working 2023-10-12 08:54:36 +02:00
Johan Van de Wauw
97240d044f Allow multiple paths as backup source 2023-10-11 18:10:51 +02:00
L3D
9a78717465
Merge pull request #107 from johanvdw/fix_stderr_redirection
Fix stderr redirection
2023-09-06 10:15:59 +02:00
Johan Van de Wauw
6471843b05 Fix stderr redirection 2023-09-06 09:21:30 +02:00
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