Koozali.org: home of the SME Server

How to mirror image SME Server hard drive

Offline correctguru

  • 3
  • +0/-0
How to mirror image SME Server hard drive
« 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

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
How to mirror image SME Server hard drive
« Reply #1 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.
--
Nick......

Offline MSmith

  • *
  • 675
  • +0/-0
How to mirror image SME Server hard drive
« Reply #2 on: April 20, 2006, 02:57:54 AM »
Sounds like the MondoRescue contrib discussed in the appropriate forum would be worth a look ...
...

Offline correctguru

  • 3
  • +0/-0
See all users in My Network Places
« Reply #3 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.

Offline correctguru

  • 3
  • +0/-0
Can now see all admin shares
« Reply #4 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.