add sqlite dependency, use domain to restore data
use domain for backup