Add attach-latest-backup, improvements in restore-from-latest-backup