---
name: "cdist-type__ccollect_source"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__ccollect_source"
---

# cdist-type\_\_ccollect\_source(7)

Manage ccollect sources

## NAME

cdist-type\_\_ccollect\_source - Manage ccollect sources

## DESCRIPTION

This cdist type allows you to create or delete ccollect sources.

## REQUIRED PARAMETERS

- **source**

  The source from which to backup

- **destination**

  The destination directory

## OPTIONAL PARAMETERS

- **state**

  'present' or 'absent', defaults to 'present'

- **ccollectconf**

  The CCOLLECT\_CONF directory. Defaults to /etc/ccollect.

## OPTIONAL MULTIPLE PARAMETERS

- **exclude**

  Paths to exclude of backup

## BOOLEAN PARAMETERS

- **verbose**

  Whether to report backup verbosely

- **create-destination**

  Create the directory specified in the destination parameter on the remote host

## EXAMPLES

```
__ccollect_source doc.ungleich.ch \
    --source doc.ungleich.ch:/ \
    --destination /backup/doc.ungleich.ch \
    --exclude '/proc/*' --exclude '/sys/*' \
    --verbose
__ccollect_source doc.ungleich.ch \
    --source doc.ungleich.ch:/ \
    --destination /backup/doc.ungleich.ch \
    --exclude '/proc/*' --exclude '/sys/*' \
    --verbose \
    --create-destination
```

## SEE ALSO

**ccollect**(1)

## AUTHORS

Nico Schottelius \<*nico-cdist--@--schottelius.org*\>

## COPYING

Copyright (C) 2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
