The file "subvol_snapshot" can be edited to your liking. This paragraph:
name the snapshot and sets the path. If your snapshot path is "/snapshots/" then change
to
This line:
[/CODE]
sets the filename of the snapshot. You can edit that too if desired.
Code:
#set the default snapshot name and ask for a new one pathname="${$1%/*}/" #default target is subvolume name plus date/time filename=$(basename "$1")_`date +%y%m%d-%H%M%S`"$nameadd"
Code:
pathname="${$1%/*}/"
Code:
pathname="/snapshots/"
Code:
filename=$(basename "$1")_`date +%y%m%d-%H%M%S`"$nameadd"
sets the filename of the snapshot. You can edit that too if desired.
Comment