Recover files and folders from your ShareFile Data backup 编辑

July 9, 2019 Contributed by:  C

Recover files and folders from your ShareFile Data backup

The ShareFile Administrator console enables you to browse your storage zones for ShareFile Data records for a particular date and time and tag any files and folders that you want to restore. ShareFile adds the tagged items to a recovery queue. You can then run the provided script to restore the files from a backup to the storage location.

Important:

Be sure to use PowerShell 4.0 for this procedure. For more information about PowerShell requirements, see thePowerShell scripts and commands inStorage zones controller system requirements
.


Prerequisites

  1. In the ShareFile web interface, click Admin and then click Storage zones.

  2. Click the zone name and then click Recover Files.

  3. Click in the Recovery Date text box and select a date and time.

    The file list for the storage zone on the specified date and time appears.

  4. Select the check box for each file to restore and then click Restore.

  5. Select the folder to contain the restored files and then click Restore.

    The folder list shows a spinning icon to indicate that the recovery is in process.

  6. If your backup location does not follow the same layout as the storage zone persistent storage, copy the files from the backup location to the location you specified when editing DoRecovery.ps1.

  7. The DoRecovery.ps1 PowerShell script is unsigned, so you might need to change your PowerShell execution policy for this procedure.

    1. Determine if your PowerShell execution policy allows you to run local, unsigned scripts. In a PowerShell window: Get-ExecutionPolicy

      For example, a policy of RemoteSigned, Unrestricted, or Bypass allows you to run unsigned scripts.

    2. To change your PowerShell execution policy: Set-ExecutionPolicy RemoteSigned

  8. Set the user context for this PowerShell session. In a command window, run one of the following commands.

    • If using the default Network Service account:

       PsExec.exe -i -u "NT AUTHORITY\NetworkService" C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell <!--NeedCopy-->
    • If using a named user for the storage zones controller application pool:

       PsExec.exe -i -u "domain\username" C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell <!--NeedCopy-->

    A PowerShell window opens.

  9. Recover the file:

    1. Open a Command Prompt window as administrator.

    2. Navigate to the location of PsExec.exe and enter:

      PsExec.exe -i -u "NT AUTHORITY\NetworkService" C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell<!--NeedCopy-->
    3. In the PowerShell window, navigate to:

      cd C:\inetpub\wwwroot\Citrix\StorageCenter\Tools\Disaster Recovery

    4. Run the recovery script:

      .\DoRecovery.ps1

    The PowerShell window will include the message “Item recovered”. Recovered files are copied from the backup to the persistent storage location. After you refresh the console, the spinning icons disappear from the ShareFile web interface for files successfully recovered.

    If a file that is deleted from the ShareFile web application has not yet been deleted by the storage zones controller delete service, the file is still in the persistent storage location. In that case, file recovery is immediate and a spinning icon does not appear in the ShareFile web interface.

    If you cannot recover a file, refer to the help file provided in the Disaster Recovery folder.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:99 次

字数:4986

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文