|
@@ -89,6 +89,8 @@ borg create
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| | ``--files-cache MODE`` | operate files cache in MODE. default: ctime,size,inode |
|
|
| | ``--files-cache MODE`` | operate files cache in MODE. default: ctime,size,inode |
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
+ | | ``--files-changed MODE`` | specify how to detect if a file has changed during backup (ctime, mtime, disabled). default: ctime |
|
|
|
|
+ +-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| | ``--read-special`` | open and read block and char device files as well as FIFOs as if they were regular files. Also follows symlinks pointing to these kinds of files. |
|
|
| | ``--read-special`` | open and read block and char device files as well as FIFOs as if they were regular files. Also follows symlinks pointing to these kinds of files. |
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
+-------------------------------------------------------+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| **Archive options** |
|
|
| **Archive options** |
|
|
@@ -158,6 +160,7 @@ borg create
|
|
--noxattrs do not read and store xattrs into archive
|
|
--noxattrs do not read and store xattrs into archive
|
|
--sparse detect sparse holes in input (supported only by fixed chunker)
|
|
--sparse detect sparse holes in input (supported only by fixed chunker)
|
|
--files-cache MODE operate files cache in MODE. default: ctime,size,inode
|
|
--files-cache MODE operate files cache in MODE. default: ctime,size,inode
|
|
|
|
+ --files-changed MODE specify how to detect if a file has changed during backup (ctime, mtime, disabled). default: ctime
|
|
--read-special open and read block and char device files as well as FIFOs as if they were regular files. Also follows symlinks pointing to these kinds of files.
|
|
--read-special open and read block and char device files as well as FIFOs as if they were regular files. Also follows symlinks pointing to these kinds of files.
|
|
|
|
|
|
|
|
|
|
@@ -232,6 +235,13 @@ ctime vs. mtime: safety vs. speed
|
|
it had before a content change happened. This can be used maliciously as well as
|
|
it had before a content change happened. This can be used maliciously as well as
|
|
well-meant, but in both cases mtime based cache modes can be problematic.
|
|
well-meant, but in both cases mtime based cache modes can be problematic.
|
|
|
|
|
|
|
|
+The ``--files-changed`` option controls how Borg detects if a file has changed during backup:
|
|
|
|
+ - ctime (default): Use ctime to detect changes. This is the safest option.
|
|
|
|
+ - mtime: Use mtime to detect changes.
|
|
|
|
+ - disabled: Disable the "file has changed while we backed it up" detection completely.
|
|
|
|
+ This is not recommended unless you know what you're doing, as it could lead to
|
|
|
|
+ inconsistent backups if files change during the backup process.
|
|
|
|
+
|
|
The mount points of filesystems or filesystem snapshots should be the same for every
|
|
The mount points of filesystems or filesystem snapshots should be the same for every
|
|
creation of a new archive to ensure fast operation. This is because the file cache that
|
|
creation of a new archive to ensure fast operation. This is because the file cache that
|
|
is used to determine changed files quickly uses absolute filenames.
|
|
is used to determine changed files quickly uses absolute filenames.
|