Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 11 of 11

This is a discussion on How to completely backup VPS in the VPS & Dedicated forum
I have WHM with cpanel and what I would like to know is how do I completely backup my VPS with all the account informaiton, ...

  1. #1
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405

    How to completely backup VPS

    I have WHM with cpanel and what I would like to know is how do I completely backup my VPS with all the account informaiton, emails, mySQL databases, etc. I see that WHM does have a backup option that will allow me to save everything in my account or on a FTP server, but does this actually work well or is there a better method of doing it?

  2. #2
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    I don't have VPS -- I have SDX -- but the same principles apply...

    Personally, I shell into my account using PuTTY, go as far up the tree as jailsHELL allows, and TAR my whole account from CLI. After that, I use phpMyAdmin to dump my sql dbs. Then, download everything to my PC.

    That's about as complete a backup as it gets, at least for me.

    Since you have root access, I suppose you could TAR the whole kit and caboodle!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  3. #3
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Looking in cPanel, I have the following option for backing up mySQL databases:

    Sql Databases (at least per accounts is needed to use the restore feature)
    -Per Accounts Only
    -Per Accounts and Entire Mysql Dir
    -Mysql Dir Only
    Also, I see the VPS page says "FREE daily backups". How much does it cost to restore from these back ups and can these back ups be restored on a per account basis and not on the entire VPS?

  4. #4
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Quote Originally Posted by Vin DSL View Post
    I don't have VPS -- I have SDX -- but the same principles apply...

    Personally, I shell into my account using PuTTY, go as far up the tree as jailsHELL allows, and TAR my whole account from CLI. After that, I use phpMyAdmin to dump my sql dbs. Then, download everything to my PC.

    That's about as complete a backup as it gets, at least for me.

    Since you have root access, I suppose you could TAR the whole kit and caboodle!
    Thanks, so I would tar all of this?

    Code:
    ./              .bash_logout   .cpobjcache/  .spamassassin/  cpanel3-skel/
    ../             .bash_profile  .cshrc        .ssh/           public_ftp/
    .MirrorSearch/  .bashrc        .gnupg/       .steam/         public_html/
    .bash_history   .cpcpan/       .rnd          .tcshrc
    My biggest worry (which I guess I should have mentioned in my OP) is that I have to be able to restore individual accounts as I run a lot of message boards and they are prone to hacking. If one message board fails I don't want to have to restore all the sites back a week just to get that 1 site going.
    Last edited by Pawel Kowalski; 02-18-2007 at 12:57 PM.

  5. #5
    Rob
    Rob is offline
    I am the one and only Rob's Avatar
    Join Date
    Nov 2005
    Location
    It varies
    Posts
    425
    why don't you just go into virtuozzo and do a system backup?

  6. #6
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by thehotweb View Post
    Thanks, so I would tar all of this?

    Code:
    ./              .bash_logout   .cpobjcache/  .spamassassin/  cpanel3-skel/
    ../             .bash_profile  .cshrc        .ssh/           public_ftp/
    .MirrorSearch/  .bashrc        .gnupg/       .steam/         public_html/
    .bash_history   .cpcpan/       .rnd          .tcshrc
    Yep!

    Plus your sql dbs...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  7. #7
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Quote Originally Posted by Rob View Post
    why don't you just go into virtuozzo and do a system backup?
    This is what I get:

    The backup creation is not allowed.


  8. #8
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    Virtuozzo backups are done by us daily automatically, it is not possible to extract per account backups from the vz backup, it is more like an image of the entire server. If you need per account backups, best option for you would be to use the whm backups and better yet, whm backup to remote ftp location like our managed backup services.
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

  9. #9
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Quote Originally Posted by thehotweb View Post
    My biggest worry (which I guess I should have mentioned in my OP) is that I have to be able to restore individual accounts as I run a lot of message boards and they are prone to hacking.
    My biggest worry is why you are hosting vulnerable applications that are prone to hacking? Why not secure them?

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  10. #10
    Loyal Client Pawel Kowalski's Avatar
    Join Date
    Sep 2001
    Location
    Albuquerque NM
    Posts
    1,405
    Veena, ok I ran my first back up yesterday using the FTP option so I could store it on a remote server. I now have a tar file for each account, but does this include all the mySQL settings? Did it also save WHM settings such as name servers, account information, etc?

    I would try the Virtuozzo option but for some reason it says "back up creating is not allowed"? Is JPC blocking this or is something not set up right on my end?

    Masood, I update each script as soon as an update is available. The problem is as you probably know any script that has its source out on the internet available for download is prone to hacking. So I take all the percautions I can, from storing each message board on its own account to never using the same password for you account and mysql databases, but even with that having reliable back ups is your biggest ally in this game. This is why if anything happens I want to be able to restore an entire web site easily without affecting other accounts.

  11. #11
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    Yes, it includes mysql, email, site files, email aliases etc. If it is a reseller account, whm settings of the reseller will be saved. Other whm settings are not part of any cpanel backups.

    Quote Originally Posted by thehotweb View Post
    Veena, ok I ran my first back up yesterday using the FTP option so I could store it on a remote server. I now have a tar file for each account, but does this include all the mySQL settings? Did it also save WHM settings such as name servers, account information, etc?
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •