PDA

View Full Version : [ubuntu] Easy Server Backup V2



strid3r
April 27th, 2013, 01:42 AM
Here is a program to make automatic backups of your web directory and all mysql databases with security and ease of use in mind.
All backups are compressed and encrypted with des3

Screenshots:

http://i.imgur.com/qDTB2Nd.png
http://i.imgur.com/BlCsnPn.png


Download:

241794


Usage:

To make a backup

backup

To restore web server to previous point

restore

To decrypt a file

dcrypt [filename].crypt [output]

Installation:

Extract and run install.sh with sudo

tar -xvzf ebackup.tar.gz
cd ebackup
chmod +x install.sh
sudo ./install.sh

Follow the prompts to change the default values and choose option 1 when ready to install.



Notes:

To make automatic nightly backups at midnight add the following to cron


sudo crontab -e

0 0 * * * /bin/backup

This program will automatically generate a long password to encrypt/decrypt your files and store it as /root/backuppw.txt
Make a local backup of this file, as all backups made after installation will be encrypted with this password.