Based on what I saw after the 1989 quake in San Francisco, I’m keeping more than 3 days of provisions.
It will (not would, will) be a mess. Among other things, the very old and dilapidated docks will likely collapse, rendering ferry service limited at best. Highways will be blocked with debris from overpasses, and as silenus pointed out, without the bridges or ferries there’s only one way to get supplies in. Okay, choppers landing in Golden Gate Park - they’ll be taking out injured people I would imagine.
Railways, or in the case of San Francisco, railway. The Caltrain line along the peninsula into the heart of the city can be (and IIRC is occasionally still) used to carry freight trains.
I thought about including BART in my answer, but Dr. Woo referred to supplies, and BART can’t carry freight trains because it’s not standard gauge and the tunnels are too small.
BART could be used to evacuate residents and to move in troops, rescue and medical workers, etc. Some supplies could be piled up on the seats and floors of BART cars, but that would be a desperation move if Caltrain was blocked but BART wasn’t.
More than 3 days, sure, why not? And even a gun (assuming you know how to use it), but let us not get all bunker mentality here.
Some docks may collapse, but not all of them, they didn’t in Loma Preita or the 1906 “big one”. No major “survival” problems in either quake, nothing more than a 72 hour kit would cover.