mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 02:35:06 +00:00
Update backup.sh
This commit is contained in:
parent
81ff5ebf04
commit
78b00e2f17
@ -162,7 +162,7 @@ get_latest_remote_snapshot()
|
|||||||
*) zroot="$zroot/" ;;
|
*) zroot="$zroot/" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
list_cmd="zfs list -t snapshot $rset"
|
list_cmd="zfs list -t snapshot $zroot$rset"
|
||||||
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
|
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
|
||||||
run_remote
|
run_remote
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user