ÇáÓí ÈÇäÇá WHM/CPanel ÇáÈÇß ÇÈ Backup ÇÓÊÈÚÇÏ ÇáÇíãíáÇÊ Exclude mail folder
ÇáÓí ÈÇäÇá WHM/CPanel Íá ãÔßáÉ ãÓÇÍÉ ÇáÈÇß ÇÈ Backup ÇáßÈíÑÉ !
Exclude mail folder FROM BACKUP for all accounts
External disk space for backups - How to Exclude Files from Backups
backup account database and public_html but exclude the emails
Backup in other server externalâ›” The backup process failed
excluding emails from whm backup
ÇáãÔßáÉ :
I have 200GB space on a VPS server, currently I'm using 140GB, so the disk space is enough, but when the server run the daily backup process it fails because of disk space.
How can I solve this issue ? is there a way to use external drive ? or maybe delete the previous backup "before" the new backup process begin ? or something else..
Íá ÇáãÔßáÉ :
1- Create backup on Google Drive
Þã ÈÇÎÐ ÈÇÞÉ ßÈíÑÉ ãä ÌæÌá ÏÑÇíÝ æÇÑÈØåÇ ãÚ whm backup
2- Remove retained backups from Drive
Ëã ÇáÛì ÎíÇÑ ÇáÇÍÊÝÇÙ ÈÇáÈÇß ÇÈ Úáì ÇáÓíÑÝÑ ÈÚÏ äÞáå Çáì ÌæÌá ÏÑÇíÝ
3- Exclude mail folder from backup for all accounts
íãßäß ãäÚ ÇÎÐ ÈÇß ÇÈ ááÇíãíáÇÊ Ýåì ÛíÑ åÇãÉ æÊÇÎÐ ãÓÇÍÉ ßÈíÑÉ ææÞÊ ßÈíÑ
Global exclude
ßæÏ:
nano /etc/cpbackup-exclude.conf
For example, to exclude directory /home/username/softaculous_backups/ and file /home/username/public_html/temp.html use:
The files/folders excluded by default are:
ßæÏ:
*/.wysiwygPro_*
*/core.[0-9]*
.MirrorSearch
.cpan
.cpanel/caches
.cpanel/datastore
.cpcpan
.sqmailattach
access-logs
public_ftp/.ftpquota
For example, you can exclude the /home/*/tmp/ directories by adding
to the list in /etc/cpbackup-exclude.conf
ßÐáß
ÈÇáäÓÈÉ ááÇíãíá åíßæä
ßæÏ:
mail/*/*/cur/*
mail/*/*/new/*
---------------------------------------------------------------
Local exclude
This option is used to exclude files/folders from the backup for individual user hosted on the server by
adding file/directories name in /home/username/cpbackup-exclude.conf file.
Excluding files and directories from cPanel backups
To exclude specific files and directories from cPanel backups, follow these steps:
ÇáãÝÖáÇÊ