I am trying to make a backup copy of my pool to another pool on the same system. I had errors that said there were no snapshots so I did a from scratch replication. Then I unchecked the from scratch box. Now I get this error:
Replication “Pool1 - Pool3/SetA” failed: cannot receive incremental stream: most recent snapshot of Pool3/SetA does not match incremental source.
2024-06-22 00:00:01 (America/Chicago)
Please help me understand how to do this:
I have this setup in the create snapshot menu
I think u should set the recursive flag in the Snapshot task, as almost full filesystem replication in the replication task.
When i had similar problem, i just delete snapshots/ destination dataset and re-run the task
I had so much trouble writing to this pool/dataset that I deleted and re-added the target dataset to clear it out. I thought that starting from scratch would help.
I now did as you suggested and set the “replicate from scratch”. I expected it to take a long time to replicate 7TB, but it was done quickly. The data looked OK on the drive. I cleared the “replicate from scratch”, then re-ran the replication task and received the same error. I am confused. I once again set the “replicate from scratch”. To check what was happening I added a directory containing a text file in the source dataset. I then re-ran the replicate task. During the replication I could see the snapshot on the right side of the status screen cycle through the snapshots including the current date. I checked the destination dataset for the updated directory/file and it was not there. Again I am confused.
Please help me understand this I am just trying to make a backup of one pool to another location.
I think you’re also confusing “pool”, “drive”, “dataset”, and “snapshot”.
You likely saved the file to a location within a child dataset, which is not part of the replication task’s snapshot hierarchy.
[/quote]
I reviewed the snapshot task based on your info. I have several sub-directories in the dataset. I did not have “recursive” set and the data I want to backup is in one of the sub-directories.
After I set the snapshot to recursive and ran the replication, the new file data was updated in the Windows share (drive) that I was trying to make a copy of. I had the replication from scratch set in that replication task. It took a few minutes but it was not long enough for it to be a “complete from scratch” copy of 7TB. I am confused about why all the files were not moved to the target dataset. (it was like only the changes were updated) all the data is there.
I turned off “complete from scratch” and re-ran the replication task. I get an error that “No incremental base on dataset ‘pool2/Vault2’ and replication from scratch is not allowed.” Do I get this because the snapshot has not had a chance to update? If I waited until the next cycle but I still get the error?
I aim to periodically make a copy of the Windows shares on my Truenas server to a Truenas remote server that I do not always keep on. I just want to wake it up, run the replication, and once it is done, turn the machine off.
when I look at the snapshot storage I see "pool2/Vault2<> where <> is all of the subdirectories in my dataset except my mail storage area.
directories in the dataset are:
iocage and all it sub-directores
win10
But the subdirectory bob is not listed in the snapshots?
The directory bob did get updated. So I am puzzled.
Please bring some clarity to this.