Skip to content

Backup scripts to removable drive using Powershell

License

Notifications You must be signed in to change notification settings

JVillafruela/backup-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup-scripts

Powershell scripts to backup local folders to a removable drive.

Translated from README.fr.md.

Before the first use the target directory must be created on the removable disk. The script searches for this directory on all volumes, so it must not exist on one of the fixed volumes.

The data to be backed up must not be locked (no use of VSS)

rbackup.ps1

Script using restic.

Initialize the backup repository with :

$env:RESTIC_PASSWORD='your_password'
restic init --repo 'V:\backup-photos'

clone.ps1

Script using rclone. Can easily be adapted for cloud backup. Does not suit me for local backup because directories are created with the date of the script execution.

rcopy.ps1

Script using the Robocopy tool available on Windows.

About

Backup scripts to removable drive using Powershell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published