Upgrade failed at backup stage

every upgrade fails at the backup stage.

if i dismount the data folder. touch .ocdata to create it. then run the upgrade it completes without a hitch. then delete the data folder contents and re mount the data and everything works fine.

i have chown’d the data folder to make sure it is owned by www but this happens every update.