error ? daily backup

Started by PakPos, September 23, 2022, 03:05:58 AM

Previous topic - Next topic

PakPos

hello,

why daily backup not complete?
sometimes DB not include
and email always excluded.

backup2

cwppro
almalinux
kvm

PakPos

@josemnunez
can you check this ?

overseer

Do you have sufficient backup space to complete the daily backup? I backup e-mails offsite & off-server, since some e-mail users are packrats and a couple of accounts have 75+GB of e-mail! At least Dovecot has message compression available!

PakPos

Quote from: overseer on January 07, 2023, 10:39:21 PM
Do you have sufficient backup space to complete the daily backup? I backup e-mails offsite & off-server, since some e-mail users are packrats and a couple of accounts have 75+GB of e-mail! At least Dovecot has message compression available!


i have 8 GB empty space
to create backup 3GB (for this case at past version)


current version problem:
3GB vmail only (user mail only)


with empty space 9.8GB


created 1.8GB or something space
and when i restore
Email only have 250MB
and cannot access because PLAIN TEXT error (solved by reset password) but email still missing
db is ok for current version

overseer

Have you looked for large files that could be deleted/truncated?
find / -type f -size +500M
You could delete older backups in /backup if you are confident you don't need them
[root@srv]# ls -al /backup
total 16
drw-------.  6 root root   61 Jan 11  2022 .
dr-xr-xr-x. 21 root root 4096 Jan 14 16:49 ..
drwxr-xr-x. 37 root root 4096 Feb 19  2022 daily
drwxr-xr-x. 37 root root 4096 Mar  1  2022 monthly
drwxr-xr-x. 37 root root 4096 Feb 20  2022 weekly

In this case, maybe clean out /backup/monthly?

PakPos

#5
Quote from: overseer on January 15, 2023, 04:33:46 AM
Have you looked for large files that could be deleted/truncated?
find / -type f -size +500M
You could delete older backups in /backup if you are confident you don't need them
[root@srv]# ls -al /backup
total 16
drw-------.  6 root root   61 Jan 11  2022 .
dr-xr-xr-x. 21 root root 4096 Jan 14 16:49 ..
drwxr-xr-x. 37 root root 4096 Feb 19  2022 daily
drwxr-xr-x. 37 root root 4096 Mar  1  2022 monthly
drwxr-xr-x. 37 root root 4096 Feb 20  2022 weekly

In this case, maybe clean out /backup/monthly?


like i said before... there is no storage capacity problem. i have about 10GB for backup +/- 3GB and the 3 GB are vmail ( that was my test user for vmail backup simulation :( ( i cant sell hosting if i have problem with backup/restore and user quota )









vox

I'm interested in this. My backup2 stops after 5 accounts and never does the rest of the accounts.

overseer

I haven't had the backups fail on any of my 3x CWP servers.

As a workaround, you can implement AutoMySQLBackup for daily/weekly/monthly DB backups, with e-mail notification of backups, compression and encryption, backup rotation, and incremental database backups.

For /var/vmail, you can simply rsync it somewhere else for remote backup (as I do).