-
Notifications
You must be signed in to change notification settings - Fork 473
Data Transfers
- Request a Data Transfer
- Get Information About a Data Transfer
- Print All Data Transfers
- Print Information About Apps That Support Data Transfer
gam create datatransfer <old owner> <app> <new owner> (<parameter> <value>)*
Creates a data transfer request. Old owner is the source user whose data will be transferred. App is the name of the application data to transfer. New owner is the target user that will receive the data. Depending on the app, optional parameters can be specified which determine the scope of data to be transferred.
This example transfers all Drive files for oldguy@acme.com to newguy@acme.com
gam create datatransfer oldguy@acme.com gdrive newguy@acme.com privacy_level shared,private
This example transfers only Drive files shared by terminated@acme.com to manager@acme.com
gam create datatransfer terminated@acme.com gdrive manager@acme.com privacy_level shared
This example transfers Calendar entries from oldguy to newguy and releases calendar resources booked by oldguy.
gam create datatransfer oldguy@acme.com calendar newguy@acme.com release_resources true
gam info datatransfer <id>
Get information about an existing data transfer including the status.
This example shows the status of a given data transfer.
gam info datatransfer AKrEtIYIysvNvudwY69gEtJNb85tK87Py2SJl8uwq78BxSMMRgn46rWtuKPIxmkWehZ_YJguKbSs
Old Owner: sarah@acme.com
New Owner: announce@acme.com
Request Time: 2015-09-29T20:45:28.085Z
Application: Drive
Status: completed
Parameters:
PRIVACY_LEVEL: PRIVATE,SHARED
gam print datatransfers [oldowner <email>] [newowner <email>] [status <completed|failed|inProgress>] [todrive]
Prints a CSV of all data transfers. With no parameters, all transfers will be printed. The oldowner, newowner and status parameters limit the output to results which match. The todrive parameter causes GAM to generate a Google Spreadsheet of the results rather than outputting the CSV file to the console.
This example prints all transfers
gam print datatransfers
This example prints all transfers that have failed to a Google Spreadsheet.
gam print datatransfers status failed todrive
gam print transferapps
Prints information about all apps which support data transfer.
Need more help? Ask on the GAM Discussion Group
GAM Basics
GAM Tutorials
- Managing Users, Groups, Aliases, Domains, Mobile and Chrome Devices, and Resource Calendars
- Group Settings
- Data Transfers
- Print Users, Groups, Aliases, Mobile and Chrome OS devices, OUs, Licenses and Reports
- Managing Custom User Schemas
- User Email Settings
- User Security Settings
- Managing Classroom
- Managing Devices
- Chrome Policy Settings
- Chrome Browser Management
- Calendar Settings
- Unmanaged Users and Invitations
- Google Drive Management
- Inbound SSO Settings
- Managing Admins
- Domain Verification
- Printers
- Managing Product Licenses
- Context Aware Access levels
- Managing Organizations
- OAuth Authentication Related Commands
- Vault / Takeout Commands
- Bulk Operations
GAM Command Reference
Resources
- Questions? Visit the GAM Discussion Forum
- How to run GAM on Chromebooks / Chrome OS and Android devices.
- Setting up GAM on Google Cloud Platform (GCP)
- Running GAM on Google Compute Engine (GCE) VMs Securly
- Using GAM with a Delegated Admin Service Account (DASA)
- Use a YubiKey for Service Account Authentication
- Verify a GAM Install is Official and Legimate