# @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