07-13-2008
Thanks for the reply.
yes you are right , we have samba service running on the system.I will check that and let you know.
But one doubt i am still having is , is this causing the application to go down regularly?
please help!!!
thanks,
Sandy
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
Plzz help me out in this!!!!!!!!!!!!!!!!
I have a file which runs in the back ground using crontab for every monday at5 P.M. The problem is inside the file ...
This is a sample content of a file
Update the current and previous week: (Sunday to Sunday)
%let... (4 Replies)
Discussion started by: aajan
4 Replies
2. Shell Programming and Scripting
Hi, I am new in scripting and also in Linux. I wrote my first script recently. I have an external hdd connected to my debian machine. I am spinning it down using a spindown code (code.google.com/p/spindown/)when I am not using it ( automatically after 1 hour). The problem was I wanted to know when... (2 Replies)
Discussion started by: aspedisca
2 Replies
3. AIX
Dear all experts,
Recently the daily batch run process (run using Java Runtime Execution)suddenly run slow. Our apps vendor came in and check and request to reboot the server. After rebooting of the server, the batch run back to normal.
May I know is periodically rebooting of pSeries server is a... (9 Replies)
Discussion started by: kwliew999
9 Replies
4. UNIX for Dummies Questions & Answers
I have a NAS and I upload my videos to it from time to time. the video format is 3gp but my media player PBO could only play avi. I want to copy these files to different directory and change the extention from 3gp to avi. (yes I want to keep the original version and create a duplicate version with... (0 Replies)
Discussion started by: momentum
0 Replies
5. Shell Programming and Scripting
I have written a korn shell script .
I copy a file from one mounted directory to other using cp command.
This script runs daily at a time.
But sporidally it fails to copy the files. So I have missing files at the destination directory for some days.
Is my method a good one or is there some... (5 Replies)
Discussion started by: Golden Egg
5 Replies
6. Shell Programming and Scripting
Dear Friends,
Sorry for this basic request. But I just started learning Ksh recently and still I am a newbie in this field.
Q: I have files on one server and the date format is 20121001000009_224625.in which has year (yyyy) month (mm) and date (dd). I have these files on server A. The task... (8 Replies)
Discussion started by: BrownBob
8 Replies
7. Shell Programming and Scripting
How can i delete some regular repeated lines in a file?
example:
in_file
EDGE 1 2 12
EDGE 2 3 23
EDGE 3 4 34
EDGE 5 6 56
EDGE 6 7 67
EDGE 7 8 78
EDGE 9 10 910
EDGE 10 11 1011
EDGE 11 12 1112
EDGE 13 14 1314
EDGE 14 15 1415
EDGE 15 16 1516
EDGE 17 18 1718
EDGE 18 19 1819
EDGE 19... (8 Replies)
Discussion started by: saeed.soltani
8 Replies
8. Ubuntu
Hi All!
I am using Ubuntu 12.04 with LXDE. This is office's allocated laptop.
I have a problem here now, my /etc/resolv.conf file is not getting updated automatically whenever I am switching network, i.e. home or office. I have to do it manually every-time, I manually input the office's DNS,... (3 Replies)
Discussion started by: nixhead
3 Replies
9. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
10. What is on Your Mind?
What Online Social Networks Do You Use Regularly?
I use Facebook and LinkedIn nearly everyday....
You?
If your online social network is not listed, please do a "write in" vote..
Thanks! (39 Replies)
Discussion started by: Neo
39 Replies
LEARN ABOUT CENTOS
ntdbbackup
NTDBBACKUP(8) System Administration tools 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:
o secrets.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o passdb.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o *.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.
Samba 4.1 06/17/2014 NTDBBACKUP(8)