Koozali.org: home of the SME Server

command line help-sme rescue/transfer ibays to another server

Offline tech4

  • *
  • 5
  • +0/-0
I need help, have looked and am not finding the documentation I need.

I've got a functional install on a 2nd machine, and am in sme rescue mode in the original one.  The original system is mounted at /mnt/sysimage.  What command will recursively copy the ibays folder and everything in it to the other?

I cannot access the original via ssh/putty/web, etc, but it can ping the IP on the new one and apparently ftp to it.  I just don't know what syntax I need, any non-cynical help is appreciated.
omnia mutantur, ex turbo modestum

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #1 on: July 25, 2009, 09:27:48 PM »
I think you can use scp, with the -r option

man scp for more info

anyway, I would know WHY you are in rescue mode and you (apparently) are not interested in recovering the first server.

Ciao
Stefano

Offline tech4

  • *
  • 5
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #2 on: July 25, 2009, 10:34:14 PM »
I installed SME to learn how to use it, had just put some stuff in the ibay and shut it down when a major storm was approaching [no I don't have a UPS].  When it was next booted, it came up to the grub prompt, never was able to get it to load the OS.

If you look at the documentation, it just tells you to boot using sme rescue, not what to do beyond that.  It wasn't really important, at the time, and I had other things going on, and let it go until I could find the proper steps to follow to fix the server.

Here it is, well over a year later, the documentation hasn't really changed.  I was able to load 7.1 from an old cd onto a better machine and would like to get my stuff off the old one, then learn how to fix it.
« Last Edit: July 25, 2009, 10:38:02 PM by tech4 »
omnia mutantur, ex turbo modestum

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #3 on: July 25, 2009, 11:34:20 PM »
some (easy) questions for you:
what's the meaning of "it came up to the grub prompt"?
did you file a bug for the grub problem?
did you open a bug for the documentation of the rescue mode?
do you expect someone else will do all the work and you, simply, come here to say "nothing changed"?
and, finally, did you make a donation?

if you want "non-cynical help" please start helping US to make SME a better product

Stefano

Offline tech4

  • *
  • 5
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #4 on: July 26, 2009, 01:55:16 AM »
some (easy) questions for you:
what's the meaning of "it came up to the grub prompt"?

This is a grub prompt:

It says grub, there is a prompt.  I did explain that the server OS did not load.

do you expect someone else will do all the work and you, simply, come here to say "nothing changed"?

Why yes, that is exactly what I expected.  And in reference to my topic, it hasn't changed.  By the way, did you write all the code by yourself?

and, finally, did you make a donation?

Donations of money are requested, not required.  They don't go to you directly, and you would have no idea who amongst the many people using this forum might have made a donation.  If SME forum help is cash-only then kindly state that up front.  I have personally made many business partners aware of the OS, which is a valid contribution that may bear fruit in the future.

if you want "non-cynical help" please start helping US to make SME a better product

Perhaps you can make it a better product by getting rid of the rude support staff.

Stefano
omnia mutantur, ex turbo modestum

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #5 on: July 26, 2009, 03:23:39 AM »
tech4

The resolving of your problem could be difficult.
You were given the basic command to copy ie
scp -r xxxxx  yyyyy
so look up the exact syntax your scenario requires with
man scp
(on a working sme server) or google for scp
This is not a forum on basic Linux commands so you can learn those elsewhere.

I suggest to take a potentially easier approach.
Get a sme 7.4 CD and do a upgrade install on the non functioning server. Choose the upgrade option rather than wiping the whole disk, and your data & settings will be preserved. If you are unfamiliar with this then try it on a test server first. Hopefully your boot problem may get fixed during the upgrade, if not then report back and at least then "we" can troubleshoot a current sme 7.4 server rather than a now quite old 7.1 release. A good few changes and improvements have happened during that time.

Please also be more reasonable to anyone who replies to you on these forums, there are NO paid staff and any answers given are voluntarily done.
Whether you like the answer or not, please be respectful and tolerant of all posters. If they don't exactly understand you, then I think it is quite reasonble that they ask further questions. Keep in mind there can be 100's of reasons why something does not work and you expect someone to give you the exact answer to your question, with I would also say, the supply by you of very limited information eg no log files etc etc
« Last Edit: July 26, 2009, 11:43:43 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tech4

  • *
  • 5
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #6 on: August 08, 2009, 05:26:45 PM »
Mary,

The upgrade did not work, not enough room on the HDD.  As root, I was able to log into the new server from the other, they just would not allow me to transfer data even though they both have the same account/pwd.  This is what prompted me to ask here in this forum.  I already had checked a variety of places to verify the syntax.

I tried to capture the bugs to a floppy, but whatever that saved is unreadable.

Anyway, I looked at the grub.conf via a live cd, and it was blank?!  I copied the one from the new server to the other via flash drive and was able to boot the old server.  Although it had errors scrolling all over the screen-too fast to follow, it was online with the original IP and the Ibays were available to the network.  I have the old data off the machine now.
« Last Edit: August 10, 2009, 04:26:37 AM by tech4 »
omnia mutantur, ex turbo modestum

Offline paradigm

  • *
  • 96
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #7 on: August 09, 2009, 08:23:59 PM »
You could try to logon to the server with this program :

http://winscp.net/eng/index.php

It's an scp client for windows whice does not need a syntex ,

just login to the server using it's ip , here i dont remember if you should

use the root or admin account , after login you should be able to download

your data into a win xp desktop and move it to your new server.


Offline tech4

  • *
  • 5
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #8 on: August 10, 2009, 04:38:09 AM »
Thanks all for your suggestions.  I had tried WinSCP back when this first started.  I do have the data recovered, that server has been repurposed, this topic can be closed now.
omnia mutantur, ex turbo modestum

Offline paradigm

  • *
  • 96
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #9 on: August 10, 2009, 06:37:45 AM »
It would be nice to know what you did to solve it.....

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: command line help-sme rescue/transfer ibays to another server
« Reply #10 on: August 10, 2009, 06:56:27 AM »
paradigm

tech4 answered that here
http://forums.contribs.org/index.php?topic=44508.msg214601#msg214601

ie replaced grub.conf
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.