cdist-type__ccollect_source7
Manage ccollect sources
Overview
This cdist type allows you to create or delete ccollect sources.
Required parameters
|
The source from which to backup |
|---|---|
|
The destination directory |
Optional parameters
|
'present' or 'absent', defaults to 'present' |
|---|---|
|
The CCOLLECT_CONF directory. Defaults to /etc/ccollect. |
Optional multiple parameters
exclude-
Paths to exclude of backup
Boolean parameters
|
Whether to report backup verbosely |
|---|---|
|
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
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.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.