Provided by: restic_0.9.4+ds-2_amd64 bug


       restic-backup - Create a new backup of files and/or directories


       restic backup [flags] FILE/DIR [FILE/DIR] ...


       The "backup" command creates a new snapshot and saves the files and directories given as
       the arguments.


       -e, --exclude=[]
           exclude a pattern (can be specified multiple times)

           excludes cache directories that are marked with a CACHEDIR.TAG file

           read exclude patterns from a file (can be specified multiple times)

           takes filename[:header], exclude contents of directories containing filename (except
       filename itself) if header of that file is as provided (can be specified multiple times)

           read the files to backup from file (can be combined with file args/can be specified
       multiple times)

       -f, --force[=false]
           force re-reading the target files/directories (overrides the "parent" flag)

       -h, --help[=false]
           help for backup

       -H, --host=""
           set the hostname for the snapshot manually. To prevent an expensive rescan use the
       "parent" flag

       -x, --one-file-system[=false]
           exclude other file systems

           use this parent snapshot (default: last snapshot in the repo that has the same target

           read backup from stdin

           file name to use when reading from stdin

           add a tag for the new snapshot (can be specified multiple times)

           time of the backup (ex. '2012-11-01 22:08:41') (default: now)

           store the atime for all files and directories


           file to load root certificates from (default: use system certificates)

           set the cache directory. (default: use system default cache directory)

           auto remove old cache directories

           set output mode to JSON for commands that support it

           key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)

           limits downloads to a maximum rate in KiB/s. (default: unlimited)

           limits uploads to a maximum rate in KiB/s. (default: unlimited)

           do not use a local cache

           do not lock the repo, this allows some operations on read-only repos

       -o, --option=[]
           set extended option (key=value, can be specified multiple times)

           specify a shell command to obtain a password (default: $RESTIC_PASSWORD_COMMAND)

       -p, --password-file=""
           read the repository password from a file (default: $RESTIC_PASSWORD_FILE)

       -q, --quiet[=false]
           do not output comprehensive progress report

       -r, --repo=""
           repository to backup to or restore from (default: $RESTIC_REPOSITORY)

           path to a file containing PEM encoded TLS client certificate and private key

       -v, --verbose[=0]
           be verbose (specify --verbose multiple times or level n)