ntdbbackup(8)


NAME

   ntdbbackup - tool for backing up and for validating the integrity of
   samba .ntdb files

SYNOPSIS

   ntdbbackup [-s suffix] [-v] [-h]

DESCRIPTION

   This tool is part of the samba(1) suite.

   ntdbbackup is a tool that may be used to backup samba .ntdb files. This
   tool may also be used to verify the integrity of the .ntdb files prior
   to samba startup or during normal operation. If it finds file damage
   and it finds a prior backup the backup file will be restored.

OPTIONS

   -h
       Get help information.

   -s suffix
       The -s option allows the administrator to specify a file backup
       extension. This way it is possible to keep a history of ntdb backup
       files by using a new suffix for each backup.

   -v
       The -v will check the database for damages (corrupt data) which if
       detected causes the backup to be restored.

COMMANDS

   GENERAL INFORMATION

   The ntdbbackup utility can safely be run at any time. It was designed
   so that it can be used at any time to validate the integrity of ntdb
   files, even during Samba operation. Typical usage for the command will
   be:

   ntdbbackup [-s suffix] *.ntdb

   Before restarting samba the following command may be run to validate
   .ntdb files:

   ntdbbackup -v [-s suffix] *.ntdb

   Note that Samba 4 can use .tdb files instead, so you should use
   tdbbackup on those files.

   Samba .tdb and .ntdb files are stored in various locations, be sure to
   run backup all .(n)tdb files on the system. Important files includes:

   *   secrets.(n)tdb - usual location is in the /usr/local/samba/private
       directory, or on some systems in /etc/samba.

   *   passdb.(n)tdb - usual location is in the /usr/local/samba/private
       directory, or on some systems in /etc/samba.

   *   *.tdb and *.ntdb located in the /usr/local/samba/var directory or
       on some systems in the /var/cache or /var/lib/samba directories.

VERSION

   This man page is correct for version 4 of the Samba suite.

SEE ALSO

   tdbbackup(8), ntdbrestore(8)

AUTHOR

   The original Samba software and related utilities were created by
   Andrew Tridgell. Samba is now developed by the Samba Team as an Open
   Source project similar to the way the Linux kernel is developed.

   The ntdbbackup man page was written by Rusty Russell, based on the
   tdbbackup man page by John H Terpstra.


More Linux Commands

manpages/form_term.3form.html
form_term(3form) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct

manpages/lex.1.html
lex(1) - the fast lexical analyser generator (Man Page).....
Generates programs that perform pattern-matching on text. Table Compression: -Ca, --align trade off larger tables for better memory alignment -Ce, --ecs constru

manpages/ssh-ldap.conf.5.html
ssh-ldap.conf(5) configuration file for ssh-ldap-helper.....
ssh-ldap-helper(8) reads configuration data from /etc/ssh/ldap.conf (or the file specified with -f on the command line). The file contains keyword-argument pair

manpages/ScreenNumberOfCCC.3.html
ScreenNumberOfCCC(3) - Color Conversion Context macros......
The DisplayOfCCC macro returns the display associated with the specified CCC. The VisualOfCCC macro returns the visual associated with the specified CCC. The Sc

manpages/xlito.1x.html
xlito(1x) - (unknown subject) (Commands - Linux man page)...
xlito (XLoadImageTrailingOptions) is a utility that provides a file format independent way of marking image files with the appropriate options to display correc

manpages/crypt_gensalt_rn.3.html
crypt_gensalt_rn(3) - password hashing - Linux manual page
The crypt, crypt_r, crypt_rn, and crypt_ra functions calculate a cryptographic hash function of key with one of a number of supported methods as requested with

manpages/tc-netem.8.html
tc-netem(8) Network Emulator (Admin - Linux man page).......
NetEm is an enhancement of the Linux traffic control facilities that allow to add delay, packet loss, duplication and more other characteristics to packets outg

manpages/gserialver.1.html
gserialver(1) - version command (Commands - Linux man page)
Print the serialVersionUID of the specified classes. OPTIONS -classpath PATH Class path to use to find classes. Standard options: -help Print help text, then ex

manpages/Tcl_Main.3.html
Tcl_Main(3) - main program and event loop definition for Tcl
Tcl_Main can serve as the main program for Tcl-based shell applications. A shell application is a program like tclsh or wish that supports both interactive inte

manpages/open_edx.html
301 Moved Permanently - open edx

manpages/freopen.3.html
freopen(3) - stream open functions - Linux manual page......
The fopen() function opens the file whose name is the string pointed to by path and associates a stream with it. The argument mode points to a string beginning

manpages/init_pair_sp.3ncurses.html
init_pair_sp(3ncurses) - curses screen-pointer extension....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th





We can't live, work or learn in freedom unless the software we use is free.