https://github.com/agateau/deveba
Distributed Versionized Backup
https://github.com/agateau/deveba
Last synced: 10 days ago
JSON representation
Distributed Versionized Backup
- Host: GitHub
- URL: https://github.com/agateau/deveba
- Owner: agateau
- License: gpl-3.0
- Created: 2010-12-29T23:28:24.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T16:29:33.000Z (over 1 year ago)
- Last Synced: 2025-03-17T04:21:19.580Z (10 months ago)
- Language: Python
- Homepage:
- Size: 127 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deveba
Deveba is a simple wrapper around git and other tools to synchronize folders on multiple computers.
Supported tools:
- git
- svn
- rsync
- unison
## Setup
### Adding a folder to sync
Create a git repository in the folder you want to sync:
```
cd ~/my-folder
git init
# Optional: setup a .gitignore
git add .
git ci
# Publish the new repository to some server
git remote add origin git/url/for/my-folder.git
```
Create a configuration file for Deveba:
```
mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <
EOF
```
Add a cron job calling Deveba with your group:
```
deveba daily
```
### Syncing an existing folder
Clone the folder from the server:
```
git clone git/url/for/my-folder.git
```
Create a configuration file for Deveba:
```
mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <
EOF
```
Add a cron job calling Deveba with your group:
```
deveba daily
```
## Development
From within a virtualenv:
```
pip install -r requirements-dev.txt
pytest
```