Giter Site home page Giter Site logo

psychopenguin / snap-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baodrate/snap-sync

0.0 1.0 0.0 157 KB

Use snapper snapshots to backup to external drive

License: GNU General Public License v2.0

Shell 77.10% Makefile 5.75% Roff 17.15%

snap-sync's Introduction

snap-sync

This bash script sends incremental snapshots to another drive for backing up data. Plug in and mount any btrfs-formatted device you want your system to be backed up to (like a USB drive). When you run the script you will be prompted to select a mounted btrfs device, or you can optionally select the disk using its UUID on the command line.

The script iterates through all snapper configurations by default (this can be changed using the -c flag). For each configuration it creates a new local snapshot. If you have never synced to the specified device you will be prompted to enter a directory on the device where the backup snapshots will go. Additionally you are shown the location of the backed up snapshot. If you have performed a backup to this device before, only the changes since the last backup have to be sent.

Installation

Install the snap-sync package using pacman if using Arch Linux.

Alternatively, download the latest release and signature from the releases page, verify the download, and then run make install. snapper is required.

If your system uses a non-default location for the snapper configuration file, specify it on the command line with SNAPPER_CONFIG. For example, for Arch Linux use

make SNAPPER_CONFIG=/etc/conf.d/snapper install

Starting with release 0.6, the tarballs are signed with my key with fingerprint F7B28C61944FE30DABEEB0B01070BCC98C18BD66 (public key). Previous tarballs and commits used a different key with fingerprint 8535CEF3F3C38EE69555BF67E4B5E45AA3B8C5C3.

Documentation

See snap-sync(8) after installation.

Troubleshooting

After reviewing the man page, check the issues page and file a new issue if your problem is not covered.

Contributing

Help wanted! Feel free to fork and issue a pull request to add features or tackle an open issue.

Related projects

See @rzerres's fork which has several enhancments.

snap-sync's People

Contributors

albertmichaelj avatar kalbasit avatar nicohood avatar r1do avatar thomwiggers avatar tlvince avatar wesbarnett 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.