create destinationn dir"
This commit is contained in:
parent
004976ea55
commit
09587f0ea4
@ -87,6 +87,11 @@ do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$SNAPSHOT_RW/$NAME" ]
|
||||||
|
then
|
||||||
|
mkdir -p "$SNAPSHOT_RW/$NAME"
|
||||||
|
fi
|
||||||
|
|
||||||
# rotating snapshots of /home (fixme: this should be more general)
|
# rotating snapshots of /home (fixme: this should be more general)
|
||||||
|
|
||||||
# step 1: delete the oldest snapshot, if it exists:
|
# step 1: delete the oldest snapshot, if it exists:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user