AIX operating systems

Restore AIX encrypted files

When files are backed up in raw format from an AIX® JFS2 Encrypted File System (EFS), you can only restore them to the same or another JFS2 EFS. They cannot be restored to any different file system, or on a different platform.

When EFS files are backed up in clear text, then you can restore them anywhere. If you restore them to a JFS2 EFS, they are automatically re-encrypted only if the directory to which they are restored has the AIX "EFS inheritance" option set.

After restoring a file that was backed up in raw format, you might find that the file cannot be decrypted. The encryption key originally used for the file might no longer be available in the keystore of the user. In this case, you must restore the keystore used at the time of backup. Restore it to a location different from /var/efs, and use the AIX command "efskeymgr -f " to add its keys to the kernel key ring.

For information on backing up EFS data, refer to AIX JFS2 encrypted file system backup.