8.7 Recovering iFolder Data from File System Backup

You can recover the individual files and directories within an iFolder irrespective of its type. Use the normal file system restore procedure to restore them from a file system backup.

8.7.1 Recovering a Regular iFolder

  1. Collect information that uniquely identifies the file or directory to be recovered, such as a combination of the following:

    • iFolder name, such as MyiFolder

    • iFolder owner

    • iFolder member list

    • Relative path of the file or directory, such as /MyDir1/MyDir2/myfile.txt

    • Time stamp or approximate time of the version desired

    • Other files or directories in the iFolder

  2. On the iFolder server, use your normal file system restore procedures to restore the iFolder directory from backup to a temporary location.

    For example, restore /var/opt/novell/ifolder3/simias/SimiasFiles/62ba1844-6987-47fc-83ab-84bbd5d6130b/MyiFolder/MyDir1/MyDir2/MyFile to /tmp/MyFile.

    IMPORTANT:Do not restore the file to its original location, or to any location under the Simias store directory.

  3. Compress and send the entire folder (MyiFolder) to the user via e-mail or other data transfer channel to restore the recovered file to the target iFolder.

    Use one of the following methods:

    • Via E-Mail: Send the restored files or directory to the iFolder owner or to any member who has the Write right to the iFolder.

      For example, e-mail the recovered file, such as /tmp/MyFile, to the user. A user with the Write right can restore the file to an iFolder simply by copying it back to the appropriate location on an iFolder client. For example, copy MyFile to /home/username/MyiFolder/MyDir1/MyDir2/MyFile.

    • Via Web Access: In the Web Admin console, select the iFolder tab, search for the iFolder you want to manage, then click the link for the iFolder. On the iFolder page, click Members, then add yourself as a member of the target iFolder.

      In a Web browser, log in to iFolder 3.7 Web Access, browse to locate and open the iFolder, then navigate to the directory where the files were originally located. Upload the file to the iFolder. For example, upload MyFile to MyiFolder/MyDir1/MyDir2/MyFile. If necessary, create the directory you want to restore, then upload the files in it.

8.7.2 Recovering Files and Directories from an Encrypted iFolder

  1. Collect information that uniquely identifies the file or directory to be recovered, such as a combination of the following:

    • iFolder name, such as MyiFolder

    • iFolder owner

    • iFolder member list

    • Relative path of the file or directory, such as /MyDir1/MyDir2/myfile.txt

    • Time stamp or approximate time of the version desired

    • Other files or directories in the iFolder

  2. On the iFolder server, use your normal file system restore procedures to restore the iFolder directory from backup to a temporary location.

    For example, restore /var/opt/novell/ifolder3/simias/SimiasFiles/62ba1844-6987-47fc-83ab-84bbd5d6130b/MyiFolder/MyDir1/MyDir2/MyFile to /tmp/MyFile.

    or

    For example, restore /var/simias/data/simias/SimiasFiles/62ba1844-6987-47fc-83ab-84bbd5d6130b/EnciFolder/Dir1to /tmp/UseriFolder/Dir1.

    IMPORTANT:Do not restore the file to its original location, or to any location under the Simias store directory.

  3. Use any of the following methods to restore the recovered file to the target iFolder:

    Only an iFolder user can create iFolder database on the server. To upload the recovered files and directories, user need to create a database (iFolder store) on the iFolder server. Once a database is created, the user can upload the files or directories to it.

    The iFolder application encrypts the restored encrypted files or directories again before they are uploaded to the server. In effect, the restored files and directories are double-encrypted on the server. Therefore, you need to get the path to the location where the double-encrypted files and directories are stored on the server, and overwrite that with the initial restored data from the server-side.

Transferring Files or Directories

  1. Send the files or directories via e-mail or other file transfer service mechanism, such as FTP.

  2. Ensure that the iFolder owner copies the files or directories to the iFolder in his or her workstation, then synchronizes the iFolder.

    If there are only a few files, the user can use Web Access to upload these files to the iFolder server.

  3. Get the path to the list of files or directories uploaded to the iFolder server.

  4. On the server, go to the particular iFolder store location and overwrite the double-encrypted files or directories uploaded by the user.

  5. Set the permissions for the files or directories to the apache user or the apache group.

    for example wwwrun:www.

  6. Have the iFolder owner synchronizes the iFolder again and test that the data is restored.

Using Dummy Files or Directories

Dummy files or directories are created in the iFolder store on the server as a place holder for the actual restored files or directories.

  1. Send the files or directories via e-mail or other file transfer service mechanism.

  2. Have the iFolder owner create dummy files or directories in the iFolder on his or her workstation, then synchronizes the iFolder.

    If the files are less in number, use the Web Access to upload these dummy files to the iFolder server.

  3. Get the path to the list of dummy files or directories uploaded to the iFolder server.

  4. On the server, go to the particular iFolder store location and overwrite the dummy files or directories with the restored files or directories.

  5. Set the permissions for the files or directories to the apache user or the apache group.

    for example wwwrun:www.

  6. Have the iFolder owner synchronizes the iFolder again and test the data is restored.