50l3r

Active Member
Mar 3, 2017
43
6
8
Spain
cPanel Access Level
Root Administrator
Buenas tardes,

Últimamente estoy teniendo caídas en mi servidor debido a las operaciones i/o de los backups. Al estar todo en la misma unidad todos los servicios se bloquean y toca reiniciar en frio.

La cosa es que en el proveedor que estoy no veo la opción de añadir un disco adicional para estas operaciones.

La idea que tengo es montar una unidad nfs para los backups y realizarlos ahi.

¿Como lo veis? ¿Seria buena idea?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hola,

¿Sabe por qué las copias de seguridad hacen que el servidor se bloquee? ¿Se ha registrado algo importante en los registros de copia de seguridad o en el registro de errores de cPanel?

Puede encontrarlos aquí:

/usr/local/cpanel/logs/error_log
/usr/local/cpanel/logs/cpbackup/

En cuanto a añadir una unidad adicional para montar para las copias de seguridad, esto estaría bien, pero NFS no es compatible. Aunque puede utilizar NFS, no lo sugeriría ya que el comportamiento puede ser impredecible. Esto se observa en nuestra documentación aquí:


CITA]Le recomendamos encarecidamente que no realice copias de seguridad en sistemas de archivos remotos (por ejemplo, NFS, CIFS, smbfs u otros tipos de sistemas de unidades de red). Aunque puede realizar copias de seguridad directamente en un sistema de archivos remoto, cPanel & WHM no admite esta configuración. Recomendamos encarecidamente que trabaje con un administrador de sistemas cualificado para gestionar esta ruta de copia de seguridad personalizada y evitar posibles riesgos[/QUOTE].

Traducción realizada con el traductor www.DeepL.com/Translator

=======================================================================

Hello,

Are you aware of why backups are causing the server to crash? Is anything of note logged to the backup logs or cPanel error log?

You can find them here:

/usr/local/cpanel/logs/error_log
/usr/local/cpanel/logs/cpbackup/

As far as adding an additional drive to mount for backups, this would be fine but NFS is not supported. While you can utilize NFS I would not suggest it as the behavior may be unpredictable. This is noted in our documentation here:


We strongly recommend that you do not perform backups to remote filesystems (for example, NFS, CIFS, smbfs, or other types of network drive systems). While you can back up directly to a remote filesystem, cPanel & WHM does not support this configuration. We strongly recommend that you work with a qualified system administrator to manage this custom backup path and avoid potential risks.
 

50l3r

Active Member
Mar 3, 2017
43
6
8
Spain
cPanel Access Level
Root Administrator
He abierto un ticket y me comentan esto:

Code:
To backup your server the accounts are copied into a staging location and then they are compressed for transport to your two remote FTP locations. This process uses a lot of IO and can use a fair amount of CPU on the server.

Generally, we recommend a second disk for backups and backup staging to avoid using all of the IO on the primary disk during the backup process.

Your servers iowait is becoming very high around 2:10 am and onward. This is consistent with the backup process using up the disk input and output and causing the server to slow down.

Currently, I/O priority level at which cPanel-generated backups are run, in tweak settings is set to 7. While this default can work well on servers with fast disks it can cause issues if your disk is having problems with iowait. I recommend reducing this value to 3.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hola,

Me alegra saber que pudiste conseguir ayuda a través del boleto. ¿Pudiste resolver tu problema?

=======================================================================

Hello,

I'm glad to hear that you were able to get assistance through the ticket. Were you able to get your issue resolved?