Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --exclude-other-filesystem support #370

Closed
mafgh opened this issue Dec 9, 2015 · 3 comments
Closed

Add --exclude-other-filesystem support #370

mafgh opened this issue Dec 9, 2015 · 3 comments

Comments

@mafgh
Copy link
Contributor

mafgh commented Dec 9, 2015

From duplicity:

--exclude-other-filesystems
Exclude files on file systems (identified by device number) other than the file system the root of the source directory is on.

Given

/dev/mapper/sys-root on /
proc on /proc
/dev/mapper/sys-home on /home

The following would backup / but not /home nor /proc

restic backup / --exclude-other-filesystem

@fd0 fd0 added the feature label Dec 9, 2015
@rfjakob
Copy link
Contributor

rfjakob commented Sep 18, 2016

This is pretty important when you want to back up the root filesystem and the one thing that keeps me from switching from Attic. I'll see if I can get this done.

@fd0
Copy link
Member

fd0 commented Sep 18, 2016

Oh, that'd be excellent! If you have any questions or need guidance navigating the code base, feel free to drop by in #restic on irc.freenode.net :)

@fd0
Copy link
Member

fd0 commented Sep 18, 2016

It was implemented and merged just now, the command-line option is --one-file-system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants