Giter Club home page Giter Club logo

cpanel_bkp_dropbox's Introduction

CPANEL BACKUP TO DROPBOX USING WGET

Cpanel Backup using wget to pull it and dropbox as destination using dropbox uploader. Also ofuscation with SHC

Requirements:

https://github.com/andreafabrizi/Dropbox-Uploader

Installed and configured to use API

In order to avoid to have the password and username in plain text the recommendation is to use the following to obfuscate the code

http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz

http://www.datsi.fi.upm.es/~frosal/sources/shc.html

http://www.thegeekstuff.com/2012/05/encrypt-bash-shell-script/

STEPS:

mkdir /home/$username/scripts

cd /home/$username/scripts

wget https://github.com/Vidanez/cpanel_bkp_dropbox/cpanel_bkp_dropbox/backup_wget.sh

curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh

chmod 755 dropbox_uploader.sh

./dropbox_uploader.sh

(follow instructions from script and for help https://github.com/andreafabrizi/Dropbox-Uploader)

curl "http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz" -o shc-3.8.9.tgz

tar zxvf shc-3.8.9.tgz

rm shc-3.8.9.tgz

Edit script backup_wget.sh and add values for USERNAME, PASSWORD, VPS

cd shc-3.8.9

./shc -v -r -f ../backup_wget.sh

cd ..

rm -rf shc-3.8.9

rm backup_wget.sh backup_wget.sh.c

(Put in a crontab the backup_wget.sh.x and Enjoy it :) )

cpanel_bkp_dropbox's People

Contributors

vidanez avatar

Watchers

 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.