CDIST-TYPE__CCOLLECT_SOURCE(7)

πŸ’– cdist-type__ccollect_source(7) πŸ’–

okay bestie, pull up a chair, we're looking at cdist-type__ccollect_source β€” yes the whole manual page name is a mouthful, but it's giving very specific and very useful, iykyk πŸŽ€


✨ NAME ✨

cdist-type__ccollect_source β€” manage ccollect sources. that's the whole vibe. 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

so this cdist type lets you create or delete ccollect sources. that's it, that's the assignment, and it ate. πŸ’…


πŸ”₯ REQUIRED PARAMETERS πŸ”₯

these are not optional, bestie, you GOTTA give them:

  • source β€” the source from which to backup πŸ‘‘
  • destination β€” the destination directory 🎯

✨ OPTIONAL PARAMETERS ✨

you can skip these but honestly why would you:

  • state β€” 'present' or 'absent', defaults to 'present' 🫢
  • ccollectconf β€” the CCOLLECT_CONF directory. Defaults to /etc/ccollect. πŸ“

🌈 OPTIONAL MULTIPLE PARAMETERS 🌈

yes you can stack these, go off:

  • exclude β€” paths to exclude of backup πŸ™ˆ

πŸŽ€ BOOLEAN PARAMETERS πŸŽ€

just flags, no value needed, iconic behaviour fr fr:

  • verbose β€” whether to report backup verbosely πŸ—£οΈ
  • create-destination β€” create the directory specified in the destination parameter on the remote host πŸ—οΈ

πŸ’œ EXAMPLES πŸ’œ

here's the actual copy-paste-and-thrive energy, no cap:

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

and if you want it to make the destination for you, add the flag:

__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> β€” the main character who wrote this, we love them for it. 🌟


πŸ“œ 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.


ungleich GmbH 2021


and that's the whole page, bestie 🧚✨ this was version 7.0.0 from Jul 31, 2022 β€” signed, sealed, slayed. go back up your stuff, you got this πŸ’…πŸŒΈπŸ’–

πŸ“¦ where this page comes from