webbackup
Some simple bash wrapper scripts around Gundolf Kiefers backup2l which can be used to backup and restore multiple hosted websites without direct database access through lftp and curl via phpMyAdmin version 3 or 4.
Installation
- Download and unpack v0.1 of webbackup: webbackup.tar.gz
d61eeed854ca3f3f5b31cd1616bdf88750f9ef10ce26be80dfb693665b5f7b7b (SHA256) - Download backup2l v1.5 and unpack the archive into the webbackup directory. This results in the following directory structure:
webbackup/ ├── backup2l -> backup2l-1.5/backup2l ├── backup2l-1.5 │ ├── ... │ . │ . │ └── zz-backup2l ├── backup-ftp.sh ├── backup-mysql.sh ├── conf │ ├── main.conf │ ├── mysql-params-3.conf │ └── mysql-params-4.conf ├── mysql-export.sh ├── restore-ftp.sh └── sites └── example ├── backup ├── backup2l.conf ├── ftp ├── ftp.conf ├── mysql ├── mysql.conf └── restore
WARNING
Test backup and restore procedures extensively before going productive!