...
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. Just it!