mywiki:linux:office_linux_maintenance
This is an old revision of the document!
Table of Contents
Auto Save TWIKI to SVN with crontab
TWIKI Server: 10.64.44.136
Auto save Twiki setup with crontab:
- add user “shaoguoh” to group www-data
- crontab -e #under user shaoguoh since shaoguoh is a user for svn commit
0 4 * * * cd /mnt/data/www/twiki && ../s_add_wiki_new_file
Auto backup all svn repo with crontab
Backup Server: local vmawre with ubuntu 14.x. Its dynamically IP currently is 10.64.44.51
Auto backup all svn repo with crontab (partial backup):
- Ordered List ItemSetup svn daemon for partial backup
svnserve -d -r /mnt/data/svn_backup/repo/ –config-file mnt/data/svn_backup/svn_cfg/conf/svnserve.conf
- Create user svnsync since only user svnsync allowed to backup svn
- crontab -e
0 4 * * * /home/svnsync/bin/svn_backup.py
mywiki/linux/office_linux_maintenance.1436779080.txt.gz · Last modified: (external edit)
