taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
687 stars 86 forks source link

Command to backup data in accounts no longer works, please help #412

Closed microchipmatt closed 3 weeks ago

microchipmatt commented 1 month ago

This command worked up until January 2024 of this year, can anyone tell me why this does not work anymore? Dosen't seem to matter what version of GAMADV-XTD3 I use, it stopped working and I don't know why.

gam redirect stdout Transfer.out multiprocess redirect stderr stdout csv "examaccounts.csv" gam user ~Email transfer drive pdeexambackup@mydomain.com targetuserfoldername "#user#"

This used to loop through ALL exam accounts in the examaccounts.csv and then make a backup of the account and data to pdeexambackup@mydomain.com account in my Edu domain.

It processes the account like its going to, BUT no data is ever backed up anymore to the account listed. Any ideas. I tried installing a very new version of GAMADV-XTD3 and it still does not work.

microchipmatt commented 1 month ago

Never mind, I figured it out. I ran a simple command for testing IE: gam info user some.account@mydomain.com

turns out the gam ouath token was expired. I ran: gam oauth delete gam oauth create

Re-authed my master domain accounts and all is well. I can now run commands and backups. Thanks.