Hi,
My webhost have had issues and lost all recent data. After a week of downtime, they still haven't got servers back up and running.
I had already setup an AWS instance running WHM/CPanel and got most of my sites back up and running and I will be using this from now on.
I've since been supplied a raw system backup from a week prior to the incident and I want to restore certain things into my new system.
Emails:
I understand I can just copy the <user>/mail/<url>/<emailuser>/cur folders over and chown the files to the <user> for the old emails to be available again.
There's a few domains/mailboxes I haven't set back up yet as I need to keep the email passwords the same. Should I create the mail boxes as new accounts then copy over some additional files to replace the passwords? Or is there an easier way?
<EDIT> I see there is actually hidden folders for .Send, .Trash, .Drafts etc.. So I copy these hidden folders and the /cur folder for each mailbox. However I have noticed when my mailbox syncs, all emails have the same date/time. Where is this information stored for me to copy over?
Are there some files that contain my old email filters? I had quite an extensive collection of global email filters that blocked a lot of spam.
DNS:
Where can I find DNS records? I'd like to go through the old ones to double check I haven't missed anything as I have some records that point to external servers.
Sites:
One of the sites I haven't setup yet was a Wordpress site. This obviously uses a database. Is there an easy way to copy over the database and access credentials for the site so it will just work without me having to edit the configs? If not, then what would be the best way to set up the site and move the data? I'm fine with a 'replace all databases' solution as I haven't set any up on my new system yet and would rather just get the old ones back.
All the sites were listed under 1 CPanel account. Any help would be appreciated.
Thanks
My webhost have had issues and lost all recent data. After a week of downtime, they still haven't got servers back up and running.
I had already setup an AWS instance running WHM/CPanel and got most of my sites back up and running and I will be using this from now on.
I've since been supplied a raw system backup from a week prior to the incident and I want to restore certain things into my new system.
Emails:
I understand I can just copy the <user>/mail/<url>/<emailuser>/cur folders over and chown the files to the <user> for the old emails to be available again.
There's a few domains/mailboxes I haven't set back up yet as I need to keep the email passwords the same. Should I create the mail boxes as new accounts then copy over some additional files to replace the passwords? Or is there an easier way?
<EDIT> I see there is actually hidden folders for .Send, .Trash, .Drafts etc.. So I copy these hidden folders and the /cur folder for each mailbox. However I have noticed when my mailbox syncs, all emails have the same date/time. Where is this information stored for me to copy over?
Are there some files that contain my old email filters? I had quite an extensive collection of global email filters that blocked a lot of spam.
DNS:
Where can I find DNS records? I'd like to go through the old ones to double check I haven't missed anything as I have some records that point to external servers.
Sites:
One of the sites I haven't setup yet was a Wordpress site. This obviously uses a database. Is there an easy way to copy over the database and access credentials for the site so it will just work without me having to edit the configs? If not, then what would be the best way to set up the site and move the data? I'm fine with a 'replace all databases' solution as I haven't set any up on my new system yet and would rather just get the old ones back.
All the sites were listed under 1 CPanel account. Any help would be appreciated.
Thanks
Last edited: