Skip to main content

corso backup create groups

Backup M365 Groups & Teams service data

corso backup create groups --group <groupName> | '*' [flags]

Examples

# Backup all Groups and Teams data for the Marketing group
corso backup create groups --group Marketing

# Backup only Teams channel messages
corso backup create groups --group Marketing --data messages

# Backup only group mailbox posts
corso backup create groups --group Marketing --data conversations

# Backup all Groups and Teams data for all groups
corso backup create groups --group '*'

Flags

FlagShortDefaultHelp
--group``Backup data by group; accepts '*' to select all groups.
--data``Select one or more types of data to backup: libraries, messages or conversations.
--azure-tenant-idAzure tenant ID
--azure-client-idAzure app client ID
--azure-client-secretAzure app client secret
--passphrasePassphrase to protect encrypted repository contents
--aws-access-keyS3 access key
--aws-secret-access-keyS3 access secret
--aws-session-tokenS3 session token
--help-hfalsehelp for groups

Global and inherited flags

FlagShortDefaultHelp
--config-file$HOME/.corso.tomlconfig file location
--debug-api-callsfalseadd non-2xx request/response errors to logging
--hide-progressfalseturn off the progress bar displays
--jsonfalseoutput data in JSON format
--log-filecorso-<timestamp>.loglocation for writing logs, use '-' for stdout
--log-formattextset the log format to text
--log-levelinfoset the log level to debug
--mask-sensitive-datafalseanonymize personal data in log output
--no-statsfalsedisable anonymous usage statistics gathering
--retain-progressfalseretain the progress bar displays after completion
--verbosefalsedon't hide additional information