Prepare storage zones controller for file recovery 编辑

Warning:

The ShareFile recovery feature does not automatically back up your persistent storage location. You are responsible for choosing a backup utility and running it every 1 to 7 days.

How you prepare for file recovery depends on where your data is stored:

  • A supported third-party storage system — If you use a third-party storage system with storage zones controller, your third-party storage is redundant and a local backup is not required. However, be aware that a ShareFile user who deletes a file has the ability to recover the file from the Recycle Bin for a brief period. A file cannot be recovered from the ShareFile Recycle Bin after 45 days. After the recovery period, the file is removed from the zone and therefore from the redundant third-party storage. If that recovery time is not adequate, consider one of these solutions:
    • Increase the amount of time that a file remains in the ShareFile recycle bin. To do that, change the value of the Period setting in C:\inetpub\wwwroot\Citrix\StorageCenter\SCFileCleanSvc\FileDeleteService.exe.config. For more information, refer to Customize storage cache operations. Keep in mind that increasing the retention time also increases the amount of third-party storage needed.
    • Create a local back up your StorageZone files every seven days and determine the appropriate retention policy for the backups.
  • On-premises storage — If you use a locally-maintained share for private data storage, you are responsible for backing up your on-premises storage zones controller local file storage and registry entries. ShareFile archives the corresponding file metadata that resides in the ShareFile cloud for 3 years. Important: To protect against data loss, it is critical that you take a snapshot of your storage zones controller server, back up its configuration, and back up your local file storage.

After you prepare your storage zones controller for file recovery as described in this topic, you can use the ShareFile Administrator console to:

  • Browse your storage zones for ShareFile Data records for a particular date and time and then tag any files and folders that you want to restore. ShareFile adds the tagged items to a recovery queue. You then run a recovery script to restore the files from your backup to the persistent storage location.

    For more information, refer to Recover files and folders from your ShareFile Data backup.

  • Reconcile the metadata stored on the ShareFile cloud with your on-premises storage when you cannot recover data from your on-premises storage. The ShareFile reconcile feature permanently removes from the ShareFile cloud the metadata for files that are no longer in a storage zone on a specified date and time.

    For more information, refer to Reconcile the ShareFile cloud with a storage zone

Prerequisites

  • Windows Server 2012 R2 or Windows Server 2008 R2
  • Windows PowerShell (32-bit and 64-bit versions) must support .NET 4 runtime assemblies. For more information, refer to “PowerShell scripts and commands” in storage zones controller system requirements.

  • PsExec.exe - PsExec enables you to launch PowerShell using the network service account. You can also use PsExec to schedule recovery tasks. Download PsExec.exe from https://docs.microsoft.com/en-us/sysinternals/downloads/psexec and follow the installation instructions on that page.

Summary of files used for disaster recovery

The following files, located in C:\inetpub\wwwroot\Citrix\StorageCenter\Tools\Disaster Recovery, are used for disaster recovery.

File nameDescription
DoRecovery.ps1PowerShell script executed by Windows Task Scheduler to handle the recovery process. This file stores the file backup and storage locations.
Recovery.psm1PowerShell module that handles the recovery queue operations.
recovery.logLog file that stores the output of a recovery process.
recoveryerror.logLog file that stores the errors in the recovery process.
LitJson.dllA .Net library to handle conversions from and to JSON (JavaScript Object Notation) strings.

To set up the backup folder

On the backup server, create the folder where you will back up the persistentstorage folder.

The storage zones for ShareFile Data file backup should follow the same layout as the storage zones controller persistent storage.

If your backup location does not follow the same layout as the storage zones controller persistent storage, you must perform an additional step during the recovery process to copy files from the backup location to the location that you specify in the Recovery PowerShell script.

Storage layout

Backup layout

\\\\PrimaryStorageIP
  \\StorageLocation
   \\persistentstorage
    \\sf-us-1
     \\a024f83e-b147-437e-9f28-e7d03634af42
      \\fi3d85dc\_1d6c\_49b0\_8faa\_1f36ef3d83b5
       \\fi7d5cbb\_93c8\_43f0\_a664\_74f27e72bc83
        \\fi47cd7e\_64c4\_47be\_beb7\_1207c93c1270

\\\\BackupStorageIP
 \\BackupLocation
  \\persistentstorage
   \\sf-us-1
    \\a024f83e-b147-437e-9f28-e7d03634af42
     \\fi3d85dc\_1d6c\_49b0\_8faa\_1f36ef3d83b5
      \\fi7d5cbb\_93c8\_43f0\_a664\_74f27e72bc83
       \\fi47cd7e\_64c4\_47be\_beb7\_1207c93c1270
<!--NeedCopy-->

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

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

发布评论

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

词条统计

浏览:67 次

字数:6808

最后编辑:7 年前

编辑次数:0 次

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