Skip to content

Releases: TomDSilva/Robocopy-Backup

v1.7

Choose a tag to compare

@TomDSilva TomDSilva released this 10 Sep 22:38
d46ea8a
  • Fixed an issue with backslashes at the end of paths being read as an escape character.

v1.6

Choose a tag to compare

@TomDSilva TomDSilva released this 29 May 20:46
c2007f4
  • Added improved comments.
  • Added default log location to the path that the script is running from. Unless that location is the templocation for the temp script then it logs to the user's desktop.
  • Added a variable to control if the script should try and elevate to run as admin.
  • Added the script now detects if it is running as admin and adjusts backup options to use /ZB if so.
  • Added basic sanity checks for source and destination. Will now popup with an error if not sufficient.
  • Added runtime banner.
  • Fixed bug when checking if using a temp script.

v1.5

Choose a tag to compare

@TomDSilva TomDSilva released this 15 Mar 20:48
074f6be

Initial upload of existing script.

Previous update history:
v1.5 - 19/07/2022:

  • The script now changes the power setting so the machine doesnt go to sleep (and changes back after).
  • Removes desktop.ini file in the root folder that is being backed up (to avoid Windows displaying user folders as just 'Desktop' or 'Documents' instead of Desktop-2022-07-19_01-19 etc).

v1.4 - 15/07/2022:

  • Added logic to Set-Credential so that this can run on PS5 minimum instead of PS7.
  • Reordered logic to make it more efficient.

v1.3 - 05/03/2022:

  • Use of expression building technique via $RobocopyCommand variable to overhaul and simplify logic.

v1.2 - 11/02/2022:

  • Overhaul of Robocopy commands.

v1.1 - 05/01/2022:

  • Amended script so it can backup multiple source directories.
  • Added logic to be able to handle multiple new backup destinations with the same name.

v1.0 - 10/10/2021:

  • First release.