Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: CKConsulting on October 04, 2006, 01:20:03 AM

Title: [Solved] Need help recovering data.
Post by: CKConsulting on October 04, 2006, 01:20:03 AM
I killed a 6.01 sme box while doing an update.
I am able to boot with knoppix 4.0 and see the data.  I can see the users directory /home/e-smith/files/user/bob but the folders are locked and I can not access the data.  I know each users login and password if that would help me.

So how do I access the folders?

Thanks,
Rick
Title: [Solved] Need help recovering data.
Post by: kirkf on October 04, 2006, 01:32:47 AM
By "the folders are locked" do you mean that you have read but not write access?

Are you trying to copy the data somewhere else, or to rescue the existing installation?

Kirk
Title: [Solved] Need help recovering data.
Post by: CKConsulting on October 04, 2006, 02:15:36 AM
No access at all, I can see the folder but not what's in side.
Yes I'm trying to recover the data to copy it to the new server.

Rick
Title: [Solved] Need help recovering data.
Post by: kirkf on October 04, 2006, 02:29:23 AM
Hmmm.  Haven't had this experience.  I wonder if you have to be root on Knoppix?  sudo su, I think.
Title: [Solved] Need help recovering data.
Post by: CKConsulting on October 04, 2006, 03:55:16 AM
su worked in a terminal window, I was trying using the GUI with no success....

All is good in computer world once again.

Thanks for the help!

Rick

For anyone looking

Boot with Knoppix
Open terminal window
Code: [Select]
su
mkdir /mnt/mypc
smbmount //mypc/share /mnt/mypc -o username=admin,password=1234
rsync -avg /home/e-smith/files/users /mnt/mypc/recover


sit back and wait till it's done