Koozali.org: home of the SME Server

Backup Configuration - workstation

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Backup Configuration - workstation
« Reply #15 on: December 01, 2015, 09:10:15 AM »
I think if you can update this page, it is more easy to find by topic. (my suggession)
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10

Offline TerryF

  • grumpy old man
  • *
  • 1,856
  • +6/-0
Re: Backup Configuration - workstation
« Reply #16 on: December 01, 2015, 09:49:11 AM »
I think if you can update this page, it is more easy to find by topic. (my suggession)
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10

Added note box with link to backup with dar page and examples
--
qui scribit bis legit

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Backup Configuration - workstation
« Reply #17 on: December 01, 2015, 02:50:30 PM »
The backup process how to is ok. Now i would like to know how to log this backup process.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup Configuration - workstation
« Reply #18 on: December 01, 2015, 03:22:54 PM »
please, define "how to log"..

if you mean "how to be informed about backups", just read admin/root's emails

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Backup Configuration - workstation
« Reply #19 on: December 01, 2015, 03:39:13 PM »
/sbin/e-smith/do_backupwk[11472]: /home/e-smith/db/backups: OLD 1448938801=(undefined)
is this an entry of backups in log file? I found in the "messages" of log files menu of the sme server.
But I have not configured email service. Thus i will not able to read admin/root emails..... :-(

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Backup Configuration - workstation
« Reply #20 on: December 01, 2015, 03:57:19 PM »
smnirosh

As long as the server has access to an Internet connection (set this in Configure this server) or is on a LAN where there is an active mail server & the email address is recognised locally, then you can open server manager, go to User panel, and configure the admin user with a valid email address that you want system mail (eg root, admin, cron & so on) to be sent to. You might also want/need to set the ISP's mail server as outgoing smtp server if you use one already, set it the same as your main sme server.

This is really one of the first things you do when you set up a sme server, you need to monitor system email for many many reasons.

Alternatively you can enable webmail on the server & just log in locally to the web interface for webmail & login as admin with the admin password, in order to read admin emails.
eg
www.yourdomain.com/webmail
or
http://localLANIP/webmail
ie http://192.168.1.2/webmail

Note also there are add on contribs for webmail for a more dynamic look & for a minimalist mobile use ie MIMP & DIMP,
http://wiki.contribs.org/Dimp
http://wiki.contribs.org/Mimp
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Backup Configuration - workstation
« Reply #21 on: December 01, 2015, 04:10:03 PM »
Oh my god. i logged on according to your support above. I've got 4371 email unread...........
Yes janet, every log is recorded there.
My next goal to discuss about the email function with you from another post. May I ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup Configuration - workstation
« Reply #22 on: December 01, 2015, 04:30:46 PM »
just edit Admin user and forward its emails to an external email address

Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Backup Configuration - workstation
« Reply #23 on: December 01, 2015, 04:42:21 PM »
Or make a group (like "server_alerts") and add the users to that group who you want to get notifications. Make sure to update the "Admin" account e-mail to forward to the group you create (example: server_alerts@mydomain.com).

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup Configuration - workstation
« Reply #24 on: December 01, 2015, 04:46:10 PM »
backupwk key supports 2 related keys:

FromMail (default 'admin-backup')
ToMail

setting ToMail to an user/group account will do the magic

Offline TerryF

  • grumpy old man
  • *
  • 1,856
  • +6/-0
Re: Backup Configuration - workstation
« Reply #25 on: December 01, 2015, 08:19:48 PM »
This is what admin mail looks like:
==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of xyz.mydomain.org.au started at Wed Dec  2 01:30:03 2015
Backup of mysql databases has been done
Mounting backup shared directory <localhost:media/AAABACKUP>
Using set number 2 of 3
Attempt incremental backup number 3 of 13
Backup temp directory /media/AAABACKUP/tmp_dir/xyz.mydomain.org.au is mounted and is writable
Backup base file name is inc-003-201512020130
Starting the backup with a timeout of : 82770 seconds


 --------------------------------------------
 22 inode(s) saved
   including 0 hard link(s) treated
 0 inode(s) changed at the moment of the backup and could not be saved properly
 0 byte(s) have been wasted in the archive to resave changing files
 202358 inode(s) not saved (no inode/file change)
 0 inode(s) failed to be saved (filesystem error)
 272 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode(s) considered: 202652
 --------------------------------------------
 EA saved for 0 inode(s)
 --------------------------------------------
Moving backup files to target directory /media/AAABACKUP/xyz.mydomain.org.au/set2
Updating catalog
Disk usage 103G, 12% full, 768G available
Updating backup configuration data
Backup successfully terminated at : Wed Dec  2 03:01:07 2015
« Last Edit: December 01, 2015, 08:23:45 PM by TerryF »
--
qui scribit bis legit

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Backup Configuration - workstation
« Reply #26 on: December 04, 2015, 12:46:29 PM »
Actually what kind of data included in Workstation backup?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Backup Configuration - workstation
« Reply #27 on: December 04, 2015, 12:55:05 PM »
Actually what kind of data included in Workstation backup?

System config files, users data and ibays data.  Basically everything to be able to restore a server successfully.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup Configuration - workstation
« Reply #28 on: December 04, 2015, 01:00:42 PM »
Actually what kind of data included in Workstation backup?

if you want to know EXACTLY which dirs/files are included into a backup, please read here:
http://wiki.contribs.org/Backup_server_config#Manually_transferring_configuration_information

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backup Configuration - workstation
« Reply #29 on: December 04, 2015, 01:08:00 PM »
or, alternatively, use this command from CLI to have the inclusion list:

Code: [Select]
perl -e 'use esmith::Backup; $b = new esmith::Backup;print join("\n",$b->restore_list)'