mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-20 21:27:32 +00:00
Doc/4532 faq retain original paths (#4794)
More general FAQ for backup and retain original paths, fixes #4532
This commit is contained in:
parent
59ea5bc4d6
commit
87abe5d927
1 changed files with 17 additions and 0 deletions
17
docs/faq.rst
17
docs/faq.rst
|
@ -742,6 +742,23 @@ Now Borg will be bandwidth limited. Nice thing about pv is that you can change r
|
|||
.. _pipeviewer: http://www.ivarch.com/programs/pv.shtml
|
||||
|
||||
|
||||
How can I avoid unwanted base directories getting stored into archives?
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Possible use cases:
|
||||
|
||||
- Another file system is mounted and you want to backup it with original paths.
|
||||
- You have created a BTRFS snapshot in a ``/.snapshots`` directory for backup.
|
||||
|
||||
To achieve this, run ``borg create`` within the mountpoint/snapshot directory:
|
||||
|
||||
::
|
||||
|
||||
# Example: Some file system mounted in /mnt/rootfs.
|
||||
cd /mnt/rootfs
|
||||
borg create /path/to/repo::rootfs_backup .
|
||||
|
||||
|
||||
I am having troubles with some network/FUSE/special filesystem, why?
|
||||
--------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue