Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nailyk-fr/admin_backups

Backup apache websites
https://github.com/nailyk-fr/admin_backups

Last synced: about 2 months ago
JSON representation

Backup apache websites

Awesome Lists containing this project

README

        

# admin_backups

Make backups of your apache websites into /backups:
- sql
- files
- certs

Crontab sample:
```
# m h dom mon dow command
15 5 * * * time /root/admin_backups/backups
10 * * * * find /backups/ -type f -mtime +30 ! -name "authorized_keys" -delete
```

# Howto
Fill mysqlpass.txt with passwords
If specific user for database is not found, fallback user is used.

Backup user need SELECT and LOCK on every backup DB :
```
CREATE USER 'backups'@'localhost' IDENTIFIED BY 'veryStr0ngP@ssword';

GRANT SELECT, LOCK TABLES ON *.* TO 'backups'@'localhost';
FLUSH PRIVILEGES;
```

IGGY is space separated with DB to exclude. Example:
IGGY="test information_schema"