Git Product home page Git Product logo

fsarchiver_backup's Introduction

FSArchiver "bare metal" backups

Scratch

I am "scratching an itch" for a simple, schedulable (cron), "bare-metal" backup & restore system, for all my "desktop" Linux systems. And, I am having a bit of fun with the Python sh and lvm2py modules!

Caveats

This project is still in Development, but I will attempt to keep master always in a working state.

I have more Notes coming - here's what I have, for now. I have tested only on Ubuntu 14.04 LTS. However, I will create a CentOS 6 Docker container, to then add support and test for RHEL.

Install

Go get this project, from Github, and set it up

git clone https://github.com/biggers/fsarchiver_backup.git

cd fsarchiver_backup

Set-up this project's Python environment, for pip and required packages.:. Refer to the Makefile in this project, for details.:

make install

Configure

First, review the filesystems and LVM logical volumes on your desktop Linux system.:

NOTE: the volume group that you want to use, and what LVs you might want to backup - the default is all LVs.:

sudo vgs  # NOTE: the volume-group to use

sudo lvs  # NOTE: what LVs you might want to backup (default is all)

cat /etc/fstab

df -h     # NOTE: what is the /boot or /root filesystem?

Copy config_edit.py to config.py, then edit for your backup Storage and other paths.

cp config_edit.py config.py

emacs config.py

Run the backup

It's simple:

sudo make run

You'll get some "feedback" from the LVM commands, at least. I am working on getting some output from fsarchiver.

References

This is an fsarchiver forum entry. My code is based on this how-to... Info on doing a bare metal restore using fsarchiver.

http://www.fsarchiver.org/forums/viewtopic.php?f=16&t=1218

Backup and bare metal restore your Linux server with SystemRescueCd and fsarchiver -- no longer available...

http://www.techroot.be/uncategorized/backup-and-bare-metal-restore-your-linux-server-with-systemrescuecd-and-fsarchiver.html

fsarchiver_backup's People

Contributors

biggers avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.