Skip to content

Commit

Permalink
exclude vim backups
Browse files Browse the repository at this point in the history
  • Loading branch information
bmanojlovic committed Jan 2, 2025
1 parent 57205b8 commit 9ef6bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ def _create_borg_backup(self, backup_time: str, snap_slug: str):
'--exclude', '__pycache__',
'--exclude', '*.tmp',
'--exclude', '*.log',
'--exclude', '.*.swp',
'--exclude', '.*.swo',
'--exclude', '.*.swn',
f"::{backup_time}",
f"{self.config.backup_dir}/{snap_slug}"
]
Expand Down

0 comments on commit 9ef6bb4

Please sign in to comment.