Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JOSIF Main Page | Backup Process

Table of Contents
outlinetrue
indent20px
stylenone
printablefalse

Introduction

On the whole, Sourceforge is very reliable and perform weekly backups of all the projects on their site. However they recommend that individual projects also regularly back up their content.
Because of the amount of work being performed by the TIP Team on the OpenOSS site, it is important that there is a process in place to ensure that the whole site is backed up regularly. This page documents the process.

Please see this separate page for Exporting Wiki Pages As Text

Subversion Backup Procedure

Subversion, MediaWiki and MantisBT all need backed up on a weekly regular basis. Normally this will be done Friday afternoon UK time.

Sourceforge provides instructions for this at the following links

Using rsync for backups describes how to backup Subversion. From a Linux system the following command can be used

Code Block
rsync -av openoss.svn.sourceforge.net::svn/openoss/* .

Sourceforge Hosted Apps Backup Procedure

Please note this backup procedure applies to Souceforge hosted apps. We have moved to Atlassian hosted apps

Hosted Apps Backup Facility Describes the procedure to use to backup MediaWiki and MantisBT. Both the SQL database and the Files should be downloaded and backed up. Please note that the MediaWiki files backup has stopped working by this method. Please use the curl method documented below.

Using rsync for backups describes how to backup Subversion. From a Linux system the following command can be used

...

.

...

Using Curl for backup

the mediawiki backup process doesn't always work on sourceforge. We need to use the recommended work around documented in http://sourceforge.net/apps/trac/sourceforge/ticket/7661

to get mediawiki files or database use;

Code Block
  curl --location-trusted 
    --user MySFUserName:MySFPassword \
    -d content=Database (or Files) \
    -d format=gzip \
    -d app=mediawiki \
 https://sourceforge.net/apps/backup/openoss/ >mediawiki_sql.gzip

for example

Code Block


 curl --insecure  --location-trusted  --user cgallen:<PASSWORD>  -d content=Files -d format=gzip -d app=mediawiki https://sourceforge.net/apps/backup/openoss/ >mediawiki.gzip

...