Hi All,
I have been trying to backup an account which was large in size. The backup was getting created & was taking a long time. After many hours, the backup was generated. However, it was showing corrupt & I wasn't able to restore it on our other server.
Further checking, I found that the public_html directory was consuming 13GB of space & that is the reason the backup file was getting corrupt.
I found a solution for it & that was generating the backup by skipping the home directory. I use the command below & generated the backup.
Quote/scripts/pkgacct --skiphomedir cPanel-username
The above command will skip the public_html directory. I restored the backup file on our other server and synced the public_html using rsync command.
It worked like a charm & a hassle free migration.