You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to use db-s3-backup from a Python script with an interface that looks like:
fromdb_s3_backupimportbackupb=backup(config_file)
b.backup() # to backup locally and pushb.backup_local() # to backup locally onlyb.backup_remote() # to backup in a tmp file, push and delete the file
a good API method would be to push any file descriptor whats so ever, so a user may be able to construct their own serialized backups, i.e., mongo collections.
@pezon absolutely, it would be nice to have at least 2 levels of controls:
an almost automatic one, that handles all file writing and stuff
a low lever one, where you can pass fds
Though, not sure if it's worth it. As you mentioned in Leverage bakthat library #7 there's bakthat, it may do the same job almost.
We should be able to use db-s3-backup from a Python script with an interface that looks like:
or
The text was updated successfully, but these errors were encountered: