Coder Social home page Coder Social logo

linux-agent's Introduction

Linux Agent

The Linux Agent is client side software that creates and transfers image-based backups of the block devices on a Linux machine.

Table of Contents

Project Overview

The intention of this project is to create a general purpose tool to perform image based backups of Linux machines.

System Requirements

  • Kernel version 2.6.32+
  • Filesystem is ext4, ext3, ext2, or xfs

Build & Installation Instructions

  • All
    • Remember to git submodule init && git submodule update to get the submodule projects
  • Debian-based (e.g. Ubuntu, Mint)
    • You can build the package from linux-agent-deb, or just ./install_deps to get the dependencies and ./one_step_build to build it.
  • Red-Hat based
    • Packages soon! But not yet. So follow the other directions for now.
  • Other
    • You will need to go through the install_deps script and install the files needed using whatever your package manager is. Then, run ./one_step_build. Let me know and I'll be happy to help with this.

Usage

  • Starting the daemon
    • If you installed from the package, it is probably already running. Otherwise, just type dattod.
    • If you built from source, do ./build/dattod
  • Requesting a backup
    1. Setup the destination server
      1. Make a sparse file to back the image. On the system to backup, run blockdev --getsize64 /dev/YOUR_BD to get the size in bytes of the block device to backup. Then, copy that number and do truncate --size=SIZE_OF_BD block_dev.datto on the destination system.
      2. Start nbd-server on the destination system. nbd-server 12345 $(readlink -f block_dev.datto) to start it on port 12345
    2. Get the UUID of the block device to backup by running blkid and copying it out.
    3. Request a backup with ./build/dattocli startbackup --full --vector UUID_FROM_BLKID DESTINATION_HOST 12345

How to Submit a Bug Report

How Does It Work?

linux-agent's People

Contributors

nickgarvey avatar cgordoncarroll avatar

Stargazers

Edward avatar

Watchers

Dan Fuhry 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.