Created
May 18, 2013 14:06
-
-
Save yourdesigncoza/5604514 to your computer and use it in GitHub Desktop.
Backing Up To DropBox just sounds "cool" so here we go ::: I'm running a Centos 6 VPN with Webmin and Virtualmin GPL install, with "reseller" accounts ( not that I sell, I just like the functionality ) so I needed a way to create nightly BU's of each account ::: Below are some links I found very handy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backing Up To DropBox just sounds "cool" so here we go ::: I'm running a Centos 6 VPN with Webmin and Virtualmin GPL install, with "reseller" accounts ( not that I sell, I just like the functionality ) so I needed a way to create nightly BU's of each account ::: Below are some links I found very handy ::: | |
# IMPORTANT : add your own data or parameters, I make use of double segments [[ your variable ]]. eg. ssh root@[[ 96.172.44.11 ]] should be replaced with ssh root@888.88.88.88 where "888.88.88.88" is your value, variable etc. I have a habit of using ":::" to indicate line ending and end of paragraph, crazy I know but be warned its just how I write ::: All notes are for my own use & should you use any it's at your own risk, it's NOT a Tutorial ::: | |
# Resource | |
# http://kiteplans.info/2012/03/26/centos-virtualmin-server-backups-dropbox/ ( Centos ) | |
# http://www.dropboxwiki.com/Using_Dropbox_CLI | |
# https://whatbox.ca/wiki/Dropbox ( Ubuntu ) | |
# **Dropbox-Uploader ( Bash Script ) https://github.com/andreafabrizi/Dropbox-Uploader/blob/master/dropbox_uploader.sh | |
# http://blog.david-jensen.com/development/backup-wordpress-to-dropbox-amazon-ec2-centos/ ( Amazon EC2 - Centos ) | |
# Install Dropbox from source ::: | |
# 64 Bit | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
# 32 Bit | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - | |
# Juice it up | |
~/.dropbox-dist/dropboxd | |
# You will be requirred to login to your account or create a new one with a link similar to "https://www.dropbox.com/cli_link?host_id=0acc95e229e574cca0b9ff" | |
# You will also receive a confirmation by mail ( your dropbox account mail ) | |
If you're following this I suggest you follow the above Tut's ::: | |
######################################## | |
# Now that we have a functioning DropBox synced folder we now need to run daily BU's ::: | |
######################################## | |
# I Use virtualmin's built in Back-Up | |
# http://www.virtualmin.com/documentation/system/backup-and-restore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment