Sample Header Ad - 728x90

Exclude folders in rsnapshot containing docker except docker/volumes

0 votes
1 answer
543 views
I configured rsnapshot, to exclude all foders containing the string docker/ in its path in the file rsnapshot_exclude docker/* but now I want to **include** one particular folder: /var/lib/docker/volumes/ How do I define this in rsnapshot.conf? maybe define like this somehow? docker/(?!volumes))
Asked by rubo77 (30435 rep)
Aug 1, 2019, 12:34 PM
Last activity: Feb 3, 2020, 02:51 PM