Customers who have enabled archiving may wish to repurpose space saved on data drives, particularly when a large volume of capacity has been freed by the archiving process. In most environments, it is possible to shrink a data drive to achieve this, although there are environments (e.g. cloud computing platforms) in which this functionality may not be available.
In these environments, a saving can be achieved by moving stub files and data from a larger-capacity to a smaller-capacity volume so that the original volume can be removed and repurposed. To do this safely and avoid rehydration, follow the steps below:
1. Backup and subsequently archive the data from the source (larger) drive.
2. Add the target (smaller) drive, ensuring it has capacity for the remaining “live” data.
3. Add the smaller drive to the backup selection (if Full System Recovery is enabled, this should happen anyway) and ensure some data is present on it.
4. Backup both drives.
5. In the ESE Agent, under Tools > Archiving, add the smaller drive (or folders within it) that will eventually contain the stubs to be migrated.
6. Do an InstantData Permanent command-line restore without hydrating stubs to the new drive. The general syntax for the command is as follows:
InstantDataPermanent.exe Server=<StorageServerIPForAccount> Account=<Collection/Group/Account> Key=<EncryptionKey> Path=<PathToStubsToBeRestored> Target=<StubsRestoreTarget> Silent=False Backup=LastBackup Port=443 Secure=true LogLevel=Debug -DownloadOnDemandOnly -SuppressFreeSpaceCheck
(Replace <...> with correct values)
7. Test access to files to ensure that they are behaving correctly.
8. Run a manual backup. Make sure this backup mirrors before the schedule.
9. Let the last backup of the day/archiving process run as normal.
10. Verify that the restored stubs that have not been accessed (from Step 7) have not been re-hydrated.
11. Remove the original drive.