starkone-m365-backup CLI¶
starkone-m365-backup is a standalone binary for running Microsoft 365 mailbox backups. It is invoked by the panel's M365 Backup plugin.
Commands¶
Run Backup¶
Starts a full backup run for all configured mailboxes.
Run for Specific User¶
starkone-m365-backup run --email [email protected]
Check Status¶
Version¶
Configuration¶
The binary reads configuration from /etc/starkone/m365-backup.conf or from environment variables set by the panel:
| Variable | Description |
|---|---|
AZURE_TENANT_ID |
Azure AD tenant ID |
AZURE_CLIENT_ID |
Azure app registration client ID |
AZURE_CLIENT_SECRET |
Azure app client secret |
S3_ENDPOINT |
S3-compatible endpoint URL |
S3_BUCKET |
S3 bucket name |
S3_ACCESS_KEY |
S3 access key |
S3_SECRET_KEY |
S3 secret key |
S3_REGION |
S3 region |
Scheduling¶
The binary is typically called by a cron job managed by the panel. To schedule manually: