Closed jay-eleven closed 2 years ago
Jay,
Swamped at the moment, I can get to this next week.
Ross
6.22.18 https://github.com/taers232c/GAMADV-XTD3/wiki/Vault#display-vault-exports https://github.com/taers232c/GAMADV-XTD3/wiki/Vault#download-vault-exports
The pseudo code needs cleanup
Wow!! I was not expecting such a fast turnaround. I'll test ASAP and report back.
Thanks Ross.
I've tested this and it works flawlessly.
Thanks Ross!!
Jay,
Did you look at the pseudo code in the Wiki?
@.***
On May 31, 2022, at 8:46 AM, Jay @.***> wrote:
Closed #273 https://github.com/taers232c/GAMADV-XTD3/issues/273 as completed.
β Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/273#event-6710853103, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZQM6TZTTZBOUNWH2LVMYX45ANCNFSM5W47CUXQ. You are receiving this because you commented.
I'm testing a shell script I wrote and so far it's humming happily. When it finishes running, I'll update documentation to show a working example.
Wiki updated. Take a look, the working example might be a bit overkill and you might want to leave your pseudo code... π
@.***
On May 31, 2022, at 10:47 AM, Jay @.***> wrote:
Wiki updated https://github.com/taers232c/GAMADV-XTD3/wiki/Vault#process-vault-export-files. Take a look, the working example might be a bit overkill and you might want to leave your pseudo code... π
β Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/273#issuecomment-1142431859, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL27HSHK7YE4UIC74QTVMZGCZANCNFSM5W47CUXQ. You are receiving this because you commented.
Neither .csv nor .xml refer in any way to the .zip files so it's impossible to derive information from them as to which particular .zip file to download. Some CSVs just contain one row (not even headers) with the number of exported elements. Some just have MessageIds and Gmail labels or Drive metadata. Honestly, I can't see how anybody would like to download just one file from Vault, you need all of them to be able to rebuild a Mailbox or a Drive folder.
Hi Ross!
Some Vault exports are huuuuuuge. For example, one of my users had a 1.1T Drive Vault export:
This 1.1T export was formed by almost 90 zip files:
So, unless I'm missing something, a command like
gam download vaultexport <MatterItem> <ExportItem>
for this user would require 1.1T free space in my local drive.Turns out Vault generates .zip files that are ~10-15Gb size, so instead of downloading all of them at once it would be awesome if I could download one by one and not need a huge local drive with a ton of free space.
In order to accomplish this, several things need to happen.
gam show vaultexports
needs to display acloudStorageSink.files.objectURI
field formed concatenatingbucketName
withobjectURI
in order to form a valid Cloud Storage URI:gs://<bucketName>/<objectName>
gam show vaultexports
needs to be able to filter bycloudStorageSink.files.objectURI
by allowingfields cloudStorageSink.files.objectURI
gam download vaultexport
command needs to be extended to support individual objectURIs. Something likegam download vaultexport <ExportItem> object <objectURI> matter <MatterItem>
Then something like this would be possible:
gam redirect stdout vaultfiles.csv show vaultexports ee matter mm fields cloudStorageSink.files.objectURI
to extract all URIs to a fileThoughts?