A class for writing Datastore backup metadata files.
def google.appengine.ext.datastore_admin.backup_handler.BackupInfoWriter.__init__ |
( |
|
self, |
|
|
|
gs_bucket |
|
) |
| |
Construct a BackupInfoWriter.
Args:
gs_bucket: Required string for the target GS bucket.
def google.appengine.ext.datastore_admin.backup_handler.BackupInfoWriter.write |
( |
|
self, |
|
|
|
backup_info |
|
) |
| |
Write the metadata files for the given backup_info.
As a side effect, updates the backup_info in-memory entity object with the
gs_handle to the Backup info filename. This is not saved to the datastore.
Args:
backup_info: Required BackupInformation.
Returns:
A list with Backup info filename followed by Kind info filenames.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/datastore_admin/backup_handler.py