Rojo/Backups: Difference between revisions
From charlesreid1
No edit summary |
(→backup) |
||
| Line 1: | Line 1: | ||
==backup== | ==backup== | ||
===what to back up=== | |||
Components to back up: | Components to back up: | ||
| Line 17: | Line 19: | ||
* Configuration files | * Configuration files | ||
* Source code (from github/etc) | * Source code (from github/etc) | ||
===where to back up=== | |||
directory structure: | |||
* organized by component | |||
* organized by date | |||
==restore== | ==restore== | ||
Revision as of 04:03, 4 March 2018
backup
what to back up
Components to back up:
- Lamp server
- Gitea server
- Wiki
- Website
Lamp server:
- Apache config
- Nginx config
- MySQL config
- PHP config
Gitea server:
- Repositories
- Configuration files
- Source code (from github/etc)
where to back up
directory structure:
- organized by component
- organized by date
restore
Components to restore:
- Lamp server
- Gitea server - building gitea from source, deploying
- Wiki
- Website
- Jobs - cron jobs, backup scripts, push/pull scripts, screen processes