Local files
type: local — back up files and directories on the host filesystem.
Fields
Notes
- When
excludesis empty, snapr symlinks the source path into the working directory (no copy). Withexcludes, snapr walks the tree and copies file-by-file. - Patterns are matched against each entry's path relative to
path. Supported forms:*.tmp— glob (Gofilepath.Matchsyntax) against the path or just the filename.temp/— trailing slash means "anything under this directory".**/cache/**— match a named directory at any depth.node_modules— bare literal also matches by directory or filename.
- No external tools required.