public Task RestoreAsync(string backupFolderPath)
        {
            string stateBin = Path.Combine(backupFolderPath, "state.bin");

            if (!File.Exists(stateBin))
            {
                throw new InvalidOperationException("No backed up state exists.");
            }

            using (var fs = File.OpenRead(stateBin))
            {
                _store.Deserialize(fs);
            }
            return(Task.FromResult(true));
        }