-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Download individual Vault objects instead of complete <ExportItem> #273
Comments
Jay, Swamped at the moment, I can get to this next week. Ross |
6.22.18 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?
Ross
--
***@***.***
… On May 31, 2022, at 8:46 AM, Jay ***@***.***> wrote:
Closed #273 <#273> as completed.
—
Reply to this email directly, view it on GitHub <#273 (comment)>, 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... 😅 |
Looks good to me. Would another example be to just download the .csv and .xml files; could someone derive information from them
to decide which .zip file to download?
--
***@***.***
… 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 <#273 (comment)>, 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?
The text was updated successfully, but these errors were encountered: