GithubHelp home page GithubHelp logo

backpoi's Introduction

HI!

Backpoi is easy and simple bash script with shell commands used for backup. Main goal is to made a copy of files which are on one drive (eg. SSD) and copy it to second drive to store as HDD or NAS storage

MANUAL:

  1. Both files should be in this same folder eg for ubuntu 22.04 (tested) strongly suggested is /usr/local/bin/ thanks to that it is possoble to access to script by typing $backpoi instead of full path
  2. Script allows for 2 types o backup:
  • manual - requires parameter of destination path and there create new folder for backup (name is date_time of script)
  • periodical - both source and destination for backup cames from config file. Backup is only made if given time for each backup period is exeed. Script will copy all files from all sources (path*) to all destinations (dest*). In each destination folder will be made or updated folders with names based on b*_period values eg. "1d", "30d", "17d". Then subfolders (A and B) in each directory will be made, script will update subdirectory changed intermittently - after each given period subfolder A or B will be purged and filled with latest backup
  1. For scheduling backup use crontab by typing crontab -e or backpoi -s

backpoi's People

Contributors

silicon51 avatar

Stargazers

Krzysztof Strehlau 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.