Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: benny on March 18, 2007, 05:44:15 AM
-
This is a stupid question, just completed a backup on a usb drive using the facility in the admin panel. How do you restore from the disk and is it a full backup :oops:
Thanks
Benny
-
This is a stupid question, just completed a backup on a usb drive using the facility in the admin panel.
Do you mean the USB Backup within the console screen ? If not ignore below :P
How do you restore from the disk
When you next time reinstall the SME Server a screen will ask you if you wish to restore your backup with yes/no options, this is the screen just before you setup your admin password after installing.
On saying that because this is in an update it will not be available on a 7.1 ISO, you will have to wait for the next ISO. You could still resintall server with a 7.1 ISO then update to 7.1.2, then back at command prompt issue "db configuration setprop bootstrap-console Run yes" then give it "signal-event post-upgrade;signal-event reboot" and with any luck you will see the new restore via USB backup.
and is it a full backup :oops:
Yes.
-
Many thanks, I have tried a few backup systems but seems to me this is the better way to backup. Feeling much more confident, thankyou
-
I don't think this is a full backup, I've tried it and it give me a 4 Gb backup archive but I have 20 Gb data in ibays.
-
I don't think this is a full backup, I've tried it and it give me a 4 Gb backup archive but I have 20 Gb data in ibays.
It should be a full backup of the configuration, users and passwords, custom templates and /home/e-smith/. Here is the list.
'home/e-smith',
'etc/e-smith/templates-custom',
'etc/e-smith/templates-user-custom',
'etc/ssh',
'root',
'etc/sudoers',
'etc/passwd',
'etc/shadow',
'etc/group',
'etc/gshadow',
'etc/samba/secrets.tdb',
'etc/samba/smbpasswd',
'etc/smbpasswd',
NOTE: It does NOT backup web apps in the /opt directory.
Please check your smeserver.tgz tar file and determine if the backup is incomplete. If it is incomplete, report this to the bug tracker.
-
I've tried to open the archive with 7z on a winXP pc but it's a currupted file. :?:
This is so strange, tomorrow I'll try to do a new backup
-
Thats interesting, I am more concerned about backing up Ibays and Mysql than the system, I am running many domains and several databases. Not too conversive with command line stuff always have a fear of killing the machine. Backuppc is installed but not totally comvinced its doing the job as I want it.
-
Thats interesting, I am more concerned about backing up Ibays and Mysql than the system, I am running many domains and several databases. Not too conversive with command line stuff always have a fear of killing the machine. Backuppc is installed but not totally comvinced its doing the job as I want it.
Sorry, I should have mentioned that in addition to the backup list above, the system backup also does a mysqldump. And all the ibays reside under /home/e-smith so it does backup your ibays.
-
Thats great thanks heaps. All I need to do now is set up a test machine and try doing a restore. One more question, wil it restore to a machine that is not identical to the original. I am running 2 sata 250 gb drives with mirroring the test machine is a singel 200 gb ide. I have a feeling that it wont I think it needs to be restored to the original config
-
Thats great thanks heaps. All I need to do now is set up a test machine and try doing a restore. One more question, wil it restore to a machine that is not identical to the original. I am running 2 sata 250 gb drives with mirroring the test machine is a singel 200 gb ide. I have a feeling that it wont I think it needs to be restored to the original config
Backup/restore using this process is NOT machine specific. You should be able to restore to totally different hardware.
SME moto: "It should JUST WORK".
If it doesn't work, please post a bug report.
-
I will try asap and post result
-
progitto
> I've tried to open the archive with 7z on a winXP pc but it's a currupted file. :?:
Possibly the 4Gb backup file size is actually a truncated file due to the 4Gb backup file size limit.
-
There is still the file limit?
It's not only a Apache limit the 4 gb size?
I think that my problem could be that server disks are quite full and there isn't enought space to create the .tar file.
I'll try to do a new backup this night and I'll post the result.
-
Possibly the 4Gb backup file size is actually a truncated file due to the 4Gb backup file size limit.
Ray - There is no backup size limit if you are using the USB backup within the console menu.
-
Hi all
Unfortunately the restore from usb did not work. After installing sme on a new pc and updating it with the server manager I ran the commands at the prompt as described previously.
The only thing I did find is the pc would not start with the usb drive attached I had to remove the drive to start machine. Dont know if this has any bearing on the problem. So it seems I am back to square one, any comments or suggestions appreciated
Benny
-
I have opened a bug in bugtracker
http://bugs.contribs.org/show_bug.cgi?id=2754
-
Hi all
Unfortunately the restore from usb did not work. After installing sme on a new pc and updating it with the server manager I ran the commands at the prompt as described previously.
The only thing I did find is the pc would not start with the usb drive attached I had to remove the drive to start machine. Dont know if this has any bearing on the problem. So it seems I am back to square one, any comments or suggestions appreciated
Benny
If you followed these steps and it didn't work then please file a bug report and describe EXACTLY the steps you took and how and where it failed:
-Install 7.1 from CD
-Update to 7.1.2 using yum
-signal-event post-upgrade
-signal-event reboot
After reboot, do this:
-db configuration setprop bootstrap-console Run yes
-signal-event post-upgrade
-signal-event reboot
During reboot reconfiguration process you should see the new restore via USB backup option.
-NOW plug in the usb drive
-Pick "yes" or "restore" (or whatever is presented to you) and restore.
If it doesn't work, please file a bug report. It may be the steps are not exactly correct and a bug report will clearify it for everyone.
Thanks.
-
There is no backup size limit if you are using the USB backup within the console menu.
No, that's not correct. The size limit will depend on what file system is used on the backup device. The backup procedure doesn't create the file system.
-
Hi thanks for that
I tried it and no joy the option was not presented at boot
-
I tried it and no joy the option was not presented at boot
The restore option is only presented at first bootup after install.
-
Thanks Charlie
Then that poses a catch 22 as I need to install 7.1 and then boot to install the updates for 7.1.2 given that scenario I loose the opportunity to restore. I did read a post about creating a iso with the latest updates but thats most likely beyond my knowlege. Other option is to wait for 7.2 release and pray
-
Then that poses a catch 22 as I need to install 7.1 and then boot to install the updates for 7.1.2 given that scenario I loose the opportunity to restore.
Try:
config set PasswordSet no
signal-event reboot
-
Hi Charlie
Thanks for your reply, that worked ok and forced the system to ask for the backup but what happens is it cant find the usb drive. Not sure what to do with it now.
Thanks for your patience