Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: correctguru on April 19, 2006, 10:03:14 PM

Title: How to mirror image SME Server hard drive
Post by: correctguru on April 19, 2006, 10:03:14 PM
I have successfully installed v7rc1.  It works great.

I have gone through the forums and read the manual, but cannot figure how to make an image backup of my server hard drive.  

All clients are windows.  I would back up through windows networking, but I cannot see the other users folders on the server.  I can see the I bays and my own admin folder only.

I know this can be done, as this was the method used at my last employer on V6
Title: How to mirror image SME Server hard drive
Post by: NickR on April 20, 2006, 12:34:28 AM
I'm assuming that what you actually want is to be able to see all your users home directories so that you can take a copy of them to another device - this isn't an "image backup" though.

You need to do this (as root):

# mkdir -p /etc/e-smith/templates-custom/etc/smb.conf

# pico /etc/e-smith/templates-custom/etc/smb.conf/55adminhomes

Insert the following text into the new file:

[admin_shares]
comment = Home Directories
path = /home/e-smith/files/users/
valid users = YOU
admin users = YOU
write list = YOU
public = no
browsable = yes
writable = yes
 
You might want to change "admin_shares" to something else as this is what will show up in Network Neighbourhood.  Substitute your username (or a list of usernames seperated by spaces) for YOU in the 3 places above.

Save the file.

# /sbin/e-smith/expand-template /etc/smb.conf
# service smb restart

You should find a new share has appeared that lets you see all your user directories.
Title: How to mirror image SME Server hard drive
Post by: MSmith on April 20, 2006, 02:57:54 AM
Sounds like the MondoRescue contrib discussed in the appropriate forum would be worth a look ...
Title: See all users in My Network Places
Post by: correctguru on April 25, 2006, 10:27:03 AM
Thanks for the reply. That was really helpful. Sounds as if I need to read up more on Samba.

Tried it and nothing happened.   Put my user name in place of 'you' and did not get any extra folders or anything.

Files created by Pico ok and found them on my server.  

I will keep on trying.
Title: Can now see all admin shares
Post by: correctguru on April 29, 2006, 01:52:07 PM
Just like to thank NickR and others for your help.

Its all working great.  (I mispelt a word in my file, duh) Just shows how important it is to check your own typing!!

Thanks again.  Learned some more about Samba.