mywiki:linux:office_linux_maintenance
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mywiki:linux:office_linux_maintenance [2015/07/13 17:27] – [Auto backup all svn repo with crontab] super | mywiki:linux:office_linux_maintenance [2019/09/15 18:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| TWIKI Server: 10.64.44.136 | TWIKI Server: 10.64.44.136 | ||
| - | Auto save Twiki setup with crontab: | + | Auto save Twiki setup with crontab, ie, at every hour: |
| * add user " | * add user " | ||
| * crontab -e #under user shaoguoh since shaoguoh is a user for svn commit | * crontab -e #under user shaoguoh since shaoguoh is a user for svn commit | ||
| - | 0 4 * * * cd / | + | 0 * * * * cd / |
| | | ||
| {{: | {{: | ||
| + | |||
| + | |||
| + | SVN repo structure | ||
| + | < | ||
| + | /mnt | ||
| + | ├── data | ||
| + | │ ├── ppa-data | ||
| + | │ ├── ppa_service | ||
| + | │ ├── sys_etc_script | ||
| + | │ └── www -->svn repo: TWIKI (also link to apatch2 server) | ||
| + | |||
| + | </ | ||
| | | ||
| ====== Auto backup all svn repo with crontab ====== | ====== Auto backup all svn repo with crontab ====== | ||
| Line 20: | Line 32: | ||
| * crontab -e #under user svnsync since only svnsync have right to backup | * crontab -e #under user svnsync since only svnsync have right to backup | ||
| - | 0 4 * * * / | + | 0 * * * * / |
| | | ||
| {{: | {{: | ||
| + | |||
| + | File Structure | ||
| + | < | ||
| + | /mnt/ | ||
| + | ├── data | ||
| + | │ ├── svn_backup | ||
| + | │ │ ├── repo ->folder to partially backup svn repos from 10.64.44.136 | ||
| + | │ │ ├── svn_cfg | ||
| + | │ │ └── template_repos_svnsync | ||
| + | │ ├── www | ||
| + | │ └── www.new | ||
| + | |||
| + | </ | ||
mywiki/linux/office_linux_maintenance.1436779631.txt.gz · Last modified: (external edit)
