Samba PDC disaster recovery

Posted on 2005-03-07
Medium Priority
Last Modified: 2010-04-20
Hi all, i posted this question to samba-lists, searched the Official Howto and the Samba 3 by Example guide, along with some googling, but no straight answer.

I'm going to setup a fresh installed Nt domain for a customer. It'll have only one server (Fedora CoreIII) and no more than 15 users, i've got no problems setting up the domain, what i'm concerned is a disaster recovery situation, in the event of a fatal hardware failure.

I'd like to know exactly what should I backup in case i need to restore the configuration to a different machine and put ASAP the domain up again.

No problem regarding the Domain SID, and the smb.conf file.
What about users, what should i backup in order to not having to create them again, and the group mappings?

PS1: As this is a small network i will not use LDAP.
PS2:I use unix passwd sync.

Thanks all,


Question by:bmquintas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
LVL 40

Accepted Solution

jlevie earned 2000 total points
ID: 13482130
I'd say that you'll want to have, at the least:

/etc/passwd, /etc/shadow, /etc/group. /etc/gshadow, & /etc/hosts
LVL 38

Expert Comment

ID: 13482394
> I'd like to know exactly what should I backup in case
Just backup /etc directory. It covers most of your configuration files.
IP address and hostname information is under /etc/sysconfig directory.
Daily cron jobs are under /etc.
So backup the whole /etc will be sufficient and not use a lot of space since /etc is small.

Besides, backup your data directory.


Author Comment

ID: 13482547
If i install a new box and overwrite the default files by those and set the old SID, i should have my "old" PDC online?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 40

Expert Comment

ID: 13482725

Author Comment

ID: 13483051
wesly_chen: i gave points to jlevie because he answered first, either way thank you both.
LVL 38

Expert Comment

ID: 13483134
NP. Jim has answered what I might answer.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question