Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 937 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 937 Bytes

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.