Possible to Include files restored in log

The restore job logs only show the Duplicati parts of restored files. I never get the names of the files. Am I missing something? Do I need to activate Verbose logs for this?
I’d like to get a log of files that were restored, (and last modified date) and of course any that had problems. - thanks!

FYI, the file restored was called its-1-10-17.xls and its modified date was 1-10-2017

“2021-05-14 15:07:36 -04 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 3 remote files are required to restore”,
“2021-05-14 15:07:36 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bc4389f5159bf4ab9aa417779c1205789.dblock.zip.aes (49.92 MB)”,
“2021-05-14 15:08:15 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-bc4389f5159bf4ab9aa417779c1205789.dblock.zip.aes (49.92 MB)”,
“2021-05-14 15:08:15 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0147e6c7dc034163b5f5c3fbc460baea.dblock.zip.aes (49.98 MB)”,
“2021-05-14 15:08:52 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-b0147e6c7dc034163b5f5c3fbc460baea.dblock.zip.aes (49.98 MB)”,
“2021-05-14 15:08:52 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b5158635e564542bba29b46ae37e87f5b.dblock.zip.aes (49.98 MB)”,
"2021-05-14 15:09:30 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-b5158635e564542bba29b46ae37e87f5b.dblock.zip.aes

It seems that way, from example below taken at Profiling level (which includes Verbose, Information, etc.):

2021-05-14 19:33:27 -04 - [Verbose-Duplicati.Library.Main.Operation.RestoreHandler-MissingTargetFile]: Target file does not exist: C:\tmp\short.txt
2021-05-14 19:33:27 -04 - [Verbose-Duplicati.Library.Main.Operation.RestoreHandler-FilePatchedWithLocal]: Target file is patched with some local data: C:\tmp\short.txt
2021-05-14 19:33:28 -04 - [Verbose-Duplicati.Library.Main.Operation.RestoreHandler-RecordingMetadata]: Recording metadata from remote data: C:\tmp\short.txt
2021-05-14 19:33:28 -04 - [Verbose-Duplicati.Library.Main.Operation.RestoreHandler-PatchingMetadata]: Patching metadata with remote data: C:\tmp\short.txt
2021-05-14 19:33:28 -04 - [Verbose-Duplicati.Library.Main.Operation.RestoreHandler-TestFileIntegrity]: Testing restored file integrity: C:\tmp\short.txt

Unless someone else can think of a way, I guess you could make a feature request (but look for one first).

Hello, Thank you for the reply. I can confirm this is working. With Appreciation - Rick

1 Like

You actually might be able to make it a little less redundant if you wish (but it might omit some errors).
Of course, most OS can also filter lines, but log-file-log-filter can filter on the way to the log, if you like.
Scripting (maybe in run-script-after) could also try to get the last-modified date after it knows the path.

I am trying to list the files that were backup and deleted.
Still, even with explicit logging, I don’t get anything except the chunks like below.
Please let me know how to get a list of files that were backed up.
In this case, one changed and the other is new. But nowhere is the real file name to be found.

I don’t understand, this seems to be pretty basic in every other backup program I have used.

RC

{
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“ModifiedFiles”: 1,
“ExaminedFiles”: 5420,
“OpenedFiles”: 2,
“AddedFiles”: 1,
“SizeOfModifiedFiles”: 40901,
“SizeOfAddedFiles”: 40914,
“SizeOfExaminedFiles”: 22943834945,
“SizeOfOpenedFiles”: 81815,
“NotProcessedFiles”: 0,
“AddedFolders”: 0,
“TooLargeFiles”: 0,
“FilesWithError”: 0,
“ModifiedFolders”: 0,
“ModifiedSymlinks”: 0,
“AddedSymlinks”: 0,
“DeletedSymlinks”: 0,
“PartialBackup”: false,
“Dryrun”: false,
“MainOperation”: “Backup”,
“CompactResults”: {
“DeletedFileCount”: 264,
“DownloadedFileCount”: 0,
“UploadedFileCount”: 0,
“DeletedFileSize”: 6530616968,
“DownloadedFileSize”: 0,
“UploadedFileSize”: 0,
“Dryrun”: false,
“VacuumResults”: null,
“MainOperation”: “Compact”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “2021-05-24T21:46:51.4772148Z”,
“BeginTime”: “2021-05-24T21:46:30.8074612Z”,
“Duration”: “00:00:20.6697536”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 273,
“BytesUploaded”: 550919,
“BytesDownloaded”: 52961463,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 265,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 1,
“KnownFileCount”: 815,
“KnownFileSize”: 20392491523,
“LastBackupDate”: “2021-05-24T17:45:17-04:00”,
“BackupListCount”: 3,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“VacuumResults”: null,
“DeleteResults”: {
“DeletedSetsActualLength”: 1,
“DeletedSets”: [
{
“Item1”: 3,
“Item2”: “2021-05-17T10:12:12-04:00”
}
],
“Dryrun”: false,
“MainOperation”: “Delete”,
“CompactResults”: {
“DeletedFileCount”: 264,
“DownloadedFileCount”: 0,
“UploadedFileCount”: 0,
“DeletedFileSize”: 6530616968,
“DownloadedFileSize”: 0,
“UploadedFileSize”: 0,
“Dryrun”: false,
“VacuumResults”: null,
“MainOperation”: “Compact”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “2021-05-24T21:46:51.4772148Z”,
“BeginTime”: “2021-05-24T21:46:30.8074612Z”,
“Duration”: “00:00:20.6697536”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 273,
“BytesUploaded”: 550919,
“BytesDownloaded”: 52961463,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 265,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 1,
“KnownFileCount”: 815,
“KnownFileSize”: 20392491523,
“LastBackupDate”: “2021-05-24T17:45:17-04:00”,
“BackupListCount”: 3,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “2021-05-24T21:46:51.4772148Z”,
“BeginTime”: “2021-05-24T21:45:41.9440518Z”,
“Duration”: “00:01:09.5331630”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 273,
“BytesUploaded”: 550919,
“BytesDownloaded”: 52961463,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 265,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 1,
“KnownFileCount”: 815,
“KnownFileSize”: 20392491523,
“LastBackupDate”: “2021-05-24T17:45:17-04:00”,
“BackupListCount”: 3,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“RepairResults”: null,
“TestResults”: {
“MainOperation”: “Test”,
“VerificationsActualLength”: 3,
“Verifications”: [
{
“Key”: “duplicati-20210524T214517Z.dlist.zip.aes”,
“Value”:
},
{
“Key”: “duplicati-i9d29492ce23544119e729d925eb42a61.dindex.zip.aes”,
“Value”:
},
{
“Key”: “duplicati-b842ffe923a754d308990f0b26685e9c6.dblock.zip.aes”,
“Value”:
}
],
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “2021-05-24T21:47:37.5106832Z”,
“BeginTime”: “2021-05-24T21:46:52.205224Z”,
“Duration”: “00:00:45.3054592”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 273,
“BytesUploaded”: 550919,
“BytesDownloaded”: 52961463,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 265,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 1,
“KnownFileCount”: 815,
“KnownFileSize”: 20392491523,
“LastBackupDate”: “2021-05-24T17:45:17-04:00”,
“BackupListCount”: 3,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “2021-05-24T21:47:37.8086782Z”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:02:20.5323276”,
“MessagesActualLength”: 553,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: [
“2021-05-24 17:45:17 -04 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started”,
“2021-05-24 17:45:23 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2021-05-24 17:45:24 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (1.05 KB)”,
“2021-05-24 17:45:39 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b02ca39108fc2482bb845735324567430.dblock.zip.aes (17.95 KB)”,
“2021-05-24 17:45:39 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-b02ca39108fc2482bb845735324567430.dblock.zip.aes (17.95 KB)”,
“2021-05-24 17:45:40 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-i59d1959b5dd043ba8bebccc9a9aef41e.dindex.zip.aes (1.03 KB)”,
“2021-05-24 17:45:40 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-i59d1959b5dd043ba8bebccc9a9aef41e.dindex.zip.aes (1.03 KB)”,
“2021-05-24 17:45:40 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-20210524T214517Z.dlist.zip.aes (519.03 KB)”,
“2021-05-24 17:45:41 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-20210524T214517Z.dlist.zip.aes (519.03 KB)”,
“2021-05-24 17:45:41 -04 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) …”,
“2021-05-24 17:46:30 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20210517T141212Z.dlist.zip.aes (3.35 MB)”,
“2021-05-24 17:46:30 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-20210517T141212Z.dlist.zip.aes (3.35 MB)”,
“2021-05-24 17:46:30 -04 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteResults]: Deleted 1 remote fileset(s)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.Database.LocalDeleteDatabase-CompactReason]: Compacting because there are 132 fully deletable volume(s)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-b00236592505b4d95a5b7d6369b704645.dblock.zip.aes (49.90 MB)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-b00236592505b4d95a5b7d6369b704645.dblock.zip.aes (49.90 MB)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-i85459e3a5a4349aeb2ec007e94c11b45.dindex.zip.aes (48.64 KB)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-i85459e3a5a4349aeb2ec007e94c11b45.dindex.zip.aes (48.64 KB)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-b010f2fe8874540719861ca778778b38c.dblock.zip.aes (49.96 MB)”,
“2021-05-24 17:46:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-b010f2fe8874540719861ca778778b38c.dblock.zip.aes (49.96 MB)”
],
“Warnings”: ,
“Errors”: ,
“BackendStatistics”: {
“RemoteCalls”: 273,
“BytesUploaded”: 550919,
“BytesDownloaded”: 52961463,
“FilesUploaded”: 3,
“FilesDownloaded”: 3,
“FilesDeleted”: 265,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 1,
“KnownFileCount”: 815,
“KnownFileSize”: 20392491523,
“LastBackupDate”: “2021-05-24T17:45:17-04:00”,
“BackupListCount”: 3,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.1 (2.0.6.1_beta_2021-05-03)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2021-05-24T21:45:17.2763506Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

The COMPARE command

This is a useful command that shows the differences between two backup versions. The versions do not need to be subsequent, you can compare any two backup versions. If no versions are given, changes are shown between the two latest backups.

More: