server start

$ kopia server start

Start Kopia server

Flag Short Default Help
--address http://127.0.0.1:51515 Server address
--cache-directory Cache directory
--[no-]check-for-updates true Periodically check for Kopia updates on GitHub
--content-cache-size-limit-mb Maximum size of local content cache (hard limit)
--content-cache-size-mb Desired size of local content cache (soft limit)
--content-min-sweep-age Minimal age of content cache item to be subject to sweeping
--[no-]control-api true Start the control API
--description Human-readable description of the repository
--[no-]enable-actions false Allow snapshot actions
--[no-]grpc true Start the GRPC server
--html Server the provided HTML at the root URL
--index-min-sweep-age Minimal age of index cache item to be subject to sweeping
--max-concurrency 0 Maximum number of server goroutines
--max-list-cache-duration Duration of index cache
--metadata-cache-size-limit-mb Maximum size of local metadata cache (hard limit)
--metadata-cache-size-mb Desired size of local metadata cache (soft limit)
--metadata-min-sweep-age Minimal age of metadata cache item to be subject to sweeping
--[no-]persistent-logs true Persist logs in a file
--[no-]readonly false Make repository read-only to avoid accidental changes
--refresh-interval 4h Frequency for refreshing repository status
--server-control-password Server control password
--server-control-username server-control Server control username
--server-password HTTP server password (basic auth)
--server-username kopia HTTP server username (basic auth)
--shutdown-grace-period 5s Grace period for shutting down the server
--tls-cert-file TLS certificate PEM
--tls-key-file TLS key PEM file
--[no-]ui true Start the server with HTML UI
--ui-preferences-file Path to JSON file storing UI preferences
--[no-]async-repo-connect false [ADV] Connect to repository asynchronously
--auth-cookie-signing-key [ADV] Force particular auth cookie signing key
--[no-]disable-csrf-token-checks false [ADV] Disable CSRF token
--[no-]disable-repository-format-cache false [ADV] Disable caching of kopia.repository format blob
--htpasswd-file [ADV] Path to htpasswd file that contains allowed user@hostname entries
--[no-]insecure false [ADV] Allow insecure configurations (do not use in production)
--[no-]log-scheduler true [ADV] Enable logging of scheduler actions
--[no-]log-server-requests false [ADV] Log server requests
--min-maintenance-interval 60s [ADV] Minimum maintenance interval
--override-hostname [ADV] Override hostname used by this repository connection
--override-username [ADV] Override username used by this repository connection
--[no-]permissive-cache-loading false [ADV] Do not fail when loading bad cache index entries. Repository must be opened in read-only mode
--[no-]random-password false [ADV] Generate random password and print to stderr
--[no-]random-server-control-password false [ADV] Generate random server control password and print to stderr
--repository-format-cache-duration [ADV] Duration of kopia.repository format blob cache
--[no-]shutdown-on-stdin false [ADV] Shut down the server when stdin handle has closed.
--[no-]tls-generate-cert false [ADV] Generate TLS certificate
--tls-generate-cert-name 127.0.0.1 [ADV] Host names/IP addresses to generate TLS certificate for
--tls-generate-cert-valid-days 3650 [ADV] How long should the TLS certificate be valid
--tls-generate-rsa-key-size 4096 [ADV] TLS RSA Key size (bits)
--[no-]tls-print-server-cert false [ADV] Print server certificate
--ui-title-prefix [ADV] UI title prefix
--[no-]without-password false [ADV] Start the server without a password