Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 594 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 594 Bytes

Simple Website/Database backup

Downloads any website and/or database using ssh.

Features:

  • Syncs files from remote to local (rsync -avz)
  • Dumps and downloads database SQL file

Requirements:

  • SSH access
  • rsync on local host

For database backup:

  • MariaDB/MySQL
  • mysqldump on remote host

Installation:

git clone https://github.com/panigrc/simple-website-backup.git
chmod +x website-backup.sh
cp website-backup.default.conf website-backup.conf

Edit the website-backup.conf according your setup.

Run the script

./website-backup.sh