Archivo

Archivo para la Categoría "Backup"

Automatizando Backups en Zimbra OpenSource edition

19 febrero 2010 2 comentarios

En el siguiente es un breve articulo que explica como automatizar los backups de Zimbra OpenSource edition de una manera sencilla

ATENCIÓN:  Los backups de Zimbra en su version Libre requieren de hacer un stop general del sistema mientras se lleva a cabo el proceso. Para tener el feature de Hot Backups se debe adquirir la Network Edition.

Vamos a hacer uso de un script en perl que soporta rsync, de esta manera tenemos la opcion de copiar los backups en otro servidor
Procedemos a instalar todos los modulos CPAN necesearios para su ejecución, descargar el script y darle permisos

$ sudo apt-get install libproc-process-perl libfile-rsync-perl libmailtools-perl libio-stri
$ wget http://www.jsoto.com.ar/scripts/backupZimbra.pl
$ chmod +x backupZimbra.pl
$ crontab -e

Configuramos el crontab para que se ejecute a una hora que el servicio pueda ser detenido

0 3 * * * /ruta/al/script/backupZimbra.pl

De esta manera dejamos configurado para que las tareas de backup se ejecuten todos los dias las 3 am

Fuente: http://www.jsoto.com.ar/automatizando-backups-de-zimbra-opensource-edition/

Categorías:Backup, Zimbra Etiquetas: ,

Moving Zimbra Colaboration Suite to Another Server

12 febrero 2010 1 Comentario

Introduction


Either you, or someone you know has been there. Almost out of Disk space, RAM is topped out, and the CPU is constantly running above 80%. It’s time to upgrade the hardware. But how easy and safe is it to move the Zimbra server instance? Well, it’s easier than you might think.

In this Zimbra Administrator’s PowerTip, we’ll discuss how to migrate your Zimbra server to another Machine or OS. The one big caveat is that both instances of Zimbra MUST be running the same version. So if your old server is running 4.5.5, then you’ll need to install 4.5.5 on your new server. This wouldn’t be the time to upgrade your ZCS version.

Part 1 : Backing Up


Step by Step:

  1. As zimbra: zmcontrol stop
  2. As root: ps aux | grep zimbra (make sure everything’s stopped)
  3. Mount external disc to location of your choice. ex: /mnt/migration
  4. As root: rsync -avH /opt/zimbra /mnt/migration (this may take a while)

Zimbra Network Edition contains a backup feature, and although it’s useful, we won’t be using it in this tip.

We have an external Hard Disc mounted to /mnt/migration. When rsync’ed, this is now your live copy (although it’s not live), and you should always have a backup of your live data. So, you might want to rsync again to another location to be safe.

Once you’ve rsync’ed all your data, umount the external drive, and put it somewhere safe.

Part 2 : Meet Your New Server


Step by Step:

  1. Install Newer (supported) Operating System
  2. Turn off older ZCS Server
  3. Set up newer ZCS Server’s Network/Hostname is it was on the older server

The only thing that really matters on your new server, is whether or not meets Zimbra’s server Hardware and the Operating System requirements.

It’s also very important that you have resolved any dependency issues. The ZCS installer for your newer OS should check for these.

Setup the newer server with the old server’s networking attributes. Make sure your older server is offline.

If changing the hostname, please see this wiki article: Set zmhostname
Part 3 : Create a “dummy” Install Then Remove It


Step by Step:

  1. Download the version of ZCS (ie 4.5.5 or 4.0) for the new OS you have
  2. As Root: Run the installer with the -s option: ./install.sh -s
  3. As Root: Remove the dummy install: rm -rf /opt/zimbra

The goal of this step is to get the rpm/dpkg databases correct. When you download ZCS, make sure it’s for your newer OS, and the SAME version of ZCS that’s rsync’ed.

Run the installer with the -s option. This tells the installer to only install the software, and not to configure the installation.

Once the installer has completed, delete it by rm -rf /opt/zimbra. This wipes any dummy data you have in that location.
Part 4 : Mount Your Backup HD, rsync, and Install


Step by Step:

  1. Mount external Hard drive
  2. As Root: rsync your backup to the new location: rsync -avH /mnt/migration/zimbra /opt/
  3. Unmount external Hard drive and keep it safe
  4. As Root: run zmfixperms located in /opt/zimbra/libexec
  5. As Root: rerun the installer without the -s option

Connect and mount your external hard drive. Then, rsync the backed up data to its new location (rsync -avH /mnt/migration/zimbra /opt).

Connect and mount your external hard drive. Then, rsync the backed up data to its new location (rsync -avH /mnt/migration/zimbra /opt).
Unmount your backed up copy, and keep it in a safe place.
Now that our data is all in place, we need to fix some permissions. Go into the /opt/zimbra/libexec directory and run zmfixperms. This helps insure that all the files are owned correctly.
Once that has completed, re run the installer that you downloaded. It will detect ZCS already installed, and ask if you want to upgrade. Select Yes.

Source: http://www.zimbrablog.com/blog/archives/2007/10/moving-zcs-to-another-server.html

Categorías:Backup, Zimbra Etiquetas: ,

Driver Max 3, La solución para el backup de drivers

24 diciembre 2009 Deja un comentario

Algo que muchas veces suele dar dolor de cabeza es el volver a reinstalar los drivers una vez hemos formateado y reinstalado nuestro Windows. Para ello existen programas como Driver Max que nos ayudarán a realizar una copia de seguridad de todos nuestros drivers.

Tenemos la opción de elegir que drivers queremos guardar y cuales no. Una vez se haya creado la copia de seguridad podremos formatear y reinstalar nuestro Windows sin ningún problema ya que con DriverMax y un sólo click podremos importar todos los drivers que teníamos anteriormente sin necesidad de estar buscándolos uno por uno.

driver max

A este tipo de programas se les puede dar muchos usos, yo lo usaba en mi anterior trabajo cuando entregaban muchos ordenadores de características similares y teníamos que quitarles el Vista y ponerles el XP, undolor de cabeza para encontrar los drivers pero una vez hecho, pasaba DriverMax por todos los ordenadores y a funcionar.

Fuente: http://www.pablogeo.com/driver-max-3-la-solucion-para-el-backup-de-drivers

Categorías:Backup, Drivers, Windows Etiquetas: , ,
Seguir

Get every new post delivered to your Inbox.