Koozali.org: home of the SME Server

restore from usb

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
restore from usb
« on: January 02, 2009, 01:16:25 AM »
HI

I installed 7.4 SME on new machine today;and the old machine was a 7.2 SME
I've been using the backup to usb / aka dar2 and seems to have been working fine.

When the 7.4 SME asked if I wanted to restore from backup I selected yes, then plugged in the usb drive, and selected /media/usbdisk1 as it was listed.

Then the message says no files found, but I know they are there. I can plug the drive into my ubuntu computer and see a folder with my servername myserver.smeserver.com and inside that is a folder named standardbackup and inside that is 9) xxx.dar files and the db.zip file inside

Why would SME 7.4 not see the backup files on the usb drive?

It seems pretty simple right ? I mean I just have to plug in the usb device when it gets to this point and should restore from backup ?
I have no other usb devices plugged in to the new system at all.

Have I done something wrong. ?
« Last Edit: January 02, 2009, 02:33:23 AM by Agent86 »

Offline Boris

  • *
  • 783
  • +0/-0
Re: restore from usb
« Reply #1 on: January 02, 2009, 03:44:34 AM »
Your current backup files were created by DAR backup add-on and not SME's "native" backup program. SME restore doesn't know about this add-on and doesn't recognize its format. After default installation of SME you will need to install DAR backup from contribs repository and use it to restore files from your backup.
If you want to make SME compatible backup for the future recovery, use SME console and backup to USB disk from there or (new in SME 7.4) use server-manager/backup and restore panel to create backup to workstation (and select local usb disk instead of networked workstation as a destination)

...

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: restore from usb
« Reply #2 on: January 02, 2009, 05:10:59 AM »
Thanks

I ditched the idea of Disk ARchive with Dar2, I've updated the server to include the new backup to workstation option/usbdisk

I now configure my usb disk for backup but when the time occurs for a backup nothing happens. Yet the configuration process tells me that it's setup successfully and mounted etc. ?
I'll check logs and emails to see if I can find out why ?
Any advise would be appreciated.
Thanks
« Last Edit: January 02, 2009, 04:39:45 PM by Agent86 »

Offline Boris

  • *
  • 783
  • +0/-0
Re: restore from usb
« Reply #3 on: January 02, 2009, 08:59:59 PM »
It may unmount your USB disk after the backup. Check if files are actually on the disk. If it doesn't behave as it suppose to, file the bug report.
...

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: restore from usb
« Reply #4 on: January 02, 2009, 09:42:06 PM »
It may unmount your USB disk after the backup. Check if files are actually on the disk. If it doesn't behave as it suppose to, file the bug report.

I was able to get the backup working to usb, in the sme 7.4
I can verify backup using the panel.

I'm not sure what I"m looking at in the backup verification list ?

For example things like this:
[Saved] [ 59%] -rw-rw-r-- icl foolishlys.com 2078 Wed Dec 31 15:33:45 2008 home/e-smith/files/ibays/iclbiz/html/pc88/002-003.JPG.html

What does the 59% represent?

Offline Boris

  • *
  • 783
  • +0/-0
Re: restore from usb
« Reply #5 on: January 02, 2009, 10:11:44 PM »
59% compression ratio?
...

Offline Foa

  • ****
  • 113
  • +0/-0
  • Donations: October 2007 - $ 50
Re: restore from usb
« Reply #6 on: January 02, 2009, 11:15:29 PM »
Agent86 did You make the backup using 7.2 and then restore it using 7.4
If so I think the 7.4 do not see it.. 7.4 looks only for 7.4 backups using server-manager
I may be wrong.

But backup made by server console option 8, using 7.2 will be reconized by the 7.4 when You install 7.4 as new.
Try to make a backup using server-manager using 7.4 and 7.4 will reconize it..


Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: restore from usb
« Reply #7 on: January 03, 2009, 12:16:04 AM »
Agent86 did You make the backup using 7.2 and then restore it using 7.4
If so I think the 7.4 do not see it.. 7.4 looks only for 7.4 backups using server-manager
I may be wrong.

But backup made by server console option 8, using 7.2 will be reconized by the 7.4 when You install 7.4 as new.
Try to make a backup using server-manager using 7.4 and 7.4 will reconize it..

Thanks

Here is what I've done on my latest attempt.
I upgraded to 7.4, then used the server-manager to create backup to workstation local usb, which is plugged into the sme server itself. It created a backup from what I can tell. But when I restored to the new server the option to just plugin the usbdisk and then hit next to restore from backup did NOT find any backup files. Although it's confirmed that they are indeed there.

On the new server I created a new backup to workstation job same as before, but did not perform a backup. I then went to the restore from workstation option and performed the restore.

When It finished the server confirmed it was complete and directed me to reboot.
Then after reboot I could not access the server, or internet or anything because I"m running in gateway.

I noticed that the server said wan (FAILED) in red during the boot screen.
I put the old server back in place temporarily until I figure out how to backup then restore.

No options appear to be working properly thus far. DAR2 appeared to backing up the server making me feel good, but I installed DAR2 on the new server and cannot restore from usb for some reason and all the files are indeed there also.


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: restore from usb
« Reply #8 on: January 03, 2009, 12:22:40 AM »
Agent86, do you have a reason for using DAR2 and not the standard fully-supported backup to USB?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: restore from usb
« Reply #9 on: January 03, 2009, 03:43:05 AM »
Agent86, do you have a reason for using DAR2 and not the standard fully-supported backup to USB?

Yes, I do

As I've said here, I've tried both without success.

Standard backup to usb was not included in 7.2 thus I've been using DAR2 as previously recommended by you.

Then since my disk array is degraded and I wanted to restore to new hardware I attempted to do this and failed.

Now the server started having other problems accessing server-manager, ibays and webpages in the ibays. and webmail.The only access was via ssh to server-manager, image hosting down, etc.
Since I am unaware how to diagnose those problems I decided to update via CD to 7.4 in order to use the backup/restore feature to local usb which is included in the 7.4 version. Since I had no success restoring with DAR2

Updated to 7.4 via CD rom seems to have fixed the access problems I was having.

So I ran one backup to workstation via local usb connected to the sme server using the backup feature included in 7.4 and it appeared to complete and the email suggested it was complete.

I then did a fresh install to another server, and attempted to restore from usb drive when prompted to connect, I did so. (NO FILES FOUND). But the files are there and confirmed.

I then decided to try to used the server-manager panel to restore. Once I created a backup job, but without performing it.I could verify and restore from workstation usb disk and it appeared to restore as I've indicated. I rebooted as the server text directs.But the server wan failed and no access to anything from local server, from internet, and no email nothing.

So now I'm considering attempting restore with DAR2 again since the files are still on the usb drive as well as the new backup which was create with the 7.4 backup options.

And now that the old server is working properly again but with degraded array, I ran a new backup with DAR2 considering to restore to the new server once I install DAR2 again, and all the other stuff, like joomla/gallery2,myadmin etc.

I would prefer to use the standard restore feature of 7.4 which appears to work easily, however it did not actually restore a working server and the wan is dead once I restore. Also I don't have a dedicated monitor for this server so I have to move all this hardware around every time I try something until I get it up and running on the new server.

Been working on this for 2) 12 hour days straight and have a repaired old server with degraded array, and no successful method of backing up or restoring.

Once I did a backup with 7.4 I thought it would be so easy to restore, but during installation of the new server it says no files found.And also when trying to restore from the panel it does not leave me with a working server. So I'm back to attempting DAR2. I don't really care which I use I just want something simple that works.

Anyhow that why the DAR2 subject only because thats how my backup jobs started in versions 7.1 etc.



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: restore from usb
« Reply #10 on: January 03, 2009, 09:42:49 AM »
Yes, I do

As I've said here, I've tried both without success.

Did you send bug reports?

Quote
Standard backup to usb was not included in 7.2 thus I've been using DAR2 as previously recommended by you.

Really? I would be surprised if I'd ever recommended DAR2, as I've never used it myself.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: restore from usb
« Reply #11 on: January 03, 2009, 07:33:31 PM »
And you are correct It was RAY Mitchell and several others, so I had thought you were one of them who recommended DAR2 in previous questions about doing backup jobs.
But I there did not appear to be any other backup type available at that time. So if you never used DAR2 then I assume you must have used tape backup which I didn't have or perhaps under 2GB and backup to desktop or something ?

I was over 2GB so I was looking for something to meet the need at that time and that was recommended in the forums. If there was something else available at that time I was unaware of it.

I just posted a bug report.
« Last Edit: January 03, 2009, 08:03:54 PM by Agent86 »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: restore from usb
« Reply #12 on: January 06, 2009, 03:20:04 AM »
I don't really care which I use I just want something simple that works.

Most simple and reliable is backup to USB in console, and restore from backup in initial console. Or you can backup to desktop from server manager, then backup to CDROM, DVD or USB hard drive, then restore from initial console.


Offline pfloor

  • *****
  • 889
  • +1/-0
Re: restore from usb
« Reply #13 on: January 06, 2009, 06:23:15 AM »
I rebooted as the server text directs.But the server wan failed and no access to anything from local server, from internet, and no email nothing...

...however it did not actually restore a working server and the wan is dead once I restore...
A note to you...

If you are restoring to different hardware, your nic driver(s) and/or assignment(s) will be from your old server's configuration and if the nic(s) are different on the new server then you MUST run through the server configuration screens and confirm that the nic settings are correct(ed) or you may not have lan and/or wan access.

IOW, after you do the restore log in as "admin" and chose #2 "Configure this server" and walk through the screens and pay particular attention to the screens that concern network settings.
In life, you must either "Push, Pull or Get out of the way!"