Giter Site home page Giter Site logo

backupkern's Introduction

backupkern

A tiny backup program I made for backups of my home folder.

backupkern writes the folder you want to backup to a location of your choice. You can ignore any files you do not want to backup. The backups will be plain folders, so you can easily examine them. To keep the backup small, backupkern will hardlink any files that were not modified between backups.

You are wholeheartedly invited to contribute to this repository by creating pull requests or submitting issues!

Installation

You need to install Rust and clone this repository. Run cargo build --release and enjoy the binary at target/release/backupkern ๐ŸŽ‰

Usage

backupkern [--config alternative_config.yaml]

It will use the config in ~/backupkern.yaml by default. See backupkern.yaml for an example config file with comments.

Issues

  • Remove cp dependency: backupkern relies on the cp command to copy file permissions and modification dates. This dependency should be removed to allow cross platform usage.
  • Ignore patterns: It should be possible to specify regexes, which match absolute paths that should be ignored
  • Ignore Unix pipes (?): The cp command gets stuck when trying to copy a Unix pipe file. You want to check your progress regularly while doing your first backup and add eventual pipe files to the ignore section in your config.

backupkern's People

Contributors

haselkern avatar

Watchers

 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.