This sub-command can be use for back up and restore svn repository
Dump repository from SVN server
1. Dump SVN database from SVN server
- svnadmin dump /svn/repos/repos1/ | gzip -9 > /tmp/repos1.dump.gz
2. Copy file repos1.dump.gz for back up
Restore from dumped repository
3. get svn server installed
4. Import SVN data from dump file with this command
- zcat repos1.dump.gz | svnadmin load /svn/repos/newrepos/
ไม่มีความคิดเห็น:
แสดงความคิดเห็น