def upload_data():
    """Upload the database files to the server."""
    zodb_ctl('stop')
    zodb.upload_data(plone_config())
    zodb_ctl('start')
示例#2
0
def upload_data():
    """Upload the database files to the server."""
    zodb.upload_data(mls_config())
    zodb_ctl('restart')