Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Distributed Versionized Backup

branch: master
README.markdown

Deveba is a simple wrapper around git to synchronize folders on multiple computers.

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 config file for deveba

mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <<EOF
<config>
  <group name="daily">
    <repo path="~/my-folder"/>
    <!-- Add more repo here if needed -->
  </group>
</config>
EOF

Add a cronjob 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 config file for deveba

mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <<EOF
<config>
  <group name="daily">
    <repo path="~/my-folder"/>
    <!-- Add more repo here if needed -->
  </group>
</config>
EOF

Add a cronjob calling deveba with your group:

deveba daily
Something went wrong with that request. Please try again.