Added all my Peronal Scripts
This commit is contained in:
4
snippets/resticbackupperwin.snippet
Normal file
4
snippets/resticbackupperwin.snippet
Normal file
@@ -0,0 +1,4 @@
|
||||
# @name: Restic Backupper (Win)
|
||||
# @description: This will make a new backup snapshot using Restic on Windows, and then keep the latest 7 ones
|
||||
|
||||
$env:RESTIC_PASSWORD='Ms@199903'; restic -r 'D:\Backups\restic' --verbose backup --use-fs-snapshot 'C:\Data\AppData'; restic -r 'D:\Backups\restic' forget --keep-last 7 --prune
|
||||
Reference in New Issue
Block a user