NAME
plakar-source —
Manage Plakar backup source
configuration
SYNOPSIS
plakar source | subcommand ... |
DESCRIPTION
The plakar source command manages the
configuration of data sources for Plakar to backup.
The configuration consists in a set of named entries, each of them describing a source for a backup operation.
A source is defined by at least a location, specifying the importer to use, and some importer-specific parameters.
The subcommands are as follows:
addname location [option=value ...]- Create a new source entry identified by name with the specified location describing the importer to use. Additional importer options can be set by adding option=value parameters.
checkname- Check wether the importer for the source identified by name is properly configured.
import[-configlocation] [-overwrite] [-rclone] [sections ...]- Import a configuration from either stdin (default), a file, or a URL.
If location is specified, the input will be read from that file or URL.
If
-overwriteis specified, existing sections will be overwritten by new ones.If
-rcloneis specified, the input will be treated as an rclone configuration.If sections are specified, only those sections will be imported. A section can be renamed on import by appending a colon and the new name.
pingname- Try to open the data source identified by name to make sure it is reachable.
rmname- Remove the source identified by name from the configuration.
setname [option=value ...]- Set the option to value for the source identified by name. Multiple option/value pairs can be specified.
show[-secrets] [name ...]- Display the current sources configuration. If
-secretsis specified, sensitive information such as passwords or tokens will be shown. unsetname [option ...]- Remove the option for the source entry identified by name.
EXIT STATUS
The plakar-source utility exits 0
on success, and >0 if an error occurs.