Be explicit about the temp dir.
Stop using a temp file to upload the backup archive.