Doc/4532 faq retain original paths (#4794)

More general FAQ for backup and retain original paths, fixes #4532
This commit is contained in:
Thalian 2019-10-20 16:51:06 +02:00 committed by TW
parent 59ea5bc4d6
commit 87abe5d927
1 changed files with 17 additions and 0 deletions

View File

@ -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?
--------------------------------------------------------------------