You can use the subversion dump and load commands to perform simple backups and restores of your repository.
To back up a subversion repository, issue the following command:
svnadmin dump /usr/local/MyRepository > /home/charlie/svnBackupFile
Here you pass the dump command to the svnadmin utility. As a parameter, you pass in the name of the repository you want to backup. I then redirect that backup to a file.
To restore the repository from the dump file, you should first create a new repository to hold the data you want to restore:
svnadmin create /home/charlie/foo/bat
To restore the data, enter this command:
svnadmin load /home/charlie/foo/bar < /home/charlie/svnBackupFile
When the repository is restored, you can use the standard command line commands to check files out from it:
svn --username MyName --password MyPassword co svn://home/charlie/foo/bar/CodeFez
About Me
Blog Archive
Followers
Subscribe via email
Labels
- .htaccess (3)
- amazing (1)
- backup (1)
- blog (1)
- browser compatibility (1)
- caching (1)
- cron (1)
- domain (1)
- dump (1)
- ecommerce (1)
- fdisk (1)
- files (1)
- firefox add-ons (1)
- free service (1)
- fun (1)
- google (2)
- google sms channels (1)
- great device (1)
- how to (3)
- jquery (1)
- kamal (1)
- linux (3)
- linux commands (1)
- lynx (1)
- magento (1)
- mirc (1)
- mirc commands (1)
- movie (1)
- mozilla (1)
- mysql (1)
- page rank (1)
- partition (1)
- pdf (1)
- protection (1)
- putty (1)
- quotes (1)
- recording (1)
- redirection (1)
- restore (1)
- robots.txt (1)
- screen capture (1)
- search (1)
- seo (2)
- short film (1)
- short stories (1)
- skype (1)
- sms (1)
- ssh (1)
- svn (1)
- team work (1)
- technology (1)
- telnet (1)
- test (1)
- timezone (1)
- tinyurl (1)
- tool (1)
- tools (5)
- twitter (1)
- url re-write (1)
- URL shorteners (1)
- youtube (3)
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment