LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2011, 03:11 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,674

Rep: Reputation: 47
Manually backup samba settings


I have a file server that just has some samba shares. What would be some good files to back up off of their for disaster recovery purposes. I already have the smb.conf file from /etc/samba. I'm not familiar with Samba so not sure what else would be useful for if I had to get this reconfigured on another server identically, in a pinch.
 
Old 03-08-2011, 03:28 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
I would personally back everything up in /etc/samba, along with the files and directories being shared.
 
1 members found this post helpful.
Old 03-08-2011, 03:30 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,674

Original Poster
Rep: Reputation: 47
I'm already backing up the directories that are actually shared, so I got that covered.

So is there anything outside of the samba directory I should get also you think?
 
Old 03-08-2011, 03:32 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Everything is stored in /etc/samba configuration wise. If anything, back up your cups config if you have one since samba and cups can work together for sharing printers.
 
Old 03-08-2011, 03:53 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,674

Original Poster
Rep: Reputation: 47
We dont do any printer sharing on our linux servers. would it be of any benefit to grab /etc/passwd too? or can you not just drop that back into place to restore user accounts.
 
Old 03-08-2011, 04:08 PM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,674

Original Poster
Rep: Reputation: 47
also, seems like i can grab secrets or the smbpasswd file, maybe because they're in use?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install samba manually fachamix Linux - Networking 4 11-03-2009 04:42 PM
How do I change the display settings manually of Ubuntu 8.04.01? IdahoSilverSage Ubuntu 8 01-25-2009 10:11 PM
How to Manually Change connection settings in Firefox/Mozilla irfanhab Linux - Software 1 12-11-2005 02:03 AM
manually changing DHCP settings minm Linux - Newbie 2 01-10-2005 02:28 PM
debian DHCP/manually settings pe2338 Linux - Networking 0 08-14-2003 05:38 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration