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
string
required
Profile name. If a profile with this name already exists, its values are updated.
string
required
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>].string
required
Name of an existing store entry to use. The store must already exist in the profiles file (or be created with
-store).string
Store URI. When combined with
-store-ref, creates or updates the store entry with this URI.string
Name of an existing auth entry. Required for cloud sources (gdrive, onedrive).
string
Tag to apply to snapshots created by this profile.
string
Exclude pattern (gitignore syntax).
string
Path to a file containing exclude patterns.
boolean
default:"false"
Skip creating a new snapshot for this profile when the resulting tree is unchanged.
boolean
default:"false"
Exclude Google-native files (Docs, Sheets, Slides) from backups.
string
Override volume UUID for local sources.
string
Path to Google service account credentials JSON.
string
Path to Google OAuth token file.
string
OneDrive OAuth client ID.
string
Path to OneDrive OAuth token file.
string
Path to the profiles YAML file.
boolean
default:"false"
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