Giter VIP home page Giter VIP logo

get_system_to_desired_state_scripts's Introduction

Scope: A half decent program to backup and restore a given system to desired state Restoration should be done without internet connection.

################################################################################

Assumptions:

  • System should have Debian 7 or equivalent distros of it.
  • Config files should be parsable by Python's ConfigParser.
  • Backup/restoration will be done to/from a device directly connected to the machine as a disk.
  • Backup machine should be connected to the internet or appropriate repository.
  • While backup is being done, the backup files will not get corrupted/deleted.

################################################################################

Program's high level description:

  1. Check whether it's 1st run or not.
  2. Generate the initial queue of tasks (task_queue), if not done earlier.
  3. Execute tasks from the task_queue and update the task_queue accordingly.
  4. If finished, exit.

################################################################################

Files created by script:

  • task_queue
  • queue_head
  • get_backup_of_desired_state_machine.log.TIMESTAMP (log file)
  • wget.log (if backup_globally_installed_packages = True) (log file)

################################################################################

Tasks:

  • get_dpkg_selections
  • copy_tar_files
  • generate_urls
  • download_packages
  • write_names_of_locally_installed_packages
  • make_tar

################################################################################

get_system_to_desired_state_scripts's People

Contributors

swananddhawan avatar

Stargazers

 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.