-
Notifications
You must be signed in to change notification settings - Fork 7
Open

Description
Life of the Python programmer can be simplified with the pair
monetdbe.backup(backupdir)
monetdbe.restore(backupdir)
Under the hood, it is just a call to the SQL snapshot, but hard to program by a user because you have to invalidate all existing connections and restart the server. Possibly re-connecting as well to avoid that the program to trigger exceptions.
The calling parameters could later be extended with:
filestore="AWS S3 bucket credentials"
timestamped=True # to extend the file with a timestamp automatically
For :memory: and localdir this should not be a big problem.
A backup/restore of a remote server would be forbidden because you probably don't have access to the file store.