The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

BackupKey Property

This property is used by the backup/restore system. Under normal circumstances, you do not need to set this property.

Applies To


Property Value

True if the enabled property of secondary keys will be restored during restore; otherwise, false. The default value is false.


During backup, secondary keys where the Enabled Property is set to a value of true are marked with a BackupKey value of true, and the secondary indexes are not stored in the backup. When the backup is restored, the BackupKey value is checked to see whether it reenables secondary keys where BackupKey = Yes, and the indexes are recreated.

You will normally only see the BackupKey set to false (the default), as it is only set to true during backup. If a backup restore is suspended during key creation (to be resumed at a later time), you can see and set the BackupKey property.

See Also

Enabled Property