Please allow me to ask what most of you consider a very dumb question.
I have been using rsync to backup trunas core servers.
I am backing up nas A to nas B on a weekly basis and to nas C on a monthly basis.
And all was working fine (except for now when an rsync task is run the task status show running. However when the task finishes the task still shows as running. I need to click on the task a popup appears asking if i want to download the log to which i say no, then the task status turn to complete… What is wrong)
Several months ago (due to my stupidity( i had to rebuild my nas servers and at that time i upgraded to truenas scale and all is well
I read that trunas will promote rsync as a backup solution in favour of replications. Fair enough
I started doing my replication today and i am some what confused.
I see on server B that for all the datasets I see that all the file folder and files from server a are there OK
However on server B in the same dataset i see a new folder called zfs and in this folder i see a folder called sharer and a second one called snapshot which contains a folder called snapshot with todays date.
My objective
Is to have a full backup (server B) that i can switch top to play my media (via jellyfin) in the event that server A is not available.
Using rsync this is possible
MY dumb question
If i use replication do i get the same level of details of my media as i did with rsync?
If yes
Wy do i need to have snapshot of my data?
Thank you for you patience and willingness to answer such a basic (dumb) question
So, you first setup snapshots. Then you can replicate those snapshots.
You don’t need to replicate all snapshots, for example you might just replicate your hourly snapshots.
The trick is you can’t really delete the snapshots from the destination until they are deleted from the source, ergo, you want the source to delete the snapshots on the destination.
Fundamentally, the flow of data is one way though, so A backs up to B which might backup to C…
And B might backup to A as well.
This is in fact how I do it.
C might have an additional layer of snapshots which are kept for a longer term.
I’m working on a video for this, but have been held back by TrueNAS bugs, and other things
Still working on the second part about replications, but here is the first part on Tiered Snapshots, how to set them up, and use them for data recovery