Skip to content

Backup your Disk with a simple and customizable batch script.

License

Notifications You must be signed in to change notification settings

orugari/shadow-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

shadow-backup

Backup your Disk with a simple and customizable batch script.

Prerequisities

Windows 10, Windows 8.1, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008

Usage

Very simple, put the file anywhere and configure variables, for example in C:\ and double click on it, or start it from a terminal.

Configuration

VSV: Disk of folder to backup.
  • "Set VSV=D:" To choose the D: drive
DIRSOURCE[n]: Folders to backup from VSV Disk.
  • Set "DIRSOURCE[0]=\important_data\"
  • Set "DIRSOURCE[1]=\cat_pictures\"
  • Set "DIRSOURCE[2]=\other_important_stuff\"
  • ...
EXT: Let you choose file extension to backup.
  • "Set ECT=*.jpg" To backup jpg files only.
  • "Set ECT=*.*" To backup any file type.

Shortc: Name of the shortcut to the Shadow copy.

  • Set "Shortc=shadowcopy" In this example, access to the Shadow Copy will be D:\Shadowcopy

DELBCK: Delete the shadow copy and the shortcut at the end of the script. TRUE or FALSE.

  • Set "DELBCK=TRUE" Will delete Shadow Copy and shortcut

NBRBACKUP: Numbers of backup to keep. It will create folders 1, 2, 3, 4,.. in the target directory where 1 is the newest backup.

  • Set "NBRBACKUP=3" Will keep 3 backups

MTNB: Numbers of robocopy's multithread.

  • Set "MTNB=8" Will copy 8 files at once. (Robocopy only shows total % for all files being copied.

Author

Orugari (homepage)

Support

Give a star if you liked it!

About

Backup your Disk with a simple and customizable batch script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published