"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Duplicati/Library/Main/Operation/RestoreHandler.cs" between
duplicati-2.0.5.104-2.0.5.104_canary_2020-03-25.tar.gz and duplicati-2.0.5.106-2.0.5.106_canary_2020-05-11.tar.gz

About: Duplicati is a backup client that securely stores encrypted, incremental, compressed backups on local devices, cloud storage services and remote file servers (for Windows, macOS and Linux). A remark: This officially "pre-release" seems to run stable.

RestoreHandler.cs  (duplicati-2.0.5.104-2.0.5.104_canary_2020-03-25):RestoreHandler.cs  (duplicati-2.0.5.106-2.0.5.106_canary_2020-05-11)
skipping to change at line 335 skipping to change at line 335
throw new UserInformationException(Strings.Common.InvalidCry ptoSystem(m_options.BlockHashAlgorithm), "BlockHashAlgorithmNotSupported"); throw new UserInformationException(Strings.Common.InvalidCry ptoSystem(m_options.BlockHashAlgorithm), "BlockHashAlgorithmNotSupported");
if (filehasher == null) if (filehasher == null)
throw new UserInformationException(Strings.Common.InvalidHas hAlgorithm(m_options.FileHashAlgorithm), "FileHashAlgorithmNotSupported"); throw new UserInformationException(Strings.Common.InvalidHas hAlgorithm(m_options.FileHashAlgorithm), "FileHashAlgorithmNotSupported");
if (!filehasher.CanReuseTransform) if (!filehasher.CanReuseTransform)
throw new UserInformationException(Strings.Common.InvalidCry ptoSystem(m_options.FileHashAlgorithm), "FileHashAlgorithmNotSupported"); throw new UserInformationException(Strings.Common.InvalidCry ptoSystem(m_options.FileHashAlgorithm), "FileHashAlgorithmNotSupported");
if (!m_options.NoBackendverification) if (!m_options.NoBackendverification)
{ {
m_result.OperationProgressUpdater.UpdatePhase(OperationPhase .Restore_PreRestoreVerify); m_result.OperationProgressUpdater.UpdatePhase(OperationPhase .Restore_PreRestoreVerify);
FilelistProcessor.VerifyRemoteList(backend, m_options, datab
var backupDatabase = new LocalBackupDatabase(database, m_opt ase, result.BackendWriter, false, null);
ions);
var tempFilelistVolumes = backupDatabase.GetTemporaryFilelis
tVolumeNames(latestOnly: false);
FilelistProcessor.VerifyRemoteList(backend, m_options, datab
ase, result.BackendWriter, tempFilelistVolumes);
} }
//Figure out what files are to be patched, and what blocks are n eeded //Figure out what files are to be patched, and what blocks are n eeded
m_result.OperationProgressUpdater.UpdatePhase(OperationPhase.Res tore_CreateFileList); m_result.OperationProgressUpdater.UpdatePhase(OperationPhase.Res tore_CreateFileList);
using(new Logging.Timer(LOGTAG, "PrepareBlockList", "PrepareBloc kList")) using(new Logging.Timer(LOGTAG, "PrepareBlockList", "PrepareBloc kList"))
PrepareBlockAndFileList(database, m_options, filter, result) ; PrepareBlockAndFileList(database, m_options, filter, result) ;
//Make the entire output setup //Make the entire output setup
m_result.OperationProgressUpdater.UpdatePhase(OperationPhase.Res tore_CreateTargetFolders); m_result.OperationProgressUpdater.UpdatePhase(OperationPhase.Res tore_CreateTargetFolders);
using(new Logging.Timer(LOGTAG, "CreateDirectory", "CreateDirect ory")) using(new Logging.Timer(LOGTAG, "CreateDirectory", "CreateDirect ory"))
 End of changes. 1 change blocks. 
7 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)