Giter Site home page Giter Site logo

quick-back's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quick-back's Issues

Versions

Add tags to mark previous versions of quick-back

[toolchain] Get some CI working

Travis sudo-enabled builds might work but we need to generate some sort of ramdisk, emulated fs, etc. for testing, otherwise we'll have to use the --force-ignore option to backup b/w two normal dirs.

functions cleanup

create a new function that is run first that populates all variables relating to system information

Exclude browser caches

auto exclude browser caches to increase speed and reduce bloat due to their constant changes and unnecessity

Config File Project

Goals: Make quickback Extensible, Versatile, and Configurable

Basic feature roadmap:

  • All command line options will still be fully supported, nothing will be "configfile only"
  • The master config file, shipped by default, will be located at /etc/quick-back.conf. This file shouldn't need to be edited by the user, but if it is, a .pacnew of distro-equivalent will be created by the PM on updates.
  • Additional config files should be looked for in the /etc/quick-back.d/ and read according to the number at the start of the file name, a la systemd
  • Finally, a config file named quick-back.conf may be placed in the root directory of the source filesystem/directory, a commandline option must be added to prevent security vulnerabilities if, say a root user (which we currently require) backed up home directories and a malicious user added a quickback.conf which ran commands as root as part of a conditional_.
  • As a overarching precedence, all commandline options have the final say. Additional config files should also be specifiable on the cmdline. The -nd, --nodefaults option should be rethought to make sense in this context.
  • No more defaults will be hardcoded into the program, except sanity checks. The behavior of the application beyond simple rsync execution will be specified in the default quick-back.conf file.

File format:

  • A standardized format (e. XML, YAML, Windows INI-style, etc. will be selected.
  • At a minimum, control directives shall be programmed such that it is possible to declare sections of a file applicable only to certain destinations, matched by regex. Controls shall also be available so that a custom command can be run, using variables such as $source, $dest, $runninguser, ... to make the script extensible as well as configurable.

Branch: all development will be done in the configfile branch of the main repo.
Milestone: v2.0

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.