RaspberryPI - Path to Photos failover?

I am getting things set up. I haven’t quite got everything setup yet. My plan is to run a headless Raspberry Pi 4.
I would like to transfer the photos off to a network drive as quickly as possible, so my current plan is to set the Path to Photos to a network share. But if for some reason I lose connectivity with the network, what will happen with the photo that was taken? Will it try when the network comes up or do I need to store the image locally, and handle the network copy on my own?

How much memory in your Raspbery pi?