mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 04:55:05 +00:00
Fixed order for remote dataset grab.
This commit is contained in:
parent
a1c0d6f0ae
commit
5c425e4832
@ -188,8 +188,8 @@ send_latest()
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
for dataset in $SEND_DATASETS; do
|
for dataset in $SEND_DATASETS; do
|
||||||
dataset="`echo $dataset|cut -d: -f1`"
|
remote_dataset=`echo $dataset|cut -d: -f2`
|
||||||
remote_dataset="`echo $dataset|cut -d: -f2`"
|
dataset=`echo $dataset|cut -d: -f1`
|
||||||
debug "Processing $dataset (remote $remote_dataset)."
|
debug "Processing $dataset (remote $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
|
||||||
@ -219,8 +219,8 @@ send_increment()
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
for dataset in $SEND_DATASETS; do
|
for dataset in $SEND_DATASETS; do
|
||||||
dataset="`echo $dataset|cut -d: -f1`"
|
remote_dataset=`echo $dataset|cut -d: -f2`
|
||||||
remote_dataset="`echo $dataset|cut -d: -f2`"
|
dataset=`echo $dataset|cut -d: -f1`
|
||||||
origin_snapshot=`get_latest_snapshot`
|
origin_snapshot=`get_latest_snapshot`
|
||||||
remote_snapshot=`get_latest_remote_snapshot`
|
remote_snapshot=`get_latest_remote_snapshot`
|
||||||
if [ $BG_TEST_MODE = "TRUE" ]; then
|
if [ $BG_TEST_MODE = "TRUE" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user