squeakybadger
Dabbler
- Joined
- Feb 10, 2020
- Messages
- 13
Hi,
I have our main Truenas server(A) that does nightly snapshots to the backup Truenas server(B), only keeping a weeks worth of snapshots.
I have built another Truenas server(C) to be used as an offsite backup.
Server(C) is pulling the last weeks snapshots from server(B)
As it was the first replication task it took a few days to send all the data over, and now it says that it cannot do the nightly as the next snapshot needed has been deleted off server(B)
I basically need to send the missing snapshots that are still on server(A) to server(C) so it has a complete set and can continue to replicate.
This is the command I was trying, but I seem to be struggling with the syntax to send over the individual snapshots (and not overwriting what already exists)
zfs send -I SERVERA/PROJECTS@auto-2022-11-21_00-00 | ssh root@192.168.xxx.xxxx zfs recv SERVERC/PROJECTS
Using the -I command it says it can't find the dataset, and just using zfs send says it will overwrite everything as SERVERC/PROJECTS is not empty.
Any help to get this sorted is appreciated!
Thanks.
I have our main Truenas server(A) that does nightly snapshots to the backup Truenas server(B), only keeping a weeks worth of snapshots.
I have built another Truenas server(C) to be used as an offsite backup.
Server(C) is pulling the last weeks snapshots from server(B)
As it was the first replication task it took a few days to send all the data over, and now it says that it cannot do the nightly as the next snapshot needed has been deleted off server(B)
I basically need to send the missing snapshots that are still on server(A) to server(C) so it has a complete set and can continue to replicate.
This is the command I was trying, but I seem to be struggling with the syntax to send over the individual snapshots (and not overwriting what already exists)
zfs send -I SERVERA/PROJECTS@auto-2022-11-21_00-00 | ssh root@192.168.xxx.xxxx zfs recv SERVERC/PROJECTS
Using the -I command it says it can't find the dataset, and just using zfs send says it will overwrite everything as SERVERC/PROJECTS is not empty.
Any help to get this sorted is appreciated!
Thanks.