Koozali.org: home of the SME Server

Backup restore

Offline trazomtg

  • ***
  • 119
  • +0/-0
Backup restore
« on: May 23, 2018, 06:19:00 PM »
Hi,
i have a smeserver te  of this computer.
i want to do a complete backup
Which method do you advice?
then i'll upgrade tp smeserver 10

thanks
« Last Edit: May 23, 2018, 07:08:26 PM by trazomtg »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup restore
« Reply #1 on: May 23, 2018, 06:40:31 PM »
You really don't want to do so
SME10 is still in early alpha stage, so it must not be used in production

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #2 on: May 24, 2018, 01:28:51 AM »
Hi,
i have a smeserver te  of this computer.
i want to do a complete backup
Which method do you advice?
then i'll upgrade tp smeserver 10

thanks

The server manager "backup to workstation" will do it, & select to backup to local USB disk as destination.
This method requires you to configure the same backup job on the sme10 server BEFORE you do a restore..

Also you can do a one off console backup to USB disk. Log in at command line as admin & select backup from the menu, connect the USB only when asked.

You will/should be asked if you want to do a restore near the end of the sme10 install process. DO NOT insert the USB disk until asked or you risk wiping the backup disk & adding it to the hard disk array.

Having said the above please realise that sme 10 is in alpha development & not all things work correctly & may need debugging.
Also there may be security issues.

sme 10 should only be used for testing or in a carefully monitored test/production environment which is NOT mission critical, & then only by an experienced admin.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Backup restore
« Reply #3 on: May 24, 2018, 12:45:36 PM »
Alpha = liable to break suddenly without warning and trash all your data. Updates and changed may render it instantly unusable.

Only use for testing and bug reporting
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #4 on: May 25, 2018, 01:30:25 PM »
ok
so if i just want to do a total backup of my server and not upgrade to smeserver, which is your advice about the method to  use?  USB key, remote computer or anything else?,

if i want to use a USB to have a total image of the computer where is installed the SMEServer, how can i dot it?

thanks
T
« Last Edit: May 25, 2018, 01:35:45 PM by trazomtg »

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Backup restore
« Reply #5 on: May 25, 2018, 01:44:18 PM »
Have you searched the wik?

A lot of methods are documented there.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #6 on: May 25, 2018, 01:48:51 PM »
i don't understand where must be plugged the USB key to do a total backup.
is it possible to boot on the USB key to restore the server totally

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Backup restore
« Reply #7 on: May 25, 2018, 01:52:36 PM »
The usb is plugged into your server to do a backup.

If you need to restore, first you install a clean server, then when asked 'do you want to restore from backup you plug in your usb.

Please read the manual in the wiki where this is explained.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #8 on: May 25, 2018, 02:29:06 PM »
suppose i have done a total backup on a USB key.
suppose my smeserver is unable to boot.
is it possible to reinstall ALL smeserver system and parameters from my USB key?



Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup restore
« Reply #9 on: May 25, 2018, 02:54:25 PM »
I beg your pardon but.. did you take 5 mins to search the forums, read the documentation, check the wiki?

99.99% of your questions have already an answer

https://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10

this is not the first time you're (I'd say kindly) asked to read the documentation.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #10 on: May 25, 2018, 05:24:59 PM »
trazomtg

Please read my post/answer earlier in this thread. It gives you detailed instructions re 2 standard backup & restore methods.

All restores are done to a freshly installed sme server operating system.

You DO NOT do restores to an already configured existing system.

After the restore you must also reinstall any contribs that were previously installed.

Sme server does not have a bare metal backup function to USB disk (ie whole of disk contents).

Note though that a backup to tape does backup all file systems, but a restore from tape does not restore all file systems, only default data & configuration is restored.

Note that sme server does not have a function to create a bootsble USB disk backup.

Please read the Wiki Howto article titled Backup server config (especially section re Backup Concepts towards the end).

If you need to boot a non booting server, you insert the sme server install CD/DVD & do a Rescue boot from that, this is for recovery of data purposes or when attempting to correct the reason the server will not boot, etc.

Note YOU DO NOT DO A RESTORE TO AN EXISTING CONFIGURED INSTALL OF SME SERVER

« Last Edit: May 25, 2018, 05:27:01 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #11 on: May 25, 2018, 06:19:36 PM »
Super!! thanks a lot

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #12 on: May 26, 2018, 10:42:50 AM »
to do a backup on remote computer via NFS i have installed nfs-utils on smeserver.
must i install nfs-kernel-server on the smeserver and the client on remote computer?
or must i install nfs-kernel-server on remote computer and client on smeserver computer?

i have no package nfs-server on smeserver.

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: Backup restore
« Reply #13 on: May 26, 2018, 11:24:44 AM »
Why don't you seach the wiki like you have been advised many times?

If you do not help yourself more, people will ignore you.

https://wiki.contribs.org/NFS
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline trazomtg

  • ***
  • 119
  • +0/-0
Re: Backup restore
« Reply #14 on: May 26, 2018, 10:59:45 PM »
i have not a lot of time to install a backup solution
thanks a lot
T.
« Last Edit: May 28, 2018, 10:07:57 AM by trazomtg »