recover_absolute_path

--recover_absolute_path

此參數會搭配 recover file 命令使用。以檔案與資料夾的完整路徑復原。如果未指定,則不會使用完整路徑。

範例

您已備份位於 C:\My data\Dir1 的資料夾 My folder,而現在您要從最新的備份將它復原至 D:\Sample\Dir2

recover file --loc=E:\my_backups --archive=my_archive --file="My folder" --target=D:\Sample\Dir2

未指定 --recover_absolute_path 參數。復原的資料夾將會位於 D:\Sample\Dir2\My folder

recover file --loc=E:\my_backups --archive=my_archive --file="My folder" --target=D:\Sample\Dir2 --recover_absolute_path

已指定 --recover_absolute_path 參數。復原的資料夾將會位於 D:\Sample\Dir2\C\My data\Dir1\My folder。