If you are using command base server operating system with text support only, example ‘Ubuntu Server Edition‘, && if its hosting important application like radius billing, then its best practice to have several layers of backup. One good strategy for multi layer backup should be as following.
- Local Backup
- USB Backup
- CLOUD backup either on remote FTP / Google Drive / Dropbox.
- Offline Backup
AND ABOVE ALL, DON’T FORGET, CLUSTER/REPLICATION IS YOUR FRIEND , IT HELPS WHEN YOU ARE IN REAL TROUBLE ! ;) ~ trust me, I am telling your from my personnel experiences z@!b
https://aacable.wordpress.com/2015/06/26/radius-redundancy-by-using-mysql-master-master-replication/
In this example I am using DROPBOX which is very convenient cloud base backup solution (Free up-to 5 GB, suitable for small size network) and can be installed on your windows / Linux / android as well. So I have Dropbox tool on my windows as well as Linux too. So I just add/remove files at one end, the changes replicate to other end automatically.
TWO STEPS INSTALLATION
1- Create your account at Dropbox, its free
First login to https://www.dropbox.com and register your account.
2- Howto install DROPBOX on UBUNTU
Quick Notes:
32-bit:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64-bit:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
Now download the DROPBOX control script
mkdir /temp cd /temp wget https://www.dropbox.com/download?dl=packages/dropbox.py mv download\?dl\=packages%2Fdropbox.py dropbox.py
Now start Dropbox by
/temp/dropbox.py start
It may show you a URL, copy it, and paste in your browser, your Dropbox account will be activated instantly.
- Now test if Dropbox is started
/temp/dropbox.py status
It should be showing something like
Now you can upload your files in
/root/Dropbox
Try to make any test file in this folder, and after few moments, check on Dropbox by login to http://www.dropbox.com
This is very useful if you want to automate your backup process and have multi layer backup system. You can schedule any cron script that can keep checking for Dropbox status and so on.
Regard's Syed Jahanzaib !
Filed under: Linux Related
