Skip to main content
improved formatting
Source Link
tanascius
  • 54.1k
  • 24
  • 117
  • 139

Basically it's safe to copy the repository folder if the svn server is stopped. (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).

Example:

  1. Install Cobian Backup
  2. Add a backup task:
  • Set source to repository folder (e.g. C:\Repositories\),

  • Add pre-backup event "STOP_SERVICE" VisualSVN,

  • Add post-backup event, "START_SERVICE" VisualSVN,

  • Set other options as needed. We've set up incremental backups including removal of old ones, backup schedule, destination, compression incl. archive splitting etc.

  • Profit!

  1. Profit!

Basically it's safe to copy the repository folder if the svn server is stopped. (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).

Example:

  1. Install Cobian Backup
  2. Add a backup task:
  • Set source to repository folder (e.g. C:\Repositories\),

  • Add pre-backup event "STOP_SERVICE" VisualSVN,

  • Add post-backup event, "START_SERVICE" VisualSVN,

  • Set other options as needed. We've set up incremental backups including removal of old ones, backup schedule, destination, compression incl. archive splitting etc.

  • Profit!

Basically it's safe to copy the repository folder if the svn server is stopped. (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).

Example:

  1. Install Cobian Backup
  2. Add a backup task:
  • Set source to repository folder (e.g. C:\Repositories\),

  • Add pre-backup event "STOP_SERVICE" VisualSVN,

  • Add post-backup event, "START_SERVICE" VisualSVN,

  • Set other options as needed. We've set up incremental backups including removal of old ones, backup schedule, destination, compression incl. archive splitting etc.

  1. Profit!

Basically it's safe to copy the repository folder if the svn server is stopped.
   (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )
 

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).
 

Example:

  1. Install Cobian Backup
  2. Add a backup task:
     
  • install Cobian Backup

    Set source to repository folder (e.g. C:\Repositories\),

  •  
  • add a backup task:

    Add pre-backup event "STOP_SERVICE" VisualSVN,

    • set source to repository folder (e.g. C:\SVN),
    • add pre-backup event "STOP_SERVICE" VisualSVN,
    • add post-backup event, "START_SERVICE" VisualSVN,
    • set other options as needed. We've set up incremental backups incl. removal of old ones, backup schedule, destination, compression incl. archive splitting etc.
  • profit!

    Add post-backup event, "START_SERVICE" VisualSVN,

  • Set other options as needed. We've set up incremental backups including removal of old ones, backup schedule, destination, compression incl. archive splitting etc.

  • Profit!

Basically it's safe to copy the repository folder if the svn server is stopped.
 (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )
 

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).
 

Example:

  • install Cobian Backup
  •  
  • add a backup task:
    • set source to repository folder (e.g. C:\SVN),
    • add pre-backup event "STOP_SERVICE" VisualSVN,
    • add post-backup event, "START_SERVICE" VisualSVN,
    • set other options as needed. We've set up incremental backups incl. removal of old ones, backup schedule, destination, compression incl. archive splitting etc.
  • profit!

Basically it's safe to copy the repository folder if the svn server is stopped.  (source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).

Example:

  1. Install Cobian Backup
  2. Add a backup task:
     
  • Set source to repository folder (e.g. C:\Repositories\),

  • Add pre-backup event "STOP_SERVICE" VisualSVN,

  • Add post-backup event, "START_SERVICE" VisualSVN,

  • Set other options as needed. We've set up incremental backups including removal of old ones, backup schedule, destination, compression incl. archive splitting etc.

  • Profit!

Source Link
atx
  • 51
  • 1
  • 1

Basically it's safe to copy the repository folder if the svn server is stopped.
(source: https://groups.google.com/forum/?fromgroups#!topic/visualsvn/i_55khUBrys%5B1-25%5D )

So if you're allowed to stop the server, do it and just copy the repository, either with some script or a backup tool. Cobian Backup fits here nicely as it can stop and start services automatically, and it can do incremental backups so you're only backing up parts of repository that have changed recently (useful if the repository is large and you're backing up to remote location).

Example:

  • install Cobian Backup
  • add a backup task:
    • set source to repository folder (e.g. C:\SVN),
    • add pre-backup event "STOP_SERVICE" VisualSVN,
    • add post-backup event, "START_SERVICE" VisualSVN,
    • set other options as needed. We've set up incremental backups incl. removal of old ones, backup schedule, destination, compression incl. archive splitting etc.
  • profit!