1

Topic: update OS ubuntu 12.04

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== ==== ==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====
I have the working iRedMail server.
How safe to update OS If it include update postfix, ldap,... and other utils from iRedMail? "apt-get update && apt-get upgrade && apt-get dist-upgrade"

What I need to backup before apt-get upgrade?

2

Re: update OS ubuntu 12.04

Updating OS with "apt-get upgrade" should be fine.

It's always a good idea to backup mail accounts before updating. iRedMail will setup cron jobs to backup mail accounts by default, you can find them with command "crontab -l -u root".

3

Re: update OS ubuntu 12.04

ZhangHuangbin wrote:

Updating OS with "apt-get upgrade" should be fine.

It's always a good idea to backup mail accounts before updating. iRedMail will setup cron jobs to backup mail accounts by default, you can find them with command "crontab -l -u root".

sorry but is there the script in pro version?
I see only awstas in crontab?

4

Re: update OS ubuntu 12.04

Was your iRedMail server a fresh installation or upgraded from and old version?
If you installed iRedMail-0.8.1 on a fresh OS, it will setup daily backup cron job automatically. If not, you can get backup scripts here (files start with "backup_"):
https://bitbucket.org/zhb/iredmail/src/ … Mail/tools

5

Re: update OS ubuntu 12.04

ZhangHuangbin wrote:

Was your iRedMail server a fresh installation or upgraded from and old version?
If you installed iRedMail-0.8.1 on a fresh OS, it will setup daily backup cron job automatically. If not, you can get backup scripts here (files start with "backup_"):
https://bitbucket.org/zhb/iredmail/src/ … Mail/tools

it was a fresh install.
i'll get the file.

Thanks

6

Re: update OS ubuntu 12.04

Hi ZhangHuangbin!
I downloaded a script for backup (for mysql), but the script asks to enter a user name and the password for mysql.
What user and password to use in script variables?
And if the database is mysql, only one script for backup or also for ldap is necessary?