Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfmoz/keepconf
Keepconf - Tool for backup and track files from remote hosts.
https://github.com/rfmoz/keepconf
Last synced: about 2 months ago
JSON representation
Keepconf - Tool for backup and track files from remote hosts.
- Host: GitHub
- URL: https://github.com/rfmoz/keepconf
- Owner: rfmoz
- Created: 2014-12-22T15:20:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T15:09:07.000Z (about 2 years ago)
- Last Synced: 2024-07-27T18:52:28.626Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 336 KB
- Stars: 24
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
keepconf
========Keepconf is a agentless tool for backup and track files from remote hosts, using rsync and git for the purpose.
Indeed, it can:
- Process lists of files/folders for retrieve it from hosts
- Limit size of the files fetched
- Store content in different defined directories
- Trigger hooks for execute whatever after/before fetching/committing
- Use a local or remote git repository
- Report the final status for monitoring the results in csv format### Basic Installation and usage
Clone the repository or copy the installation script and execute it. Install all the python modules required with pip or with your preferred package manager:
curl -k 'https://raw.githubusercontent.com/rfmoz/keepconf/master/keepconf-install.sh' > keepconf-install.sh
bash keepconf-install.shFor this guide, a ssh connection to localhost is enought, but normally, a ssh connection to remote hosts its required:
ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keysTest the connection, you need to login without password prompt (Accept with 'yes' the first attempt):
ssh localhost
For this test, rsync user will be root, add the following line under the commented sync_user in "/etc/keepconf/keepconf.cfg":
# sync_user = backup
rsync_user = rootRun it.
Some sample files are located inside "/etc/keepconf/hosts" and "/etc/keepconf/files" for backup all "/etc/*" content in "localhost" plus some commented examples.keepconf
Now, inside the destionation folder, there are all the files fetched and the git repo:
cd /var/keepconf/hosts/localhost && ls
git log### More information
Please, read keepconf-manual.txt for a complete reference manual.