Sakai resources

From UFP-UV Sakai Wiki

Jump to: navigation, search

Contents


Description

Sakai Content Hosting Service uses the filesystem for storing Sakai resource files. These files are split to two different servers:

  • Recent files: elearning.ufp.pt:/mnt/data/sakai-content-hosting
  • Older files: elearning-ss.ufp.pt:/servicos/sakai-content-hosting-2
    • Mounted via NFS at elearning.ufp.pt:/mnt/nfs/sakai-content-hosting-2


Backup

  • Recent files (on elearning.ufp.pt:/mnt/data/sakai-content-hosting) are automatically backed up by the Centro de Inform├ítica da UFP.
  • Older files (on elearning-ss.ufp.pt:/servicos/sakai-content-hosting-2) are automatically backed up (via a nightly cron job) to the network-connected SAN disk: elearning-ss.ufp.pt:/emcf/sakai-content-hosting-2-backup.


Procedure

Since the data disk attached to elearning.ufp.pt has some size limitations, older files need to be periodically moved to secondary storage server (elearning-ss.ufp.pt); this is done via the /servicos/bin/move-CHS-to-CHS2 script:


move-CHS-to-CHS2:

Usage:       move-CHS-to-CHS2 volume year
 
Description: Moves year folders from Sakai Content Hosting I (elearning.ufp.pt) 
             to Sakai Content Hosting II (elearning-ss.ufp.pt), linking old folder
             to the new location.
 
Arguments:
             volume   One of: vol1, vol2 or vol3
             year     One year, starting from 2005


Deleted Files

Files deleted from Sakai will remain on back ups for a maximum of one month. Since the related database entry is also deleted, in order to keep track of deleted resources for an evetual restore operation, everyday (via a nightly cron job), new entries from the sakai.CONTENT_RESOURCE database table are copied to the archive database table sakai_archive.CONTENT_RESOURCE using the script: elearning.ufp.pt:/servicos/bin/sakai-archive.pl.

Personal tools