Forum Discussion

vaultlearner's avatar
5 years ago

Delete Subfolder From FSA Archive

Hello,

We are archiving Windows File Server from Volume level. Like D$, H$ and subfolders.

Archive Points created on VAC like D$, H$..

We want to delete one subfolder under this volumes. For example "H$\User\Vaultlearner\Documents\Excel". We want to delete only "Excel" folder and items in it  from FSA archive completely

We restored example path already original place and give exclude not archive it anymore.

Should we use PowerShell cmdlet;

Remove-EVFSAFolder

Or we first convert "Excel" folder Archive Point and then use this command:

To delete the archive points:

ArchivePoints delete archive_point_path_share_name

One other way; export that folder from Export Wizard to PST with Export wizard we can use option remove after export.

When we try export wizard we neary tried every possible way to export from spesific path it didn't work. Result of  export report seems succesfull but  PST file never created.

We tried this paths:

\\fileserver.domain.com\H$\User\Vaultlearner\Documents\Excel

\fileserver.domain.com\H$\User\Vaultlearner\Documents\Excel

\H$\User\Vaultlearner\Documents\Excel

\User\Vaultlearner\Documents\Excel

\Excel

Thanks

VaultLearner.

  • plaudone1's avatar
    plaudone1
    5 years ago

    Hi Can,

    What I meant to say is that it is not the most effective way to export FSA archives...especially large ones. 

    You should be able to add the path in the following format \\fileserver.domain.com\H$\User\Vaultlearner\Documents\Excel and that should work.  This is if that path is correct from the ArchiveFolderView.  

    You can find the FolderPath listed in the database using the following query.  The Archive ID is found on the Advanced tab of the archive properties in the vault console.  

    USE ENTERPRISEVAULTDIRECTORY
    SELECT * from ArchiveFolderView
    WHERE ArchiveVEID = 'Archive ID from GUI'
    AND FolderName = 'Excel'

    I confirmed this in lab.  The following shows the path I added to export as \\fileserver.ev.local\Data\Reports\DBUpgrade

    Regards,

    Patrick 

9 Replies

  • Hi vaultlearner,

    You will need to remove all of the items in that folder from Enteprise Vault Search (EVS) or configured Delete on Delete (DoD) and delete the archived items from the file server.  The Allow delete operations must be configured on the Search policy for EVS to allow deletes as well as site setting Users can delete items from archives.  

    The DoD setting is for the volume so any items within that volume would now be able to be deleted unless a Safety folder was configured.  The files have to be placeholders to perform DoD from the file server object. 

    Safety folders. The list shows folders that have been defined as safety folders on this file server. When a placeholder in one of these folders is deleted, the corresponding archived item is not deleted.

    Need to ensure that Delete on Delete is configured properly.

    Site- The Archive Settings tab must have Users can delete items from archives checked.

    Server- The Delete Placeholder tab must have Delete archived file checked.

    Policy- The Shortcuts tab on the policy must have Delete archived file when placeholder is deleted checked.

    Archive Properties - Advanced tab - Allow deletion of archived items and of this archive checked.

    Retention category - Details tab must not have Prevent user deletion of items in this category checked.

     

    Once folder has no archived items you can use https://www.veritas.com/content/support/en_US/doc/115749471-137825802-0/v9030265-137825802 to remove the empty folder from EVS. 

     

    The Remove-EVFSAFolder only removes the configured target folder for archiving but does not remove any archived data.  

     

    Since this is an FSA archive the export to PST is not valid. 

     

    I hope this helps!

     

    Regards,

    Patrick 

    • vaultlearner's avatar
      vaultlearner
      Level 4

      Hi Plaudone1,

      Thank you for detailed explanation.

      DoD option first thing I was thinking. But I didn't know about regisry key. It can work for me.

      But you said "Since this is an FSA archive the export to PST is not valid."

      https://www.veritas.com/support/en_US/doc/122185187-122185191-0/v11743044-122185191

      Here it says you can export FSA.

      I tried to Export Archive Point to the PST without selecting path I select "Export All Items" and it works with no issue for FSA Archive then I collect that files from PST.

      But since my purpose is delete subfolder which is not an archive point, I tried to select "Export All items from this root path" option on Export Wizard it didn't work for me. I was thinking I can export from the path I want while selecting "Remove exported İtems from  Archive "How can I select correct the path?

      Maybe I can mark this Excel folder as a Archive Point then Export PST using Export All İtems(this doesn't comes with Remove exported items from archive as far as I know) or I can delete it from Vac?

      Thanks

      VaultLearner

       

      • plaudone1's avatar
        plaudone1
        Level 6

        Hi Can,

        What I meant to say is that it is not the most effective way to export FSA archives...especially large ones. 

        You should be able to add the path in the following format \\fileserver.domain.com\H$\User\Vaultlearner\Documents\Excel and that should work.  This is if that path is correct from the ArchiveFolderView.  

        You can find the FolderPath listed in the database using the following query.  The Archive ID is found on the Advanced tab of the archive properties in the vault console.  

        USE ENTERPRISEVAULTDIRECTORY
        SELECT * from ArchiveFolderView
        WHERE ArchiveVEID = 'Archive ID from GUI'
        AND FolderName = 'Excel'

        I confirmed this in lab.  The following shows the path I added to export as \\fileserver.ev.local\Data\Reports\DBUpgrade

        Regards,

        Patrick