How can I access long-term logs for snapshot/replication/cloud backup tasks in TrueNAS SCALE?

Hi,

The Jobs view only keeps a few days of history and mixes all task types together.

For example Cloud Backup (Backblaze B2) runs there, but it’s hard to see clearly which task ran (backblaze are not mentioned just cloud backup) and there is no visible history of the initial upload.

Is there a way to:

• view separate logs for snapshot / replication / cloud backup tasks
• keep longer history locally on the NAS
• access them easily (GUI, file, SMB, etc.)

What is the recommended way to monitor these tasks over time in TrueNAS SCALE? It seems like a important thing to know.

What data about the jobs are you interested in, specifically?

You can get a list of all snapshots in the UI as well as in the CLI.

Snapshot present on the source: snapshot task completed successfully. Snapshot present on the destination: replication task completed successfully.

There is no such thing as an incomplete snapshot in ZFS. If present it’s guaranteed to be complete and correct. Assuming a regular scrub of the pool is also successful each time.

Thanks,

Yes, snapshots are logged and that part is clear enough since there is no other snapshot functionality to confuse it with. What I am looking for, however, are logs for the cloud sync, specifically for Backblaze B2.

In the job history UI I can see that cloud.sync has executed and roughly how much data it processed, but that is about it. I cannot see which server it is uploading to or even that it is a Backblaze backup, which also makes it impossible to filter out all Backblaze sync operations.

Another issue is that it only stores seven days of cloud sync history. If I want to check how the initial sync actually went, how much data was uploaded and how long it took, it is already too late. I could increase the job history retention, but it looks like the default value is set that way because it logs everything and the amount of data could become quite large.

I have not tried increasing the seven day log history yet, but if I do, will everything still be accessible through the UI, or do I need to use the CLI? Checking logs through the CLI feels like a slow and cumbersome way to investigate something like this.

I do not use anything but ZFS snapshots and replication, so I did not think of people possibly using other methods. While you mentioned Backblaze, you summed it up with snapshot/repliacation, so …

Sorry, no idea about cloud based backups.