Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nailyk-fr/admin_backups
- Owner: nailyk-fr
- Created: 2017-02-02T15:36:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T18:50:55.000Z (about 1 year ago)
- Last Synced: 2024-03-15T19:57:35.940Z (10 months ago)
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# admin_backups
Make backups of your apache websites into /backups:
- sql
- files
- certsCrontab 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"