Chapter 6. Official Extensions
Prev |  | Next

# Chapter 6. Official Extensions

## System Information Extension

The System Information Extension is a simple Cedar Backup extension used to save off important system recovery information that might be useful when reconstructing a “broken” system. It is intended to be run either immediately before or immediately after the standard collect action.

This extension saves off the following information to the configured Cedar Backup collect directory. Saved off data is always compressed using bzip2.

- Currently-installed Debian packages via dpkg --get-selections

- Disk partition information via fdisk -l

- System-wide mounted filesystem contents, via ls -laR

The Debian-specific information is only collected on systems where `/usr/bin/dpkg` exists.

To enable this extension, add the following section to the Cedar Backup configuration file:

    <extensions>
       <action>
          <name>sysinfo</name>
          <module>CedarBackup2.extend.sysinfo</module>
          <function>executeAction</function>
          <index>99</index>
       </action>
    </extensions>

This extension relies on the options and collect configuration sections in the standard Cedar Backup configuration file, but requires no new configuration of its own.

Prev |  | Next
Optimized Blanking Stategy | Home | Amazon S3 Extension