21 Commits

Author SHA1 Message Date
Kevin Woley
6244dbc910 remove testing string 2025-02-20 15:34:50 -08:00
Kevin Woley
033bdb3afd update to error strings in try/catch blocks 2025-02-20 15:32:55 -08:00
Kevin Woley
d7bc684e33 minor update to error strings 2025-02-20 15:30:26 -08:00
Kevin Woley
ce170f0685 bugfix: error checking was broken by release 1.7.1 (c8776b42c0) 2025-02-20 15:27:39 -08:00
Kevin Woley
7c0111308a updated install script task schedule setup to set LogonType, resolves #40 2025-02-07 23:28:57 -08:00
Kevin Woley
80fab4092c remove $Global: scoped variables in favor of $Script: scope, and explicitly scope each usage 2025-01-27 10:26:45 -08:00
Kevin Woley
c433c44b70 updated install script to use the global parameters, removed separate $SelfUpdateParameters 2025-01-27 10:15:13 -08:00
Kevin Woley
c930b9499e Merge branch 'main' into main 2025-01-26 00:00:29 -08:00
Kevin Woley
296621268e streamline the Send-MailKitMessage installation 2025-01-25 16:44:08 -08:00
innovara
c4a497e0d1 Replace deprecated Send-MailMessage with Send-MailKitMessage (#107)
The Send-MailMessage cmdlet is obsolete. It doesn't guarantee secure connections to SMTP servers.

Use Send-MailKitMessage module instead.

Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Co-authored-by: Kevin Woley <kmwoley@users.noreply.github.com>
2025-01-24 21:50:08 -08:00
Kevin Woley
7f520e3995 update install script to restic version 0.17.3 2024-11-09 11:12:09 -08:00
Joerg Reuter
0e8262ab05 Add optional configuration options for additional parameters to restic calls, $AdditionalParameters and $SelfUpdateParameters and make self update of restic binary configurable via $AllowResticSelfUpdate config option 2024-03-17 16:26:51 +01:00
Kevin Woley
be5e8ead2b Release 1.6 Merge (#73)
* $SnapshotDeepMaintenanceDays = $null disables deep data checks

* updated install binary links to v0.14

* add config point for additional backup parameters

* - backup and maintenance run independently
- fixed issues with several incorrect function return values

* check for new version of restic during maintenance

* removing duplicate excludes, resolves #60

* update restic .exe version
add self-update to the install script

* Release 1.6 Changelog updates
2023-01-14 22:44:11 -08:00
Ian Neubert
8cf4190c8f Fix URLs for 64bit setup 2021-09-11 11:11:27 -07:00
Kevin Woley
79976f5019 update version of restic to 12.1 2021-09-08 16:08:38 -07:00
Michael Koch
f0c357520e Update installer to install restic 0.12.0
This fixes the backup script's usage of features not available in the
previous version.
2021-02-27 12:26:40 +01:00
Tony Scelfo
471cf57b7e Add '-ExecutionPolicy Bypass' to the task scheduler arguments to avoid the issue described in https://github.com/kmwoley/restic-windows-backup/issues/27. 2021-01-08 14:17:34 -07:00
Kevin Woley
5ef9e3bb53 add 32-bit windows support to the install
Closes #7
2020-04-28 20:28:08 -07:00
Kevin Woley
823a10885c install script needs to import secrets 2020-02-08 20:30:41 -08:00
Kevin Woley
12a7142511 add retic.exe download to install script 2020-02-08 14:45:01 -08:00
Kevin Woley
073aa49f4f initial commit 2020-02-08 10:29:09 -08:00