Hi,
I'm not finding an example of this question using the search function, so apologies if I'm missing an existing post/discussion that answers this.
We have some backup jobs that output very large tar files, there aren't significant changes in the underlying data from week to week and some of them remain unchanged. They are currently backed up on to NAS devices, but I'm expermenting with possibilities for using TrueNAS and wondering how I can leverage the advantages of ZFS over a standard NAS.
I was thinking that snapshots could be a way to allow us to store more versions of these large tar files by storing the difference between versions - is this possible? Am I misunderstanding what can be achieved in this case?
I've set up a periodic snapshot on a dataset and I've use that dataset as a target for the backup tar files, but each snapshot is the entire size of the backup file.
I've set up a periodic snapshot task to run every minute (just for testing) and disabled "Allow Taking Empty Snapshots". I'm able to run the script to back up to tar and write successfully over NFS to the datastore and subsequent runs of that backup job replace the existing tars.
I'm guessing this is because the entire tar file is written, replacing the previous version, rather than this being an edit of an existing file.
Have I made an error in my config or am I trying to do something that isn't possible?
Thanks very much for reading this far :)
I'm not finding an example of this question using the search function, so apologies if I'm missing an existing post/discussion that answers this.
We have some backup jobs that output very large tar files, there aren't significant changes in the underlying data from week to week and some of them remain unchanged. They are currently backed up on to NAS devices, but I'm expermenting with possibilities for using TrueNAS and wondering how I can leverage the advantages of ZFS over a standard NAS.
I was thinking that snapshots could be a way to allow us to store more versions of these large tar files by storing the difference between versions - is this possible? Am I misunderstanding what can be achieved in this case?
I've set up a periodic snapshot on a dataset and I've use that dataset as a target for the backup tar files, but each snapshot is the entire size of the backup file.
I've set up a periodic snapshot task to run every minute (just for testing) and disabled "Allow Taking Empty Snapshots". I'm able to run the script to back up to tar and write successfully over NFS to the datastore and subsequent runs of that backup job replace the existing tars.
I'm guessing this is because the entire tar file is written, replacing the previous version, rather than this being an edit of an existing file.
Have I made an error in my config or am I trying to do something that isn't possible?
Thanks very much for reading this far :)