corso backup details sharepoint
Shows the details of a M365 SharePoint service backup
corso backup details sharepoint --backup <backupId> [flags]
Examples
# Explore items in the HR site's latest backup (1234abcd...)
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd
# Explore files in the folder "Reports" named "Fiscal 22"
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--file-name "Fiscal 22" --folder "Reports"
# Explore files in the folder ""Display Templates/Style Sheets"" created before the end of 2015.
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--file-created-before 2015-01-01T00:00:00 --folder "Display Templates/Style Sheets"
# Explore all files within the document library "Work Documents"
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--library "Work Documents"
# Explore lists by their name(s)
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--list "list-name-1,list-name-2"
# Explore lists created after a given time
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--list-created-after 2024-01-01T12:23:34
# Explore lists created before a given time
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--list-created-before 2024-01-01T12:23:34
# Explore lists modified before a given time
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--list-modified-before 2024-01-01T12:23:34
# Explore lists modified after a given time
corso backup details sharepoint --backup 1234abcd-12ab-cd34-56de-1234abcd \
--list-modified-after 2024-01-01T12:23:34
Flags
Flag | Short | Default | Help |
---|---|---|---|
--backup | ID of the backup to retrieve. | ||
--library | Select only this library; defaults to all libraries. | ||
--folder | `` | Select by folder; defaults to root. | |
--file | `` | Select by file name. | |
--file-created-after | Select files created after this datetime. | ||
--file-created-before | Select files created before this datetime. | ||
--file-modified-after | Select files modified after this datetime. | ||
--file-modified-before | Select files modified before this datetime. | ||
--list | `` | Select lists by name. | |
--list-modified-after | Select lists modified after this datetime. | ||
--list-modified-before | Select lists modified before this datetime. | ||
--list-created-after | Select lists created after this datetime. | ||
--list-created-before | Select lists created before this datetime. | ||
--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 |