]> git.p6c8.net - dsmonrot.git/log
dsmonrot.git
19 months agoChanged names of rotation functions
Patrick Canterino [Fri, 24 Mar 2023 16:59:23 +0000 (17:59 +0100)]
Changed names of rotation functions

We use approved verbs now

Rotate-Backup -> Invoke-BackupRotation
Rotate-Log -> Invoke-LogRotation

19 months agoFixed a typo in a comment
Patrick Canterino [Fri, 24 Mar 2023 16:49:05 +0000 (17:49 +0100)]
Fixed a typo in a comment

19 months agoAllow to exclude files and directories from the backup
Patrick Canterino [Fri, 24 Mar 2023 16:43:04 +0000 (17:43 +0100)]
Allow to exclude files and directories from the backup

Options are directly passed to Drive Snapshot's `--exclude` parameter

Fixes GitHub issue #2

6 years agoFixed typos
Patrick Canterino [Sat, 10 Mar 2018 16:00:06 +0000 (17:00 +0100)]
Fixed typos

6 years agoMore precise PowerShell requirement (4.0 or higher)
Patrick Canterino [Fri, 9 Mar 2018 19:27:29 +0000 (20:27 +0100)]
More precise PowerShell requirement (4.0 or higher)

6 years agoAdded requirements to README
Patrick Canterino [Fri, 9 Mar 2018 19:23:34 +0000 (20:23 +0100)]
Added requirements to README

6 years agoAdded a basic installation guide (still needs work)
Patrick Canterino [Fri, 9 Mar 2018 13:38:06 +0000 (14:38 +0100)]
Added a basic installation guide (still needs work)

6 years agoOops...
Patrick Canterino [Fri, 9 Mar 2018 13:17:01 +0000 (14:17 +0100)]
Oops...

6 years agoUpdated README
Patrick Canterino [Fri, 9 Mar 2018 13:13:22 +0000 (14:13 +0100)]
Updated README

6 years ago- Allow multiple backups for a day (disabled by default)
Patrick Canterino [Fri, 9 Mar 2018 12:01:20 +0000 (13:01 +0100)]
- Allow multiple backups for a day (disabled by default)
- Rearranged some config variables
- Added some comments to the source code

6 years agoAllow to rotate log files
Patrick Canterino [Thu, 8 Mar 2018 20:24:36 +0000 (21:24 +0100)]
Allow to rotate log files

6 years agoAdded logging function (credits to Jason Wasser) and removed unnecessary output
Patrick Canterino [Thu, 8 Mar 2018 14:56:10 +0000 (15:56 +0100)]
Added logging function (credits to Jason Wasser) and removed unnecessary output

6 years agoSuppress output of New-PSDrive and New-Item
Patrick Canterino [Tue, 6 Mar 2018 13:35:34 +0000 (14:35 +0100)]
Suppress output of New-PSDrive and New-Item

6 years ago- Avoid trying to create the "Full" directory when creating month's
Patrick Canterino [Tue, 6 Mar 2018 13:19:47 +0000 (14:19 +0100)]
- Avoid trying to create the "Full" directory when creating month's
  directory failed
- Got rid of $doBackup variable, instead check if there are any error
  messages recorded

6 years ago- Now all error messages are sent by mail
Patrick Canterino [Tue, 6 Mar 2018 13:08:34 +0000 (14:08 +0100)]
- Now all error messages are sent by mail
- Include executed Drive Snapshot command (if available) in error mail

6 years ago- Check if directories are created successfully and send an error message by
Patrick Canterino [Sat, 3 Mar 2018 13:24:09 +0000 (14:24 +0100)]
- Check if directories are created successfully and send an error message by
  mail if not
- Provide some status information in the error mail

6 years agoAllow to rotate BEFORE a full backup
Patrick Canterino [Sat, 3 Mar 2018 12:51:12 +0000 (13:51 +0100)]
Allow to rotate BEFORE a full backup

6 years ago- Output start and end time of script
Patrick Canterino [Wed, 17 Jan 2018 19:03:20 +0000 (20:03 +0100)]
- Output start and end time of script
- Added computer name to default email subject
- Removed some useless output
- Check if network drive was disconnected successfully
- Send error messages are now sent via email

6 years agoFixed Markdown
Patrick Canterino [Wed, 17 Jan 2018 18:22:16 +0000 (19:22 +0100)]
Fixed Markdown

6 years agoAdded TODO list
Patrick Canterino [Wed, 17 Jan 2018 18:21:27 +0000 (19:21 +0100)]
Added TODO list

6 years agoAllow to put the Drive Snapshot log file into the same directory as the
Patrick Canterino [Wed, 17 Jan 2018 18:09:47 +0000 (19:09 +0100)]
Allow to put the Drive Snapshot log file into the same directory as the
backup

6 years ago- Removed the old `net use` lines as they are now saved in the Git
Patrick Canterino [Wed, 17 Jan 2018 17:49:33 +0000 (18:49 +0100)]
- Removed the old `net use` lines as they are now saved in the Git
history
- Fixed the path for the differential backups

6 years agoFirst version of the script
Patrick Canterino [Mon, 15 Jan 2018 19:23:26 +0000 (20:23 +0100)]
First version of the script

It's a rudimentary first version of the script. Core functionality is
available, but error checking is not complete and not all error messages are
published via email. There is also no log file for the script (only for Drive
Snapshot).

6 years agoInitial commit
Patrick Canterino [Mon, 15 Jan 2018 19:20:41 +0000 (20:20 +0100)]
Initial commit

patrick-canterino.de