Esempio n. 1
0
def save_all_dbs() -> int:
    """
    Persist all existing database spaces on the data file defined at the config file I{settings.py}

    :since: 0.7
    :return:  count of persisted db spaces
    """

    return backend.savealldbs(db_path)
Esempio n. 2
0
def save_all_dbs_as(path: str) -> int:
    """
    Persist all existing database spaces.

    :since: 0.7
    :param path: Target filesystem full path of the file where data is stored at.
    :return:  total db spaces written
    """

    return backend.savealldbs(path)