corso backup create sharepoint
Backup M365 SharePoint service data
corso backup create sharepoint --site <siteURL> | '*' [flags]
Examples
# Backup SharePoint data in the HR Site
corso backup create sharepoint --site https://example.com/hr
# Backup SharePoint for the HR and Team sites
corso backup create sharepoint --site https://example.com/hr,https://example.com/team
# Backup all SharePoint data for all Sites
corso backup create sharepoint --site '*'
# Backup all SharePoint list data for a Site
corso backup create sharepoint --site https://example.com/hr --data lists
Flags
Flag | Short | Default | Help |
---|---|---|---|
--site | `` | Web URL of the site to operate on; accepts '*' to select all sites. | |
--azure-tenant-id | Azure tenant ID | ||
--azure-client-id | Azure app client ID | ||
--azure-client-secret | Azure app client secret | ||
--passphrase | Passphrase to protect encrypted repository contents | ||
--aws-access-key | S3 access key | ||
--aws-secret-access-key | S3 access secret | ||
--aws-session-token | S3 session token | ||
--help | -h | false | help for sharepoint |
Global and inherited flags
Flag | Short | Default | Help |
---|---|---|---|
--config-file | $HOME/.corso.toml | config file location | |
--debug-api-calls | false | add non-2xx request/response errors to logging | |
--hide-progress | false | turn off the progress bar displays | |
--json | false | output data in JSON format | |
--log-file | corso-<timestamp>.log | location for writing logs, use '-' for stdout | |
--log-format | text | set the log format to text | |
--log-level | info | set the log level to debug | |
--mask-sensitive-data | false | anonymize personal data in log output | |
--no-stats | false | disable anonymous usage statistics gathering | |
--retain-progress | false | retain the progress bar displays after completion | |
--verbose | false | don't hide additional information |