LX0-104 · 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 upgrading Samba, it is crucial to back up configuration files and TDB (Teal Database) files to preserve settings and internal Samba data.
Question
Options
- ALibraries
- BTDB files
- CConfiguration files
- DBinaries
- Ewinbindd_privileged directory
How the community answered
(61 responses)- A13% (8)
- B77% (47)
- D7% (4)
- E3% (2)
Why each option
Before upgrading Samba, it is crucial to back up configuration files and TDB (Teal Database) files to preserve settings and internal Samba data.
Libraries are usually part of the Samba installation package and are replaced during an upgrade; backing them up is generally unnecessary for recovery.
TDB files (Teal Database files) store critical Samba internal data such as user lists, group memberships, trust account information, and browse lists. Backing these up ensures that Samba's operational state and user data are preserved across an upgrade.
Samba's configuration files (e.g., `smb.conf`) contain all the settings for shares, security, users, and network behavior. Backing these up is essential to restore the server's intended functionality and custom configurations after an upgrade.
Binaries are the executables that comprise Samba and are replaced during an upgrade; backing them up is not needed for preserving server configuration or data.
The `winbindd_privileged` directory is used by Winbind for temporary files and sockets; backing it up is not typically required as it contains transient operational data rather than persistent configuration or user information.
Concept tested: Samba upgrade best practices - backup strategy
Source: https://wiki.samba.org/index.php/Upgrading_Samba
Topics
Community Discussion
No community discussion yet for this question.