mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-20 21:27:32 +00:00
commit
a5ff8669ff
1 changed files with 0 additions and 5 deletions
|
@ -16,11 +16,6 @@ Examples
|
||||||
~/src \
|
~/src \
|
||||||
--exclude '*.pyc'
|
--exclude '*.pyc'
|
||||||
|
|
||||||
# Backup home directories excluding image thumbnails (i.e. only
|
|
||||||
# /home/*/.thumbnails is excluded, not /home/*/*/.thumbnails)
|
|
||||||
$ borg create /path/to/repo::my-files /home \
|
|
||||||
--exclude 're:^/home/[^/]+/\.thumbnails/'
|
|
||||||
|
|
||||||
# Do the same using a shell-style pattern
|
# Do the same using a shell-style pattern
|
||||||
$ borg create /path/to/repo::my-files /home \
|
$ borg create /path/to/repo::my-files /home \
|
||||||
--exclude 'sh:/home/*/.thumbnails'
|
--exclude 'sh:/home/*/.thumbnails'
|
||||||
|
|
Loading…
Reference in a new issue