]> arthur.barton.de Git - ax-unix.git/commitdiff
bup-save-user: Use --one-file-system github/master
authorAlexander Barton <alex@barton.de>
Mon, 24 Feb 2020 22:24:08 +0000 (23:24 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 24 Feb 2020 22:24:11 +0000 (23:24 +0100)
This makes sense for user data, not the file system (or snapshot!)
itself is interesting, only the path is.

bup/save-user/bup-save-user

index aea3386268aa4249bc85c23b40bdbbc291580c01..c0e0a0db18e34f936063ba40e259eaed4b851295 100755 (executable)
@@ -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=$?