티스토리 뷰
1. 백업
dump: usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER] [--incremental]]
- 저장소 전체 백업 : synadmin dump /repo > repo.dump
- 부분 백업(갱신번호 범위 기준) : synadmin dump /repo -r 1:10 > repo.dump
Valid options:
-r [--revision] ARG : specify revision number ARG (or X:Y range)
--incremental : dump incrementally
--deltas : use deltas in dump output
-q [--quiet] : no progress (only errors) to stderr
2. 복구
load: usage: svnadmin load REPOS_PATH
- 덤프 파일로부터 복구 : synadmin load /repo < repo.dump
Valid options:
-q [--quiet] : no progress (only errors) to stderr
--ignore-uuid : ignore any repos UUID found in the stream
--force-uuid : set repos UUID to that found in stream, if any
--use-pre-commit-hook : call pre-commit hook before committing revisions
--use-post-commit-hook : call post-commit hook after committing revisions
--parent-dir ARG : load at specified directory in repository
|
댓글