What type of content does KM store ?
Knowledge Management allows to organize unstructured content on the portal. Documents, spreadsheets,XMLs, images videos etc. - any file format can be stored in repositories under KM Content on the portal. Each repository is configured via a Repository Manger (RM) which determines the features that the repository provides such as versioning, subscriptions and other collaboration services. Since KM Content stores files, i.e. data it is important to create back up of KM Content to avoid loss of information. Equally important is to backup the metadata of the files in KM Content and the KMC Configuration. Let's look at how this can be achieved on the SAP NetWeaver Enterprise Portal.
There are two types of repositories that can be created in KM - internal and external. Internal repositories are primarily or exclusively used and managed by KM while external repositories are managed by other systems. CM repository is the most commonly used internal repository. In this repository the storage of files, folders and metadata can be controlled by selecting the persistence mode. If DB persistence mode is used the files, folders and metadata are stored in the portal DB. In DBFS mode, metadata and folders are stored in the database, but documents are stored in the file system and in the FSDB mode, folders and documents are stored in the file system, but metadata is stored in the database. File System Repository is the most common type of external repository used where a file system is used to store the content. Therefore, depending on the repository type the content (metadata, files, folders) is either stored in the DB or the file system.
Standard DB and File System backup procedures for the portal can be followed for backup of KM Content too in all types of repositories except CM repository in DBFS persistence mode. For CM repository in DBFS mode, the procedure to be followed is explained here.
Now with the content backed up, the next step is to back up the KMC configuration data. This can be easily done by following SAP note 1571384. With this you have created a back up of KM Content and configuration which can be used to restore KMC to a previous state if required.
Additionally, KM provides an archiving service which allows you to archive content that might not be needed but is required to be stored.