Added the flag backupNeeded

Closes #1833