#!/bin/sh
# Copyright (C) 2000-2017 Synology Inc. All rights reserved.

#FIXME: Backup framework is not ready for this assignment
OVERWRITE=1

# restore db
export LC_ALL=en_US.utf8
exec /usr/bin/php -d open_basedir="" "$(dirname "$0")"/bkpcommon importdb "$SYNOPKG_BKP_INPUT" "$SYNOPKG_BKP_OUTPUT_PATH" $OVERWRITE
