New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Backup without compressing

Started by leisegang, December 29, 2024, 07:15:29 PM

Previous topic - Next topic

leisegang

Is there a way to get it to backup it to a TAR without it beeing compressed?
I have several large mail accounts that use like 2 hours to backup.
OR is there a way to do a sort of manual script for backup that is possible to then again import if i need to recover an account?

leisegang

One of my accounts started backup at:
2024-12-29 01:59:06
and finished at
2024-12-29 05:30:39
its like 15gb account, and of those there are like 13GB emails.

IF i could just make my backups faster and have the possibility to import it again i would like that.

overseer

All things are possible via scripting. Rsync is recommended for an off-site, off-server backup. You will find that processing e-mail files is LOTS of small files (hundreds of thousands in many cases) and that is actually very slow to process vs. large files with bigger block sizes.

cyberspace

Try to use "New Backup system (beta)" to make "Incremental" backups.

Please pay attention it is "beta", however it works fine for me.

overseer

This wiki page gives a concrete example for rsync'ing your e-mails:
https://wiki.centos-webpanel.com/how-to-manually-import-emails

Example of rsync command from remote cPanel to local CWP:
rsync -avz -e "ssh -p 22" root@185.185.185.185:/home/USERNAME/mail/DOMAIN/USERNAME/ /var/vmail/DOMAIN/USERNAME/
* This command needs to be executed on the CWP server, number 22 is ssh port.

So in your case, you would reverse it to go from the CWP server to the backup/disaster recovery server.

Or use the New Backup, as cyberspace recommended. ;)

andylau123

Quote from: cyberspace on December 30, 2024, 11:56:46 AM
Try to use "New Backup system (beta)" to make "Incremental" backups.

Please pay attention it is "beta", however it works fine for me.

When I use incremental backup, I receive a message like this, but I don't see any backup at all, the folder is empty.

2025-04-18 08:29:56 *********** INCREMENTAL ****************
2025-04-18 08:29:56 *********** LOCAL ****************
2025-04-18 08:29:56 {"1":{"DAY":"\/manual\/","RET":"2"}}
2025-04-18 08:29:56 END
2025-04-18 08:29:56 Backup Finished