exporting mailboxes to mbox files?

566 views
Skip to first unread message

Stanisław Smólski

unread,
Sep 7, 2022, 7:49:19 AM9/7/22
to GAM for Google Workspace
I realize that GAM 3.71 is... old ;) and that "No support is provided for these commands going forward."... But:
Last year and each year before that it worked perfectly fine - i was able to use gam audit export requests and then download mbox files for each user's mailbox. It was a nice and cheap (free!) way of making a yearly mailboxes backup or just before deleteing some users.
But this year this old version of GAM just doesnt work. Even gam info domain is broken - nothing happens, not even an error message.

I tried setting up old GAM from scratch, but it seems something, i guess on Google side, changed so much it no longer works.

Is there still some way to use audit export requests/downloads?

Jay Lee

unread,
Sep 7, 2022, 8:09:44 AM9/7/22
to google-ap...@googlegroups.com
You can try using the current version of GAM to create a oauth2.txt that will work for the old version (maybe).


will tell the new version of GAM to use the Email Audit scope and the user read scope and should give you an oauth2.txt that works with that old version.

Jay

Jay Lee



Przetwarzamy Twoje dane (imię i nazwisko, adres e-mail oraz informacje zawarte w treści wiadomości) na podstawie naszego uzasadnionego interesu, w celu obsługi korespondencji, w celach wynikających z treści e-maila lub w celu nawiązania kontaktu w przyszłości.
Więcej informacji na temat ochrony danych osobowych znajdziesz w naszej Polityce prywatności: https://ceo.org.pl/sites/default/files/polityka_prywatnosci_ceo.pdf

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/094e14da-89fd-4a2d-a662-26c4d3617182n%40googlegroups.com.

Stanisław Smólski

unread,
Sep 7, 2022, 8:14:37 AM9/7/22
to GAM for Google Workspace
Sadly, it didn't help :( oldgam seems to be unable to "talk" to Google - no matter what command i run, it just finishes w/o any error or other message
C:\GAM\audit>gam info user stanislaw.smolski
i press enter, and after like 0,5s i just get
C:\GAM\audit>

Can Vault be used in a similar way, to export full mailboxes? I never used it.

Jay Lee

unread,
Sep 7, 2022, 8:17:19 AM9/7/22
to google-ap...@googlegroups.com
Well, yes, absolutely. Vault (and a new version of GAM is the better, supported way of doing this. See:


Stanisław Smólski

unread,
Sep 7, 2022, 8:19:15 AM9/7/22
to GAM for Google Workspace
Thank you, i will try if Vault works for us ;)

Stanisław Smólski

unread,
Sep 9, 2022, 4:20:24 AM9/9/22
to GAM for Google Workspace
So i tried Vault - and i ran into an issue. Vault export gets stuck at 95%.
1st i read that a) export might be too big and b) i should use mbox format instead of pst.
So i tried smaller export (5 users) and mbox, and it still gets stuck at 95% :(
Is doing one user per export not (with ~300 users) safe, i'm not going to hit any Vault limit?

środa, 7 września 2022 o 14:17:19 UTC+2 jay...@gmail.com napisał(a):
Reply all
Reply to author
Forward
0 new messages