Installing Duplicati - Server and Workstation Backup Software
Duplicati is a backup client that securely stores encrypted, incremental, compressed remote backups of local files on cloud storage services and remote file servers. Duplicati supports not only various online backup services like OneDrive, Amazon S3, Rackspace Cloud Files, Tahoe LAFS, Google Docs but also any servers that support SSH/SFTP, WebDAV, or FTP.
Duplicati uses standard components such as rdiff, zip, AESCrypt and GnuPG. This allows to recover backup files even if Duplicati is not available. Released under the terms of the GNU Lesser General Public License (LGPL), Duplicati is free software. Source code is available from Duplicati's developer site.
Currently the installation is for Debian and Ubuntu distributions.
Optional - Login as a user equivalent to root
[root@hackthesec /]# ssh -X {user}@{webserver}.com
Install a windows manager:
[root@hackthesec /]# apt-get install x-window-system-core gdm3
Install requirements for building duplicati if you would rather compile it yourself
[root@hackthesec /]# apt-get install build-essential debhelper mono-xbuild \mono-devel libglib2.0-cil-dev gtk-sharp2 sudo vim iceweasel git
Download Duplicati from Git repository
[root@hackthesec /]# git clone https://github.com/duplicati/duplicati.git
Change to directory
[root@hackthesec /]# cd /duplicati/Installer/debian help
Make the script build-package.sh executable:
[root@hackthesec /]# chmod +x build-package.sh
Compile the source to Debian deb package:
[root@hackthesec /]# ./build-package.sh
Now we can install Duplicati:
[root@hackthesec /]# dpkg -i duplicati_2.0.0.99-1_all.deb
Error?
Note: Resolve dependency errors by typing the below command:
Install required dependencies:
[root@hackthesec /]# apt-get install -f
Type Duplicati now:
[root@hackthesec /]# duplicati
After you have initailly started the web interface is on port:
localhost:8200
Click on the Add new backup
If you encounter the message below to update from the web interface, skip or ignore it. Do not update
Enter the Name, backup options can be local folder, ftp, sftp, WebDEV, Amazon s3, Google Drive, Microsoft OneDrive, Rackspace Cloudfiles, and Tahoe LAFS.
Tab pull-down change target which could be Google drive or S3, etc:
I will pick Google drive for an example:
I'll bee adding my web server path and my apache2 configuration. No filter will be giving here since I want to download everything into my S3 or Google drive account.
I just scheduled a daily backup @ 21 hundred hours everyday
That does it. I have a backup scheduled to backup everything from /var/www and /etc/apache2 which will send to Google docs/drive or which ever target I pick.