Har-Kuun / easybackup

A Short and Easy Website Files/DB FTP Backup Script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easybackup

A Short and Easy Website Files/DB FTP Backup Script

Works for websites with single DB.

First time setup:

For Ubuntu/Debian:

apt-get install ftp -y
wget https://raw.githubusercontent.com/Har-Kuun/easybackup/master/backup.sh && chmod +x backup.sh && mkdir ~/backup

For CentOS/Fedora:

yum install ftp -y
wget https://raw.githubusercontent.com/Har-Kuun/easybackup/master/backup.sh && chmod +x backup.sh && mkdir ~/backup

Then:

Edit the 2-12 lines of backup.sh with your own DB credentials, FTP credentials, and your file paths.

To Backup:

./backup.sh

If you are looking for a stable FTP backup storage service, take a look at 1fichier.

Thanks for using this script.

About

A Short and Easy Website Files/DB FTP Backup Script


Languages

Language:Shell 100.0%