Added backup and check before truncation