Skip to content

Powershell Script for creating Shadow Copies for use with SnapRAID

Notifications You must be signed in to change notification settings

nikop/snapraid-shadowcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapRaid-ShadowCopy

Powershell-script for updating shadow copies and using shadow copy to do sync instead of current state

Two main reasons for using this are:

  • Files in use can be synchronised
  • Removed files still exists in shadow copy, providing higher chance of success in case of disk failure

Usage

  • All disk must have shadow copy (system restore) enabled
  • Rename "settings.sample.ini" as "settings.ini" and edit it with correct values (TODO: explain)
  • Use sync.ps1 for sync instead of calling snapraid.exe directly (must run as administrator)

Inner workings

  1. Create new shadow copy for each drive
  2. Copy configuration and replace direct paths of disk with path to shadow copy
  3. Call SnapRaid using new configuration
  4. Send email with output after sync is done

About

Powershell Script for creating Shadow Copies for use with SnapRAID

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published