mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 04:15:05 +00:00
Improved debug message.
This commit is contained in:
parent
6e108f6677
commit
f90feebaae
@ -190,8 +190,7 @@ send_latest()
|
|||||||
for dataset in $SEND_DATASETS; do
|
for dataset in $SEND_DATASETS; do
|
||||||
dataset="`echo $dataset|cut -d':' -f1`"
|
dataset="`echo $dataset|cut -d':' -f1`"
|
||||||
remote_dataset="`echo $dataset|cut -d':' -f2`"
|
remote_dataset="`echo $dataset|cut -d':' -f2`"
|
||||||
debug "dataset: $dataset"
|
debug "Processing $dataset (remote $remote_dataset)."
|
||||||
debug "remote dataset: $remote_dataset"
|
|
||||||
origin_snapshot=`get_latest_snapshot $dataset`
|
origin_snapshot=`get_latest_snapshot $dataset`
|
||||||
if [ $BG_TEST_MODE = "TRUE" ]; then
|
if [ $BG_TEST_MODE = "TRUE" ]; then
|
||||||
echo zfs send $ZFS_SEND_OPTS $dataset@$origin_snapshot \| \
|
echo zfs send $ZFS_SEND_OPTS $dataset@$origin_snapshot \| \
|
||||||
|
Loading…
Reference in New Issue
Block a user