Btrfs snapshot (incs) are now readonly
This commit is contained in:
parent
b7fedb5609
commit
cc4bee52bd
2
bkctld
2
bkctld
|
@ -431,7 +431,7 @@ sub_inc() {
|
||||||
if [ ! -d "${inc}" ]; then
|
if [ ! -d "${inc}" ]; then
|
||||||
start=$(date +"%H:%M:%S")
|
start=$(date +"%H:%M:%S")
|
||||||
if ( check_btrfs ); then
|
if ( check_btrfs ); then
|
||||||
/sbin/btrfs subvolume snapshot ${JAILDIR}/$jail $inc > /dev/null
|
/sbin/btrfs subvolume snapshot -r ${JAILDIR}/$jail $inc > /dev/null
|
||||||
else
|
else
|
||||||
cp -alx ${JAILDIR}/${jail}/ $inc
|
cp -alx ${JAILDIR}/${jail}/ $inc
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue