Open source Google Workspace backup solution.
Project description
gwbackupy: Google Workspace™ backup and restore solution.
What is it?
Google Workspace™ backup and restore solution. Gwbackupy is open source and written in python.
Currently supported only the gmail messages.
Why?
Due to gmvault limitations:
- authentication method is not usable in Google Workspace wide
- is still abandoned (?)
- only supports gmail messages
Currently implemented functionality
- Google Workspace
-
authentication with p12/json service account file.
It can be applied to the entire workspace.
-
- Gmail
- full backup Download all messages
- full backup continuously Scanning the full mailbox, but download only the new messages.
- full restore to an empty mailbox to same or other mailbox
- restore deleted message
- partially restore with pre-filtered files at the file system level
Additional functionality under development.
Functionality planned in the near future
- Google Workspace
- list all workspace accounts email addresses
- Gmail
-
Support for standard gmail account authentication
-
Retention of deleted mails
Purpose: to be easy to use even without additional snapshot storage.
-
Filtered restore
-
Live restore without duplicate mails.
Currently not check email exists or not, and restoring forcely.
-
Install
pip install gwbackupy
Instructions
Usage
Gmail
Backup
gwbackupy \
--service-account-key-filepath <service-acount-json-key-file> \
--batch-size 5 \
gmail backup \
--email <mailbox email address>
Restore
gwbackupy \
--service-account-key-filepath <service-acount-json-key-file> \
--batch-size 5 \
gmail restore \
--add-label "backup-restore-1231" \
--add-label "more-restore-label" \
--email <source backup mailbox email address> \
--to-email <destination mailbox email address> # If you want to a different destination account
Contributing
...
Changelog
The changes are contained in CHANGELOG.md.
About
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for gwbackupy-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44044c61aa4ca024c708050de4dffedcaebd4f3334de1b718193124d26fe52e8 |
|
MD5 | 60938777ed58559515fb84edd931e980 |
|
BLAKE2b-256 | 0452cbde43098acc4dbbafefa868c65b5a2ae1e48bef7af08bd7f03d0b3d36bf |