dob - an easy to use backup client for local and remote backups
dob --config=file [-d=debuglevel]
Dob scans folders from several profiles for modifications and performs a backup of changed files immediately.
--config=file
- Sets the configfile, where profiles are listed.
-d=[1-5]
- 1 : print fatal errors
- 2 : print errors (and 1)
- 3 : print warnings (and 1 to 2)
- 4 : print status information (and 1 to 3) is set as default
- 5 : print debug information (and 1 to 4)
The profiles are defined in a configfile with the following syntax :
[Name]
- Start of a new profile with
Name
as profilename. This means you can setup up more than one profile in one configfile
- Start of a new profile with
syncFolder=folderpath
- Folder that will be scanned for modifications. This Folder should be mounted.
destFolder=folderpath
- Location backup will be stored. Can be a local or remote location.
syncType=backup | update | syncronize
- Direction of syncronisation
syncProtocol=rsync|git|ssh|webdav
- Set communication protocol in case of remote destination
destUser= username
- SSH username on remote host
destHost=hostIP or URL
- IP or URL of the remote host
ignore=file
- This will ignore all files or folders that fit the regex *
file
*
- This will ignore all files or folders that fit the regex *
It is possible to set symlinks into the syncFolder. These symlinks will be followd by the
scanprocess, thus all modifications on this symlinked folder will be recognized.
With the help of a webdav-server and some storage on it, it is very easy to setup a cloud storage solution
for your linux devices (Netbook, Laptop, PC). You just need to install dob on all your devices, setup profiles
with the same destLocation and start dob. From now on, data will be syncronized between these
different devices.
For all paranoid people in the world it is possible to setup profiles with the same syncFolder, thus
your local data can be spreaded around the world to all servers you have acces to. Or you could mirror
your data to several local storage connected to your computer.
-
Make a local backup to an external harddrive
[externalhdd]
syncType=syncronize
syncFolder=/home/jondo/important_data/
destFolder=/media/external_hdd/
-
Use http server with webdav support (apache etc.)
[webdavhost]
syncType=syncronize
syncFolder=/home/jondo/important_data/
syncProto=webdav
destFolder=/webdav_folder/
destUser=jondo
destHost=mywebdavserver.com
- rsync
- boost-libs
- libsigc++
- neon
- make
- gcc
- pkg-config
- Linux Kernel 2.6.13 (inotify)
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by Erik Zenker (erikzenker@hotmail.com)