vim E509: Cannot create backup file (add ! to override)

When i save file on a server in vim, i get error

“FILE_NAME.EXTN” E509: Cannot create backup file (add ! to override)
Press ENTER or type command to continue

I verified vim backupdir with command

That showed “backupdir=.,~/tmp,~/”, i compared it with vim installed on my PC, it looked same.

I tried to create a file on the server using touch, it failed.

The error was due to disk full on the server and vim was not able to create a backup file.

See vi