From: Alexander Barton Date: Mon, 24 Feb 2020 22:24:08 +0000 (+0100) Subject: bup-save-user: Use --one-file-system X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-unix.git;a=commitdiff_plain;h=85bc52de5641d04b9825eb8a214f0d62f53e715c;hp=c37d584ba8eabf7894d62e028d9a6bd25b9e3883 bup-save-user: Use --one-file-system This makes sense for user data, not the file system (or snapshot!) itself is interesting, only the path is. --- diff --git a/bup/save-user/bup-save-user b/bup/save-user/bup-save-user index aea3386..c0e0a0d 100755 --- a/bup/save-user/bup-save-user +++ b/bup/save-user/bup-save-user @@ -1,7 +1,7 @@ #!/bin/sh # # bup-save-user -- Save user data using bup(1) -# Copyright (c)2013-2016 Alexander Barton (alex@barton.de) +# Copyright (c)2013-2020 Alexander Barton (alex@barton.de) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ paths="$HOME" set -x -bup index --update --xdev --exclude-rx="/.cache/." $paths || exit 1 +bup index --one-file-system --no-check-device --exclude-rx="/.cache/." $paths || exit 1 bup save --name "$LOGNAME" $paths exit_code=$?