السي بانال 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
https://www.rise.company/upload/uplo...5108871361.png
المشكلة :
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
https://www.rise.company/upload/uplo...5096219921.png
2- Remove retained backups from Drive
ثم الغى خيار الاحتفاظ بالباك اب على السيرفر بعد نقله الى جوجل درايف
https://www.rise.company/upload/uplo...5089277491.png
3- Exclude mail folder from backup for all accounts
يمكنك منع اخذ باك اب للايميلات فهى غير هامة وتاخذ مساحة كبيرة ووقت كبير
Global exclude
https://www.rise.company/upload/uplo...5079629521.png
كود:
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: