mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 20:36:38 -05:00
Document interaction between filesystem snapshots and external backup tools
This commit is contained in:
parent
e42876e620
commit
68b94bfdf5
42 changed files with 1214 additions and 0 deletions
|
|
@ -1962,6 +1962,33 @@ successfully. Parity may still contain blocks computed from the
|
|||
snapshot used by the interrupted sync. A later sync may replace
|
||||
that snapshot, making intermediate file versions unavailable for
|
||||
recovery.
|
||||
.SS External backups with filesystem snapshots
|
||||
When filesystem snapshots are enabled, SnapRAID accesses or creates
|
||||
snapshots at the root of each data subvolume, volume, or dataset.
|
||||
.PP
|
||||
A simple way to avoid any interference with external tools is to point
|
||||
your \`data\` configuration to a regular subdirectory within the subvolume
|
||||
or volume (for example, \`/mnt/subvol/data\` instead of \`/mnt/subvol\`).
|
||||
SnapRAID always creates the snapshot directory at the subvolume root
|
||||
(for example, \`/mnt/subvol/.snapraid/\`), leaving the data subdirectory
|
||||
clean so that snapshots remain outside and invisible to backup tools
|
||||
operating inside it.
|
||||
.PP
|
||||
Otherwise, if your configured \`data\` directory is itself the subvolume
|
||||
or volume root, SnapRAID creates the \`.snapraid/\` directory directly
|
||||
inside it (on Btrfs, Bcachefs, and NTFS). While SnapRAID automatically
|
||||
excludes this directory from its own scanning, external backup tools
|
||||
or file synchronizers will encounter it. If not excluded, they may
|
||||
traverse into the snapshots or directory links and copy the entire
|
||||
frozen data tree, duplicating data and potentially exhausting backup
|
||||
storage. Always configure external backup tools to exclude the
|
||||
\`.snapraid/\` directory.
|
||||
.PP
|
||||
On ZFS, snapshots are exposed through the standard \`.zfs/snapshot/\`
|
||||
virtual directory rather than \`.snapraid/\`. By default (\`snapdir=hidden\`),
|
||||
ZFS hides this directory from directory listings, so external backup
|
||||
tools will not traverse it. If you have enabled \`snapdir=visible\`,
|
||||
ensure your backup tools exclude the \`.zfs/\` directory.
|
||||
.SH PATTERN
|
||||
Patterns are used to select a subset of files to exclude or include in
|
||||
the process. Globbing characters can be used to match files and paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue