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.
Question
Options
- ALibraries
- BTDB files
- CConfiguration files
- DBinaries
- Ewinbindd_privileged directory
How the community answered
(34 responses)- A3% (1)
- B85% (29)
- D9% (3)
- E3% (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.
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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.