nerdexam
Linux_Foundation

LFCS · Question #569

Which of the following should be backed up before a Samba version upgrade? (Choose TWO correct answers.)

The correct answer is B. TDB files C. Configuration files. Before a Samba version upgrade, it is essential to back up both the TDB (Teletype Database) files and the Samba configuration files.

Submitted by joshua94· Apr 18, 2026Service Configuration

Question

Which of the following should be backed up before a Samba version upgrade? (Choose TWO correct answers.)

Options

  • ALibraries
  • BTDB files
  • CConfiguration files
  • DBinaries
  • Ewinbindd_privileged directory

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    85% (29)
  • D
    9% (3)
  • E
    3% (1)

Why each option

Before a Samba version upgrade, it is essential to back up both the TDB (Teletype Database) files and the Samba configuration files.

ALibraries

Libraries are typically part of the Samba package installation and will be replaced or updated during the upgrade process; backing them up is not necessary for configuration or data preservation.

BTDB filesCorrect

TDB (Teletype Database) files store critical runtime data for Samba, such as user and machine SIDs, trust relationships, and other dynamic state information, which are essential for Samba's operation and should be backed up before an upgrade. Losing TDB files can cause significant data loss or operational issues requiring reconstruction of identity mappings.

CConfiguration filesCorrect

Samba configuration files (e.g., `smb.conf`) contain all the share definitions, security settings, user mappings, and other customizations specific to the Samba deployment. Backing these up ensures that the upgraded Samba can be restored to its previous operational state and custom settings are not lost.

DBinaries

Binaries are the executable files of the Samba application and will be replaced or updated during the upgrade; backing them up is not necessary for configuration or data preservation.

Ewinbindd_privileged directory

The `winbindd_privileged` directory contains the socket for the winbind daemon's privileged operations, which is managed by the Samba installation itself and does not contain user-specific or critical configuration data requiring a backup before an upgrade.

Concept tested: Samba upgrade backup best practices

Source: https://wiki.samba.org/index.php/Upgrading_Samba

Topics

#Samba#Backup#Service Upgrade#Configuration Management

Community Discussion

No community discussion yet for this question.

Full LFCS Practice