Skip to content

Instantly share code, notes, and snippets.

View cco's full-sized avatar

Chris Oswald cco

  • Kulshan Labs
  • Washington
View GitHub Profile
@cco
cco / restic_backup.ps1
Last active May 19, 2025 07:17
Powershell script for restic backups using latest winget package for restic. Use task scheduler to automate.
$env:RESTIC_REPOSITORY = ""
$env:RESTIC_PASSWORD = ""
$directories = @(
"C:\file\path\",
"\\server\path"
)
$excludePatterns = @(
"*.mkv", "*.mov",