Kevin Woley
e9241c0744
Update CHANGELOG.md with 1.8 release notes
1.8
2025-02-20 21:59:09 -08:00
Kevin Woley
649d8dc119
Merge pull request #116 from kmwoley/release_1.8
...
Release 1.8
2025-02-20 21:42:14 -08:00
Kevin Woley
7ba3db056a
comment cleanup in update.ps1
2025-02-20 21:41:03 -08:00
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
efd7c78f59
default the installation location to the current working directory if not running as a script
2025-02-19 21:21:25 -08:00
Kevin Woley
463d1c9d42
update README with update.ps1 instructions
2025-02-19 21:14:33 -08:00
Kevin Woley
1af63b87e2
add additional usage instructions to update.ps1
2025-02-16 17:38:18 -08:00
Kevin Woley
71b7bd1407
adding 'update.ps1' which can be used to update the installed scripts from a branch or the latest release
2025-02-16 00:40:20 -08:00
Kevin Woley
916c11d20f
create a sample configuration file and remove the config.ps1 from the repo
2025-02-08 21:18:36 -08:00
Kevin Woley
51a35ef109
small typo fix in config example
2025-02-08 01:10:23 -08:00
Kevin Woley
a0de49b804
revert unintended config changes
2025-02-08 00:58:54 -08:00
Kevin Woley
f68ff68ae2
add examples to for CustomAction configuration
2025-02-08 00:57:07 -08:00
Kevin Woley
eaf97cd2d7
add custom actions configuration to enable invoking scripts other commands on script start and end. Defined by $CustomAction* config variables.
2025-02-08 00:29:06 -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
ec212218c8
explicitly test the backup source media for VSS support instead of assuming it is or is not supported
2025-02-07 22:55:32 -08:00
Kevin Woley
bc2969514c
Update CHANGELOG.md with 1.7.1 release notes
2025-02-03 21:07:09 -08:00
Kevin Woley
6f3c31b6cb
Merge pull request #114 from kmwoley/release_1.7.1
...
Release 1.7.1
1.7.1
2025-02-03 20:52:09 -08:00
Kevin Woley
edef828984
Merge pull request #112 from innovara/fix_typos_release_1.7.1
...
Fix some typos on comments
2025-02-03 10:18:19 -08:00
Manuel Fombuena
19d8e65d92
fix some typos
...
Signed-off-by: Manuel Fombuena <fombuena@outlook.com >
2025-02-03 11:00:54 +00:00
Kevin Woley
d180f3f30c
Metered connection check is now works for PowerShell 7, improved internet connection check logging
2025-02-01 22:48:06 -08:00
Kevin Woley
b642afa509
fix logic for checking metered network configuration settings
2025-01-27 15:28:23 -08:00
Kevin Woley
add848471f
make $BackupOnMeteredNetwork default to true in config
2025-01-27 15:16:27 -08:00
Kevin Woley
8fed01a1f6
Merge pull request #108 from innovara/metered-check
...
Add feature to control backups on metered connections
2025-01-27 15:12:00 -08:00
Kevin Woley
21e68f4b42
Merge branch 'release_1.7.1' into metered-check
2025-01-27 15:09:09 -08:00
Kevin Woley
c75bc74724
added more verose and explicit logging to the console via Write-Host
2025-01-27 11:14:41 -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
c8776b42c0
replaced "&" execution with Invoke-Expression, enabled refactoring to set $GlobalParameters in one place
...
Removed $ResticExe, $StateFile, and $LogPath from config.ps1
2025-01-26 12:53:12 -08:00
Kevin Woley
33163ecb60
reorganize the layout/order of the config.ps1 file
2025-01-26 10:41:09 -08:00
Kevin Woley
7673c83e3f
Merge pull request #96 from woelfisch/main
...
Add optional configuration options for additional parameters to resti…
2025-01-26 00:03:30 -08:00
Kevin Woley
c930b9499e
Merge branch 'main' into main
2025-01-26 00:00:29 -08:00
Kevin Woley
3f3a87a04f
Change log for 1.7
1.7
2025-01-25 17:44:13 -08:00
Kevin Woley
6ef3526716
Merge pull request #110 from kmwoley/2024.11
...
Merge 2024.11 into Main
2025-01-25 17:13:31 -08:00
Kevin Woley
8a8165fe01
cast email addresses to their Mimekit types
2025-01-25 17:04:19 -08:00
Kevin Woley
296621268e
streamline the Send-MailKitMessage installation
2025-01-25 16:44:08 -08:00
Kevin Woley
4ee0eff191
rename email $PS* variable name settings to $Restic*, and warn if using deprecated email settings,
2025-01-24 23:34:43 -08:00
Kevin Woley
6e5bf4823b
fix merged credential handling, handle back compat for existing secrets for SMTP port
2025-01-24 23:10:35 -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
b81aa242bc
improve default configuration values
2024-11-14 12:15:14 -08:00
Manuel Fombuena
09b9066049
Add feature to control backups on metered connections
...
restic-windows-backup runs backups irrespective of the host being on a metered connection or unrestricted. That can lead to situations in which the backup takes place when the user is on a metered connection and would rather not do it at that time, either because they would incur costs or use up their data allowance.
The default value of $BackupOnMeteredNetwork is set to $false following a conservative approach.
Closes https://github.com/kmwoley/restic-windows-backup/issues/82
Signed-off-by: Manuel Fombuena <fombuena@outlook.com >
2024-11-11 22:10:00 +00:00
Kevin Woley
efcdc9d291
clean up variable naming, style conventions for previous PR
2024-11-10 23:41:08 -08:00
SeeJayEmm
aad279210a
Allow for unauthenticated SMTP. ( #81 )
...
* Allow for unauthenticated SMTP, fixes #66
2024-11-10 23:26:31 -08:00
Kevin Woley
5a660ea5d6
powershell 7.3+ fixes
2024-11-10 23:14:46 -08:00
Daniel Harding
7609b8147a
Limit snapshot pruning to the current host ( #94 )
...
* Limit snapshot pruning to the current host
Address #70 by only pruning snapshots from the current host by default when performing maintenance. This avoids inadvertently pruning snapshots from other hosts when that might not be desired.
* add back 'host' to group-by
I think it's safer to keep `--group-by 'host,tags'` even if the `--host` parameter is provided. This makes sure that the `forget` always groups together snapshots from the same host. It may be unneeded.
---------
Co-authored-by: Kevin Woley <kmwoley@users.noreply.github.com >
2024-11-10 15:41:26 -08:00
Export33
b33d2d176b
Added Example ( #84 )
...
Co-authored-by: Export <donotforgetme@web.de >
2024-11-10 15:16:18 -08:00
Export33
6ec929a75c
fix typ ( #83 )
...
Co-authored-by: Export <donotforgetme@web.de >
2024-11-10 15:13:29 -08:00
Jonas Hagenberg
e06230c68b
fix typo in readme ( #74 )
2024-11-10 14:52:32 -08:00