GithubHelp home page GithubHelp logo

ccztux / glsysbackup Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 2.0 497 KB

:floppy_disk: glsysbackup is a feature rich (rotation, logging, encryption, renice, re-ionice,...etc.) bash backup script

License: GNU General Public License v3.0

Shell 100.00%
bash backup rotation logging tar lock renice pre-backup-script post-backup-script ionice

glsysbackup's People

Contributors

ccztux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glsysbackup's Issues

Change echo to printf

Change echo builtin to printf builtin to reduce the used shell builtins to a minimum, after we have implemented #27

Add a cleanup function

Add a function to clean up installed packages and unencrypted backup file in case glsysbackup terminates abnormally.

Add error codes

Change variables: script_exit_code to script_error_code and map the error codes to script exit codes.

Wrong rc in output

A wrong variable is used in functions: executePreBackupScript, executePostBackupScript which results in wrong rc in the output message.

Add cli options/args

Add cli options and arguments to override script config like backup_filename, encrypt_backup ....

Rework buildExcludeOpts function

Remove the usage of checkTrailingSlash and removeLastChar functionality. The user is self responsible to add the exclude items correctly.

Comment the configuration variables

As mentioned here: #29 we should comment the whole code. Due to the late release date of version 2.0.0 i think it is at least urgently required to comment the configuration variables.

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.