Admin관리자   |    Posting포스트   |    LogOut로그아웃
:+:하늘을닮은호수:+: | Trac | 블로그   |    위치로그   |    태그로그   |    방명록


하늘을 닮은 호수
http://sunsson.iptime.org
Category
전체 (966)
[Standard] (59)
[OS] (119)
[Develope] (77)
[IT Trend] (347)
[Music] (101)
[삶의 질] (262)
Tag List
trac   3GPP   IPTV   svn   2MB   RTP   VoIP   c99   PSS   mysql   memory_leak   H.263   팔봉산   awk   FLV   ffmpeg   cdn   grep   avc   손예진   이명박   양동근   AutoConf   이나영   SIP   trac_authentication   포지션   egrep   SVC   apache  
trac backup & restore
Date : 2007/10/17 18:02

Creating a Backup

To create a backup of a live TracEnvironment, simply run:

  $ trac-admin /path/to/projenv hotcopy /path/to/backupdir

trac-admin will lock the database while copying.

The resulting backup directory is safe to handle using standard file-based backup tools like tar or dump/restore.

Please, note, that hotcopy command does not overwrite target directory and when such exists, hotcopy ends with error: Command failed: [Errno 17] File exists:

This is discussed in ticket: 3198

Restoring a Backup

Backups are simply a copied snapshot of the entire project environment directory, including the SQLite database.

To restore an environment from a backup, simply stop the process running Trac (i.e. the Web server or tracd), restore the directory structure from the backup and restart the service.

Note: Automatic backup of environments that don't use SQLite as database backend is not supported at this time. As a workaround, we recommend that you stop the server, copy the environment directory, and make a backup of the database using whatever mechanism is provided by the database system.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/10/17 18:02 2007/10/17 18:02
Top

블로그코리아에 블UP하기
트랙백 주소 : 이 글에는 트랙백을 보낼 수 없습니다
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
    
◀ 이전 페이지  |  1 |  ... 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 |  ... 966 |  다음 페이지 ▶
Creative Commons License
블로그 내에 모든 저작물은 크리에이티브 커먼즈코리아 저작자표시 - 비영리 - 변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
최근 덧글
펼치기
최근 트랙백
펼치기
Today :
10
Yesterday :
108
Total :
78800
Powered by :
Textcube
ver :
1.7.5 : Risoluto
skin by :