Move database.backend option import

This opt is only used in db.migration, so move the import from dbsync.

Change-Id: I7ee000f166d78afd08965cf3f035f1274b7de076