Skip to main content

Isolate databases from transferred backup

Comments

2 comments

  • cPanelLauren
    Either way, what Im trying to figure out is what I need to do to isolate the example.com-associated databases or other files in cpanel and then have a cpanel instance of that domain only.

    When you say this do you mean how to isolate the files from inside the backup? If this is what you're requesting it should be pretty simple. 1. Extract the tar.gz file with something like: tar -xzf cpmove-user.tar.gz
    Or from the File Manager you should be able to just use "extract" 2. The files for the domains should be in homedir/public_html/ if it was the primary domain if it was an addon or subdomain it would most likely be in cpmove-user/homedir/public_html/$domainfolder 3. The databases are stored in cpmove-user/mysql/ you'll need to know which database was associated with the domain but they should all be there If this is a database/site that was hacked or the backup was created BY the hacker I would strongly question the legitimacy of it and wouldn't recommend using it at all. Thanks!
    0
  • pseudofluous
    When you say this do you mean how to isolate the files from inside the backup? If this is what you're requesting it should be pretty simple. 1. Extract the tar.gz file with something like: tar -xzf cpmove-user.tar.gz
    Or from the File Manager you should be able to just use "extract" 2. The files for the domains should be in homedir/public_html/ if it was the primary domain if it was an addon or subdomain it would most likely be in cpmove-user/homedir/public_html/$domainfolder 3. The databases are stored in cpmove-user/mysql/ you'll need to know which database was associated with the domain but they should all be there If this is a database/site that was hacked or the backup was created BY the hacker I would strongly question the legitimacy of it and wouldn't recommend using it at all. Thanks!

    Thanks so much for the info. To be clear, as my post is not, I want to isolate files just for the subdomain in question so that it itself polulates the cpanel instance. Ill check out the unpacked file and see what I can figure out from what you told me tomorrow. And yeah this guy did me personally dirty for two months and left me a corrucpt super old WP backup thats non usable. The cpmove appeared a few months ago on my seedbox account.....AWS elastic IP was the safest I figured I could go. That backup was without nearly a year of work on it and was corrupt. Im hoping this cpmove file is a mercy thing as 9 devices plus my DDWRT router were bot-made. I had to reformat my server and laptop drives numerous times, it was a nightmare. If you have better recommendations than this cpanel backup over original CentOS 7 over AWS elastic free IP I'dbe very greatful. Thanks man
    0

Please sign in to leave a comment.