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


:+:하늘을 닮은 호수:+:
http://sunsson.iptime.org
Category
전체 (944)
[Standard] (58)
[OS] (116)
[Develope] (74)
[IT Trend] (347)
[Music] (93)
[삶의 질] (255)
Tag List
trac   3GPP   IPTV   svn   2MB   c99   PSS   RTP   VoIP   H.263   네 멋대로 해라   양동근   이나영   손예진   memory_leak   팔봉산   FLV   ffmpeg   cdn   grep   이명박   aio   beryl   awk   iLBC   강태우   gnuplot   avc   AutoConf   끝이아니길  
«   2008/08   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
‘trac_restore’에 해당되는 글 1건
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

블로그코리아에 블UP하기
Top
Creative Commons License
블로그 내에 모든 저작물은 크리에이티브 커먼즈코리아 저작자표시 - 비영리 - 변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
website stats 믹시 블로그코리아에 블UP하기

Google

블로그 검색
최근 덧글
펼치기
최근 트랙백
펼치기
Today :
136
Yesterday :
198
Total :
62474
Powered by :
Textcube
ver :
1.6.3 : Tenuto
skin by :