LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2010, 01:30 PM   #1
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Subversion backups?


Hello,

I'm playing around with Subversion and focusing on how to back up subversion repositories.

I'm doing this:
Code:
svnadmin dump /path/to/my/repository/ > /path/to/my/backup_svn/repository-`date '+%Y%m%d_%Hh.%Mm.%Ss'`.dmp
and I'm also finding tons of script examples on how to do "backups" but I feel like I'm missing the obvious; the data?

When I review the shell output my command produces, the svnadmin dump looks to me like it is making a backup of the database that exists in a repository. But does this "dump" also capture the binary and text data that has been checked in to a repository?

Or do you have to really do TWO backup processes; one being a directory copy to capture the data, the second being "svnadmin dump blah > blah.dmp" to capture the repository database structure?

Any clarification from someone who administers Subversion would be greatly appreciated!
 
Old 05-02-2010, 02:12 AM   #2
rjwilmsi
Member
 
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
If you want a copy of the entire repository then I think you should be looking at using the hotcopy command. If, on the other hand you just want a copy of the latest revision of all the files then you would use the export command.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion for Filesystem Backups jhwilliams Linux - Software 1 12-10-2008 08:03 PM
Practical subversion backups pulitz Linux - Software 2 07-21-2005 08:19 AM
subversion varun_33 Linux - Software 1 04-20-2005 12:37 PM
subversion sethgeekx86 Slackware 8 07-26-2004 03:29 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration