mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
Merge pull request #1675 from oliver/doc-fixes
Minor doc fixes/improvements
This commit is contained in:
commit
84a22eac92
@ -93,7 +93,7 @@ Basic example:
|
|||||||
*.go
|
*.go
|
||||||
# exclude foo/x/y/z/bar foo/x/bar foo/bar
|
# exclude foo/x/y/z/bar foo/x/bar foo/bar
|
||||||
foo/**/bar
|
foo/**/bar
|
||||||
$ restic -r /tmp/backup backup ~/work --exclude=*.c --exclude-file=exclude
|
$ restic -r /tmp/backup backup ~/work --exclude="*.c" --exclude-file=exclude
|
||||||
|
|
||||||
Please see ``restic help backup`` for more specific information about each exclude option.
|
Please see ``restic help backup`` for more specific information about each exclude option.
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ backup from a file. This is especially useful if a lot of files have to
|
|||||||
be backed up that are not in the same folder or are maybe pre-filtered
|
be backed up that are not in the same folder or are maybe pre-filtered
|
||||||
by other software.
|
by other software.
|
||||||
|
|
||||||
or example maybe you want to backup files that have a certain filename
|
For example maybe you want to backup files that have a certain filename
|
||||||
in them:
|
in them:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
@ -146,6 +146,8 @@ args:
|
|||||||
|
|
||||||
$ restic -r /tmp/backup backup --files-from /tmp/files_to_backup /tmp/some_additional_file
|
$ restic -r /tmp/backup backup --files-from /tmp/files_to_backup /tmp/some_additional_file
|
||||||
|
|
||||||
|
Paths in the listing file can be absolute or relative.
|
||||||
|
|
||||||
Comparing Snapshots
|
Comparing Snapshots
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user