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,894
  • +3/-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,948
  • +6/-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,948
  • +6/-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,948
  • +6/-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,894
  • +3/-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,948
  • +6/-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 »

Offline ReetP

  • *
  • 3,948
  • +6/-0
Re: Backup restore
« Reply #15 on: May 26, 2018, 11:07:22 PM »
And I am holiday.

Thanks
...
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 Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup restore
« Reply #16 on: May 27, 2018, 02:34:51 AM »
i have not a lot of time to install a backup solution
thanks a lot
T.

OK, enjoy

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #17 on: May 28, 2018, 10:13:07 AM »
hello
i have done backup with NFS on a remote machine
i have a directory "set1" which includes a directoryfull........-dar  and  a file "dar-catalog"

how can i do a restauration?
i don't see the doc on the restoration
thnaks


Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #19 on: May 29, 2018, 03:48:25 PM »
hello,

i succeeded the backup but i'd like to include another directory (/opt)
is it possible and so how to do it?
thanks

Offline ReetP

  • *
  • 3,948
  • +6/-0
Re: Backup restore
« Reply #20 on: May 29, 2018, 04:07:42 PM »
i succeeded the backup but i'd like to include another directory (/opt)
is it possible and so how to do it?
thanks

Read. The. Wiki.

I don't have time to help you further.
...
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 janet

  • *****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #21 on: May 30, 2018, 12:46:41 AM »
trazomtg

Find the links at top to Documentation (3 bars on mobiles).
Look at the
Howto
Also look for
Contribs
under another heading
for lots of answers.
eg this one

https://wiki.contribs.org/Backup_with_dar#Adding.2FExcluding_Directories_and_Files_from_the_backup_list

You need to help yourself as people here will now stop helping you due to your laziness.
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 #22 on: May 31, 2018, 03:26:36 PM »
sorry, i haven't found the doc on "adding directories"
thanks

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #23 on: May 31, 2018, 03:48:22 PM »
sorry, i haven't found the doc on "adding directories"
thanks

Seriously are you joking ?
I gave you the URL link in my last post, all you had to do was click on it.
Look at the heading
Adding Files and Directories
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ReetP

  • *
  • 3,948
  • +6/-0
Re: Backup restore
« Reply #24 on: May 31, 2018, 04:01:09 PM »
<headbang>

Quote
i am an "old" systems and network international consultant and technical directeur for a very big enterprise. I'm now retired and fave plenty of time.
i have skils in Tivoli, Nagios, MRTG ....
others skills in KVM, OpenVPN, Iptables, linux (Fedora, Debian ), Unix (AIX) ...
and some facilites in bash, python and prolog

And I'm a unicorn, and I'm off to graze in the fields.
...
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 #25 on: May 31, 2018, 09:09:02 PM »
hello,
 i wonder whether i could use the "DAR backup" facilities of SMEServer on another computer.
is it possible to install on a computer all the interfac e (and only this interface) of DAR backup?
i use it now and i enjoy really
thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup restore
« Reply #26 on: May 31, 2018, 10:18:54 PM »
Is Google broken in your country?
« Last Edit: May 31, 2018, 11:09:40 PM by Stefano »

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Backup restore
« Reply #27 on: May 31, 2018, 11:01:14 PM »
This would make a good episode/chapter for the BOFH :-)
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,948
  • +6/-0
Re: Backup restore
« Reply #28 on: May 31, 2018, 11:08:27 PM »
This would make a good episode/chapter for the BOFH :-)

Just mind the slippery bit near the window sir....
...
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 #29 on: June 01, 2018, 12:06:04 PM »
Sorry but i don't  understand your replies
i am french

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #30 on: June 01, 2018, 01:05:56 PM »
hello,
is my request possible?
thanks

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Backup restore
« Reply #31 on: June 01, 2018, 01:25:05 PM »
hello,
 i wonder whether i could use the "DAR backup" facilities of SMEServer on another computer.
is it possible to install on a computer all the interfac e (and only this interface) of DAR backup?
i use it now and i enjoy really
thanks


Short answer, No
--
qui scribit bis legit

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #32 on: June 01, 2018, 01:29:26 PM »
i like this kind of response :-P

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #33 on: June 01, 2018, 01:34:18 PM »
so, i'm going to install my backup on another computer.
what is your advice:  backuppc  or  DAR?
thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup restore
« Reply #34 on: June 01, 2018, 01:56:52 PM »
Try both of them, test them, then choose the one you feel more comfortable with
BTW, they are different tools with different aims

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #35 on: June 01, 2018, 02:04:59 PM »
do you think these  solutions are good solutions?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup restore
« Reply #36 on: June 01, 2018, 02:14:55 PM »
yes, they are, but they are for me.
you must test them to understand how they work and to learn using them, then choose the one you prefer.
nowadays setting up $whatever feature is quite easy.. the hard work is to understand how thing are going to work, to fix them if something goes wrong.
and you're talking about backup
I usually use a custom made script to backup my servers.. or duplicity or rsync.. the point is that you have to test and choose the right tool for you for your environment and skills
« Last Edit: June 01, 2018, 02:45:38 PM by Stefano »

Offline trazomtg

  • ****
  • 119
  • +0/-0
Re: Backup restore
« Reply #37 on: June 01, 2018, 02:44:03 PM »
ok!  thanks

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #38 on: June 01, 2018, 03:45:38 PM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ReetP

  • *
  • 3,948
  • +6/-0
...
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 janet

  • *****
  • 4,812
  • +0/-0
Re: Backup restore
« Reply #40 on: June 01, 2018, 04:05:11 PM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup restore
« Reply #41 on: June 01, 2018, 04:33:19 PM »
this is my favourite t-shirt (sorry for bad quality image)

Offline ReetP

  • *
  • 3,948
  • +6/-0
Re: Backup restore
« Reply #42 on: June 01, 2018, 05:33:12 PM »
Blimey. It must be Friday :-)
...
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