echo"Migrated TSDB to Snuba. Old configuration file backed up to $SENTRY_CONFIG_PY.bak"
return
fi
echo"Failed to automatically migrate TSDB. Reverting..."
mv"$SENTRY_CONFIG_PY.bak""$SENTRY_CONFIG_PY"
echo"$SENTRY_CONFIG_PY restored from backup."
fi
echo"WARN: Your Sentry configuration uses a legacy data store for time-series data. Remove the options SENTRY_TSDB and SENTRY_TSDB_OPTIONS from $SENTRY_CONFIG_PY and add:"
echo""
echo"$tsdb_settings"
echo""
echo"For more information please refer to https://github.com/getsentry/self-hosted/pull/430"