cloudstic backup -profile <name>.
Usage
profile new creates a new store, it now reuses the same encryption setup
flow as store new (including secret reference/native secret storage prompts).
Options
Profile name. If a profile with this name already exists, its values are updated.
Source URI for this profile. Formats:
local:<path>, sftp://[user@]host[:port]/<path>, gdrive[://<Drive>][/<path>], gdrive-changes[://<Drive>][/<path>], onedrive[://<Drive>][/<path>], onedrive-changes[://<Drive>][/<path>].Name of an existing store entry to use. The store must already exist in the profiles file (or be created with
-store).Store URI. When combined with
-store-ref, creates or updates the store entry with this URI.Name of an existing auth entry. Required for cloud sources (gdrive, onedrive).
Tag to apply to snapshots created by this profile.
Exclude pattern (gitignore syntax).
Path to a file containing exclude patterns.
Skip creating a new snapshot for this profile when the resulting tree is unchanged.
Exclude Google-native files (Docs, Sheets, Slides) from backups.
Override volume UUID for local sources.
Path to Google service account credentials JSON.
Path to Google OAuth token file.
OneDrive OAuth client ID.
Path to OneDrive OAuth token file.
Path to the profiles YAML file.
Disable interactive prompts. Missing required fields cause an error.
Examples
Editing Existing Profiles
Runprofile new with the same name. Existing values are preserved. Only the flags you provide are updated:
Interactive Mode
When running interactively without all required flags, you’ll be guided through the setup:store new.
- Password/platform key options can be saved as
env://...refs. - Native secret stores can also be selected:
- macOS
keychain://... - Windows
wincred://... - Linux
secret-service://...
- macOS
Source Validation
Source URIs are validated when creating a profile. Invalid URIs are rejected:See Also
- cloudstic profile list: List all profiles
- cloudstic profile show: Show profile details
- cloudstic backup: Run a backup with
-profile - Using Profiles: Complete profiles guide