Commit Graph

60 Commits

Author SHA1 Message Date
Kevin Woley
99cce23b42 minor spelling, typo fixes 1.5 2021-09-11 05:48:09 -07:00
Kevin Woley
a0180a6a4d added external, removable drive features 2021-09-11 05:44:06 -07:00
Kevin Woley
4c796b92b8 minor typos corrected 2021-09-11 05:43:58 -07:00
Kevin Woley
bd40ae1d5f Merge pull request #47 from kmwoley/release_1_5
Release 1.5
2021-09-11 05:26:53 -07:00
Kevin Woley
48d0ab73b2 update changelog for 1.5 release 2021-09-11 05:25:19 -07:00
Kevin Woley
fac2462981 Add the ability to $IgnoreMissingBackupSources
- when $true, missing external drives or folders don't produce errors
- when $null or $false, missing drives and/or folders result in an error
- Default is set ot $false as not to silently fail backing up a source
2021-09-10 21:51:01 -07:00
Kevin Woley
d448db94c0 add support for external, removable drive backup
- select backup source by drive label, device name, or serial number
- fix forget policy to be safe for multiple drives (group by host,tags)
- tag each backup source with drive/source name
2021-09-08 16:35:59 -07:00
Kevin Woley
79976f5019 update version of restic to 12.1 2021-09-08 16:08:38 -07:00
Kevin Woley
e826c326b6 Merge pull request #42 from kmwoley/release_1_4_1
Release 1.4.1
1.4.1
2021-05-09 21:02:56 -07:00
Kevin Woley
58558a6a67 Update CHANGELOG.md
1.4.1 release notes.
2021-05-09 21:01:28 -07:00
Kevin Woley
0919914dac internet connection test fix for PowerShell 7.1
resolves #37
2021-05-09 20:35:06 -07:00
Kevin Woley
ca90934e51 improve URL parsing, allow disabling of internet check
fixes #38
2021-05-09 20:19:29 -07:00
Kevin Woley
e5cc051edf remove uneeded -replace parameter 2021-05-07 20:06:55 -07:00
tree3887
817e67c354 Update backup.ps1 (#36)
Adds double quotes around each path and removes a trailing backslash from them as well. I have found through experimentation that restic does not like a backslash followed by a double quote. The backslash appears to be an escape character.
Surrounding the path with double quotes allows paths with spaces to be used.
2021-05-07 19:47:59 -07:00
Kevin Woley
d7cc581e6f Merge pull request #35 from tensberg/restic-0.12
Update installer to install restic 0.12.0
2021-02-27 16:02:52 -08: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
Kevin Woley
f7c1ba32d2 update changelog for 1.4 1.4 2021-02-24 21:55:04 -08:00
Kevin Woley
117aa66430 Merge pull request #33 from kmwoley/release_1_4
Release 1.4
2021-02-24 21:45:09 -08:00
Kevin Woley
01a38f893a add the ability to set a pruning policy
defaulted to --max-unused 1% in configuration.
2021-02-24 21:02:41 -08:00
Kevin Woley
a840f5ae04 default retention polciy to group-by host
Fixes the issues from previous backup's having changing directory names, which cause snapshot retention inflation.
2021-02-24 19:59:40 -08:00
Kevin Woley
387390759d removed snapshot code, added --use-fs-snapshot
Related changes -

removed folder enumeration and instead point to the root filesystem:
snapshot handling will be better now that changing folders won't group sets

default exlusion list updates:
C:\$Recycle.Bin
C:\$WINDOWS.~BT
C:\$WinREAgent
2021-02-24 19:47:35 -08:00
Kevin Woley
15d0fc8354 Merge pull request #31 from kmwoley/release_1_4
Release 1.4
1.3
2021-02-22 21:02:49 -08:00
Kevin Woley
cdba59be95 Update changelog 2021-02-22 21:01:20 -08:00
Kevin Woley
1eaef5f0c8 add error logging to sending emails
improve general error messaging
resolves #25
2021-02-22 20:34:53 -08:00
Kevin Woley
6bfba97a4c reverting the fix for URL parsing 2021-02-22 05:36:53 -08:00
Kevin Woley
ed92f4e213 Merge pull request #24 from Phlogi/patch-1
Fix URI parsing
2021-02-22 05:08:27 -08:00
Kevin Woley
48b5c61215 Merge pull request #28 from scelfo/master
Add '-ExecutionPolicy Bypass' to the task scheduler arguments to avoi…
2021-02-22 05:05:17 -08:00
Kevin Woley
49305c7632 Merge branch 'release_1_4' of https://github.com/kmwoley/restic-windows-backup into release_1_4 2021-02-22 05:02:18 -08:00
Kevin Woley
6227786ae2 remove conflicting verbose/quiet
resolves #29
2021-02-22 05:02:05 -08:00
Kevin Woley
eaaccc4c9e remove conflicting verbose/quiet
resolves #29
2021-02-22 04:28:20 -08: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
Phlogi
626ac2a0c5 Fix URI parsing
Tested only for sftp. Without the leading ..// the System.Uri will fail on the next line, as the string is empty.
2020-10-26 07:56:58 +01:00
Kevin Woley
eba7f4d10a Merge pull request #17 from kmwoley/release_1_3
Release 1 3
1.2.1
2020-06-08 09:43:22 -07:00
Kevin Woley
9dba4fd40b adding changelog
closes #15
2020-06-08 09:41:26 -07:00
Kevin Woley
229d21d753 add "generic" repo specific url internet tests 2020-06-08 08:39:07 -07:00
Kevin Woley
69e8a23b36 remove azure, gs, and b2 from connectivity check 2020-06-08 07:48:57 -07:00
Kevin Woley
63a8bb9218 retry error messaging improvements 2020-04-30 09:49:49 -07:00
Kevin Woley
7cff028471 send email on first success after a failure
(if SendEmailOnError is enabled)
2020-04-29 14:39:54 -07:00
Kevin Woley
102bc0ccc9 Add Zoom, VS Code, Signal, and Spotify to default exclude list 2020-04-28 20:58:36 -07:00
Kevin Woley
88bc571998 Add date to Release 1.2 2020-04-28 20:44:39 -07:00
Kevin Woley
7d7978f0cc Merge pull request #13 from kmwoley/option-refinement
1.2 Release
2020-04-28 20:42:49 -07:00
Kevin Woley
6edfe75696 Changelog update. 2020-04-28 20:41:08 -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
b73008a5f1 internet connectivity check handles all repo types
Closes #10
2020-04-28 20:08:41 -07:00
Kevin Woley
be35fd5e7b Merge pull request #6 from kmwoley/option-refinement
add changelog
1.1
2020-02-15 09:40:55 -08:00
Kevin Woley
716e98563b typo fix 2020-02-15 09:39:53 -08:00
Kevin Woley
f8e9653aa9 add changelog 2020-02-15 09:38:41 -08:00
Kevin Woley
ab15f5387b Merge pull request #4 from kmwoley/option-refinement
add options to enable/disable email sending  and maintenance
2020-02-14 08:40:30 -08:00
Kevin Woley
0334de5546 bug fix: previous shadow copy could be backed up
If the previous run of the script were aborted, the shadow copy would be left aroudn and then backed up.
2020-02-13 23:04:46 -08:00
Kevin Woley
7f576135fc config points for disabling maintenance, email 2020-02-13 22:58:13 -08:00