Symlinks are now handled correctly
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Duplicati.Library.Main.Operation.Restore
|
||||
{
|
||||
try
|
||||
{
|
||||
var files = db.GetFilesToRestore(true).OrderByDescending(x => x.Length).ToArray();
|
||||
var files = db.GetFilesToRestore2(true).OrderByDescending(x => x.Length).ToArray();
|
||||
|
||||
result.OperationProgressUpdater.UpdatePhase(OperationPhase.Restore_DownloadingRemoteFiles);
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace Duplicati.Library.Main.Operation.Restore
|
||||
missing_blocks = new_missing_blocks;
|
||||
}
|
||||
|
||||
if (missing_blocks.Count == 0 || (missing_blocks.Count == 1 && missing_blocks[0].BlockSize == 0))
|
||||
if (file.BlocksetID != LocalDatabase.SYMLINK_BLOCKSET_ID && (missing_blocks.Count == 0 || (missing_blocks.Count == 1 && missing_blocks[0].BlockSize == 0)))
|
||||
{
|
||||
if (options.Dryrun)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user