SHARE
TWEET

Untitled

a guest Jan 26th, 2020 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #                         Controlix
  2.  
  3. #  Features!
  4.  
  5.   -  Programm your own auto backuper, running whenever you want
  6.   - Create a backup by hand using -execute
  7.   - Chose beetwen incremental and full backup
  8.  
  9.  
  10. You can also:
  11.   - Host files online by ncat
  12.   - create jobs remotely
  13.  
  14.  
  15. Main idea comming after this project is to allow in easy way managich Fast Data.
  16. Every know that fast data is very valuable for Companies and Using Ride is high coster. Using this software there is cheap option to use smaller disc or even one for manny stations
  17.  
  18. > For secure and important data like databases there is always problem about hosting and recovering these data but using this backuer with incremental option you can save a real huge amount of space and resources. We recomend to set this for one minute interval for incrementall and one day for full backup.
  19.  
  20.  
  21.  
  22. ### Tech
  23.  
  24. Dillinger uses a number of open source projects to work properly:
  25.  
  26. * [Bash] - Main core of whole application. Everything is based on pure Bash to run correctly on Linux, Mac and even on Windows with emulator
  27. * [Cron] -  scheduler which check tasks
  28. * [ncat] - online hoster , backdorer
  29.  
  30.  
  31. ### Installation
  32. Instalation is very easy. Just clone this repo ;)
  33.  
  34. ### Commands
  35.  
  36. create
  37.  
  38.         --name='backup name'
  39.  
  40.         --full-interval='full backup option, place interval time in seconds'
  41.        
  42.         --inc-interval=' interval backup. Same as full
  43.  
  44.         --path=' root direction to data which will be backuped'
  45.  
  46.         --gzip'if you want gzip'
  47.  
  48.         --ext=' if you want to specify for only files with some exts
  49.               use this in this form . --ext= '.sh,.txt,.doc'
  50.  
  51.         --backup-dir='destination of backups'
  52.  
  53.         -h lub --help help
  54.  
  55.         -v lub --version=  version
  56.  
  57.  
  58.                         name_incr_rok_miesiąc_dzień_godzina_minuta.tar
  59.  
  60.         -execute this allows you to execute single tar quer wihout scheduling with tasks
  61.  
  62.  
  63. read
  64.  
  65.         --name='name'
  66.  
  67.         --date='date of neares backup;
  68.  
  69.                         format datyof date: YEAR_MONYH_DAY_HOUR_MINUTE'
  70.  
  71.         --backup-dir='directory with backup'
  72.  
  73.         --out-dir='Destination of backup
  74.  
  75. cron
  76.  
  77. To activate this you just need to add to cron
  78. * * * * * and path to autoBacku.sh
  79.  
  80. ### Example usage
  81.  
  82.                 ./Main.sh create --name= whatever --path= $HOME/Bash/test --backup-dir= $HOME/Bash/test2 --gzip --full-interval= 109
  83.  
  84.   this backup will be doing automaticly every 3 minutes.
  85.  
  86. and next to execute this you can add -execute or run by hand ./autoBacku.sh
  87.  
  88. to read this you need usage
  89.  
  90.                 ./Main.sh read --name= whatever --path= $HOME/Bash/test2 --out-dir= $Home/Bash/test2  --date = 2020_01_25_15_15
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top