cdist-type__ccollect_source - Man Page

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.

Info

Jul 31, 2022 7.0.0 cdist