send snapshot to changed directory

All your general support questions for OpenZFS on OS X.

send snapshot to changed directory

Postby Sonic » Wed May 29, 2024 3:38 am

on my pools, I needed to create a directory and put all my files into that directory. So, it changed from pool/dataset/files/files2/etc... to pool/dataset/new directory/files/files2/etc...

Now I'd like to send a snapshot to my remote backup machine. Is it possible to tell the remote machine that the directory of the files changed? Or do I have to copy all files over again?

Thanks for any insight:-)
Sonic
 
Posts: 1
Joined: Sun Dec 18, 2022 1:03 am

Re: send snapshot to changed directory

Postby Sharko » Thu May 30, 2024 4:28 pm

Sonic: I don't think that you need to do anything special. Moving the files into the intermediate directory will change some metadata associated with the files, but the files themselves are still comprised of the same blocks. So the replication process will unavoidably require that the changed metadata blocks get sent over the wire, but the bulk of the blocks associated with the files (the blocks that actually hold the data) hasn't changed. I'm pretty sure that this how it works.
Sharko
 
Posts: 236
Joined: Thu May 12, 2016 12:19 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 6 guests

cron