Backup

This instruction assume that WEKO is running on the following environment. This is just an example.

Both application directory and database have to be made backup.
In case of the application directory, sample of backup commands are like this.

cd /var/www/html/nc2
/bin/tar zcvf /var/www/backup/wekoBackup.tgz *

 

In case of the database, sample of backup commands are like this.

/usr/bin/mysqldump -unc2user -pnc2pass nc2db > /var/www/backup/wekoBackup.sql

Restore

Its so easy to restore the WEKO from the backup files which were taken by the above. It's just restore the application directory and database itself.

Version-Up

In order to get the latest source code of WEKO repository, you need to check out it from the source repository.
This is an example in case of trunk code. If you are using a stable branch, please modify the end point.

svn co http://forge.at.nii.ac.jp/svn/nc/repository/trunk repository

Next, you need to copy the code to the application directory It's better to make a backup before this process.

sudo cp -rp repository /var/www/html/nc2/webapp/modules/

Login to the NetCommons as an administrator then go to the "Control Panel" -> "Module Manager".
In this case, you can see that the WEKO is updating from 2.1.4 to 2.1.6.
Please click the "Update" link on the WEKO column.

After clicking the updata link, you will see the pop-up winodw something like this.