How to transfer user drive to user from another Google Workspace domain

112 views
Skip to first unread message

Eggy Sapto Wibowo

unread,
Nov 18, 2024, 6:46:15 AM11/18/24
to GAM for Google Workspace
Hi,

To reduce expenses from using two domains, I plan to move user drives to users on another google workspace domain.

for example:
* Source GUser: user...@id.domain.com
* Target GUser: user...@domain.com

After all drives from @id.domain.com users have been migrated or transferred to @domain.com. I will delete @id.domain.com

I would really appreciate any help or information.

Ben Davidson

unread,
Nov 18, 2024, 2:58:48 PM11/18/24
to GAM for Google Workspace
Hi Eggy,

Migrating files between workspaces can only be done through shared drives. Both the old user and the new user must be managers of the drive.

So essentially for each user you would:

- Create a dedicated shared drive and add both the source and target users to it.
- Move all the source users My Drive files to the shared drive (doing it "as" the source user via GAM)
- As the target user move all those files and folder from the shared drive to their My Drive.
- Delete the shared transfer drive.

You could also I suppose use a single shared drive and have folders for each users drive, it just depends on how private you need to need to keep everything during the migration. The steps above can all be automated with a script using GAM, potentially running for multiple users in parallel, which is another reason I think it's cleaner to have a dedicated transfer drive per user. You'll need to install/configure GAM for both workspaces.

Good luck!

Eggy Sapto Wibowo

unread,
Nov 19, 2024, 11:17:00 PM11/19/24
to GAM for Google Workspace
Hi Ben,

Thank you for your response!

Could you provide a reference link or script to do it with GAM?

Eggy Sapto Wibowo

unread,
Nov 21, 2024, 3:13:12 AM11/21/24
to GAM for Google Workspace
Hi Ben,

So from your answer regarding "Move all the source users My Drive files to the shared drive (doing it "as" the source user via GAM)"

My assumption is that i have to move (users) my drive to shared drive using this script:

gam user user...@domain.com copy drivefile root recursive teamdriveparentid <DriveFolderID> mergewithparent false

but there is the following message: Service not applicable/Does not exist

What am I missing? 

I am new using GAM and maybe there are some instructions that I don't understand.
On Tuesday, November 19, 2024 at 2:58:48 AM UTC+7 Ben Davidson wrote:
Reply all
Reply to author
Forward
0 new messages