Cpanel backup problems

fahl

Active Member
Jul 30, 2008
34
2
58
Used cpanel backup,backup file was in root/usr/

Backup started ok but i hadnt realised that i needed to delete account first so iy stopped on a n already exists error.
Removed account & tried again only to find that backup file no longer exists,has cpanel deleted it??
Hope not because it is only copy i have
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
how did you create the backup ? from capnel to the homedirectory ? in that case you will lost the file , as home directory will be deleted when you delete the account.

Backup started ok but i hadnt realised that i needed to delete account first so iy stopped on a n already exists error.
Removed account & tried again only to find that backup file no longer exists,has cpanel deleted it??
Cpanel creates the backup from the account present there. so, if you delete the account before cpanel actually create a backup, backup for that account not be created. You should have make sure that backup is created before deleting the account.
 

hbidad

Well-Known Member
Apr 16, 2005
74
1
158
To me it sounds like he created a backup and attempted a restore, but the domain already existed. So he terminated the account and the backup was no longer there.

When Cpanel extracts a backup, it moves the backup to a cprestore directory. check to see if /root/cprestore exists. I'm sure you will find the backup listed. Simply move it back to /root and restore. FYI, you could have ran /scripts/restorepkg --force username to override the halt if the account already existed.