. /usr/syno/bin/jsoncmd
bkpDataVersion=$(jget "${SYNOPKG_BKP_INPUT}" ".app_data_version")
if [ $? -ne 0 ];then
        jerr "bad data version"
        exit 1
fi

$(jversion_compare ${bkpDataVersion} 1.0)
if [ $? -eq 1 ];then
        jerr "version of backup data is newer than we can handle."
        exit 1
fi

