Open Souce edition backup advise

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
glennbtn
Advanced member
Advanced member
Posts: 108
Joined: Sat Sep 13, 2014 12:56 am

Open Souce edition backup advise

Postby glennbtn » Fri Jul 26, 2013 10:09 am

Hi All
Since I started using Zimbra (currently I have a v7 and v8 edition running) I have stopped the zimbra services and then rsynced the opt/zimbra directory. I used this on my fist machine move from Centos 5.5 to Ubuntu 10.4 on v6.
I have been reading a 13 page heated post on here about backups and ldap and a file which seems to come across as possible 80gb. Now I am still a novice when it comes to Linux and I know if I search on here I will find lots of example of backups but an now confused whether any of these will be correct. I did notice a Zimbra employee saying we should not even be using rsync but with open source editions our options are a little limited.
I am looking for some advise here as to what I should really be doing in the way of backups just for security and even in the event of moving to a new server.
Thanks
Glenn


chauvetp
Outstanding Member
Outstanding Member
Posts: 350
Joined: Fri Sep 12, 2014 11:28 pm

Open Souce edition backup advise

Postby chauvetp » Fri Jul 26, 2013 10:35 am

I cannot speak to the open source backups (since we're on the commercial edition) and I don't have experience with the open source backup methods.
In terms of moving to a new server, I highly recommend this wiki page on this. We've used these steps several times (usually for OS upgrades):

Ajcody-Notes-Server-Move - Zimbra :: Wiki
phoenix
Ambassador
Ambassador
Posts: 26714
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Open Souce edition backup advise

Postby phoenix » Fri Jul 26, 2013 10:44 am

[quote user="glennbtn"]Since I started using Zimbra (currently I have a v7 and v8 edition running) I have stopped the zimbra services and then rsynced the opt/zimbra directory.[/QUOTE]If this a a 32bit to 64bit move then you need to follow the Zimbra Certified wiki article on this subject, you must also move the same zimbra version (as you have installed on the current server) on the new server.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
glennbtn
Advanced member
Advanced member
Posts: 108
Joined: Sat Sep 13, 2014 12:56 am

Open Souce edition backup advise

Postby glennbtn » Fri Jul 26, 2013 10:48 am

Thanks all
But what should 1 be doing for backup's these days after reading this post I am confused about backups

Thanks
Glenn">http://www.zimbra.com/forums/administrators/59592-ldap-database-went-97meg-86gig.html
Thanks
Glenn
phoenix
Ambassador
Ambassador
Posts: 26714
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Open Souce edition backup advise

Postby phoenix » Fri Jul 26, 2013 11:05 am

[quote user="glennbtn"]But what should 1 be doing for backup's these days after reading this post I am confused about backups[/QUOTE]Are you asking a question about backups or moving ZCS to a new server? The 80GB sparse file is only relevant to ZCS 8.x and quanah has given details in that thread about what's needed for backing-up that file.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Krishopper
Outstanding Member
Outstanding Member
Posts: 769
Joined: Fri Sep 12, 2014 10:23 pm

Open Souce edition backup advise

Postby Krishopper » Wed Aug 14, 2013 9:44 pm

Best recommendation is to store the /opt/zimbra partition on an LVM volume. Then to backup, shut down the server, make a snapshot of the volume, and start the server. You can then rsync the consistent snapshot or use another method to back that up to your backup location.
There are several example scripts around the forums and wikis showing how to set this up.
User avatar
Federico Bertola
Advanced member
Advanced member
Posts: 133
Joined: Wed Oct 09, 2013 8:08 am
Contact:

Open Souce edition backup advise

Postby Federico Bertola » Thu Aug 15, 2013 8:31 am

You're right Kris,
for a reliable backup using rsync or snapshot, all services must be shutting down!

But I suggest to take a look to the only realtime back solution for Zimbra OSS with no downtime.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 22 guests