Version main

server

PLAKAR-SERVER(1) General Commands Manual PLAKAR-SERVER(1)

plakar-serverStart a Plakar server

plakar server [-allow-delete] [-listen [host]:port] [-cert path] [-key path]

The plakar server command starts a Plakar server instance at the provided address, allowing remote interaction with a Kloset store over a network.

The options are as follows:

Enable delete operations. By default, delete operations are disabled to prevent accidental data loss.
[host]:port
The host and port where to listen to, separated by a colon. The host name is optional, and defaults to all available addresses. If -listen is not provided, the server defaults to listen on localhost at port 9876.
path
Path to a full certificate file in PEM format. If both -cert and -key are provided, the server will expect https connections. If one or both are missing, the server will fall back to http.
path
Path to a certificate private key file in PEM format.

Start a plakar server on the local store:

$ plakar server

Start a plakar server on a remote store:

$ plakar at sftp://example.org server

Start a server on a specific address and port:

$ plakar server -listen 127.0.0.1:12345

Start a https server on a specific address and port:

$ plakar server -listen backup.example.com:12345 -cert fullchain.pem -key privkey.pem

The plakar-server utility exits 0 on success, and >0 if an error occurs.

plakar(1)

When a host name is provided, plakar server uses only one of the IP addresses it resolves to, preferably IPv4 .

July 3, 2025 Plakar

Found a bug or mistake in the documentation? Create an issue on GitHub