code: public void restore() throws BackupException
     {
        try
        {
           SecurityHelper.doPrivilegedIOExceptionAction(new PrivilegedExceptionAction<Void>()
           {
              public Void run() throws IOException
              {
  
                 for (int i = 0; i < zipFiles.size(); i++)
                 {
                    File zipFile = zipFiles.get(i);
                    File dataDir = dataDirs.get(i);
  
                    if (zipFile.isDirectory())
                    {
                       DirectoryHelper.uncompressEveryFileFromDirectory(zipFile, dataDir);
                    }
                    else
                    {
                       DirectoryHelper.uncompressDirectory(zipFile, dataDir);
                    }
                 }
  
                 return null;
              }
           });
  
        }
        catch (IOException e)
        {
           throw new BackupException(e);
        }
     }
docs: {@inheritDoc}