I'm doing this in sqlite3 on my server:
> .output=../backup.sqlite
> .dump
It runs, its a 40gb db and after I finished I do this:
sqlite3 backup.sqlite and run .tables and I get the error "File is not a database"
Its same machine and everything so its not versioning issue.