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

Try to find the LVM mountpoint automatically #24

Merged
merged 1 commit into from
Jun 6, 2017
Merged

Try to find the LVM mountpoint automatically #24

merged 1 commit into from
Jun 6, 2017

Conversation

oxc
Copy link
Contributor

@oxc oxc commented May 28, 2017

With this change, bup-cron tries to walk up the directory hierarchy
(of the "realpath") until a mount point can be found. If so, this
mount point is used for shapshotting, and the backup is taken from
the relative path appended to the snapshot mount point.

With this change, bup-cron tries to walk up the directory hierarchy
(of the "realpath") until a mount point can be found. If so, this
mount point is used for shapshotting, and the backup is taken from
the relative path appended to the snapshot mount point.
oxc referenced this pull request in pfrouleau/bup May 29, 2017
Use df instead of mount to find the device, and it also returns the path to
the file system's root. This allow to define a job with more than one dir
to backup per snapshot.

Signed-off-by: Patrick Rouleau <prouleau72@gmail.com>
@anarcat anarcat merged commit 0ff9b75 into anarcat:master Jun 6, 2017
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

Successfully merging this pull request may close these issues.

2 participants