Skip to content
/ dob Public

An easy to use backup client for local and remote backups.

Notifications You must be signed in to change notification settings

erikzenker/dob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

dob - an easy to use backup client for local and remote backups

Synopsis

dob --config=file [-d=debuglevel]

Description

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
  • 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*

Usage

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.

Examples

  • 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

Dependencies

  • rsync
  • boost-libs
  • libsigc++
  • neon
  • make
  • gcc
  • pkg-config
  • Linux Kernel 2.6.13 (inotify)

Copyrigth

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.

Author

Written by Erik Zenker (erikzenker@hotmail.com)

About

An easy to use backup client for local and remote backups.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages