anselmschueler It does a local backup, then uploads to Google.
I think that in order to have it to local only, you have to reset the app, restore your account, and never select a Google account.
Local backup isn't in a file, it's in the Android/media/com.whatsapp folder.