code: public void clean() throws BackupException
     {
        LOG.info("Start to clean value storage of the workspace '"+containerConfig.containerName+"'");
        try
        {
           DBCleanService.cleanWorkspaceData(wsConfig);
  
           if (wsConfig.getContainer().getValueStorages() != null)
           {
              SecurityHelper.doPrivilegedExceptionAction(new PrivilegedExceptionAction<Void>()
              {
                 public Void run() throws IOException, RepositoryConfigurationException
                 {
                    for (ValueStorageEntry valueStorage : wsConfig.getContainer().getValueStorages())
                    {
                       File valueStorageDir = new File(valueStorage.getParameterValue(FileValueStorage.PATH));
                       if (valueStorageDir.exists())
                       {
                          DirectoryHelper.removeDirectory(valueStorageDir);
                       }
                    }
  
                    return null;
                 }
              });
           }
        }
        catch (DBCleanException e)
        {
           throw new BackupException(e);
        }
        catch (PrivilegedActionException e)
        {
           throw new BackupException(e);
        }
     }
docs: {@inheritDoc}