Giter Club home page Giter Club logo

backup's Introduction

Backup

backup is a Linux backup system, designed to use in local backup or to sync with Google Drive.

Build the source

  • Install dependecies: git, rust, cargo, make.
  • Clone the repository:
git clone https://github.com/juchiast/backup.git
  • Configure the system:
./configure
  • Compile:
make

Using the software

  • Edit data file of backup, the default data file located at data/file, view file.example for an example data file.
  • Run: ./bk
  • The program will output symbolic links to original files in 2 folders: output and inc. output contains all the files you want to backup, while inc contains files that was changed since the last snapshot. You can save the current snapshot by chdir into ./db commit the change:
git add file
git commit -m "some commit messages"
  • Copy files to your backup device:
cp -RL output/file <your backup device>

Or copy only changed files:

cp -RL inc/file <your backup device>

Multiple data files

The program supports multiple data files in ./data folder. To generate output for a specific data file, run:

./bk <your data file's name>

Note: Do not include ./data/ in your data file's name. The outputs will be placed in output/<your data file's name> and inc/<your data file's name>.

License

The sotfware is licensed under the MIT License. See LICENSE for detail.

Contributing

All contributions are welcomed. You can freely report bugs, request new features, change the code, push pull requests and more.

backup's People

Contributors

juchiast avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.