mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-24 21:25:07 +00:00
Fixed function name.
This commit is contained in:
parent
2e9d0ca7c1
commit
cc9357d43a
@ -66,7 +66,7 @@ send_single_snapshot()
|
|||||||
echo $BR_NEW_SNAPSHOT > "old-snapshot.txt"
|
echo $BR_NEW_SNAPSHOT > "old-snapshot.txt"
|
||||||
}
|
}
|
||||||
|
|
||||||
send_incremental_snapshop()
|
send_incremental_snapshot()
|
||||||
{
|
{
|
||||||
BR_NEW_SNAPSHOT=`get_latest_snapshot`
|
BR_NEW_SNAPSHOT=`get_latest_snapshot`
|
||||||
while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do
|
while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do
|
||||||
@ -81,7 +81,7 @@ send_incremental_snapshop()
|
|||||||
create_snapshot
|
create_snapshot
|
||||||
|
|
||||||
if [ -f "old-snapshot.txt" ]; then
|
if [ -f "old-snapshot.txt" ]; then
|
||||||
send_incremental_snapshop
|
send_incremental_snapshot
|
||||||
else
|
else
|
||||||
send_single_snapshot
|
send_single_snapshot
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user