Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Mar 2003
    Location
    London, England
    Posts
    51

    Default Backup account configs

    Is there a file or set of files that i can backup on the server that will store information on the server accounts. For example, each accounts quota, bandwidth allowance, number of db's etc which i can then use ths file to re-create the account 'skeleton' on another server so the new server has all the accounts on it, but not any files?

    Cheers

    Jee

  2. #2
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by Jeewhizz
    Is there a file or set of files that i can backup on the server that will store information on the server accounts. For example, each accounts quota, bandwidth allowance, number of db's etc which i can then use ths file to re-create the account 'skeleton' on another server so the new server has all the accounts on it, but not any files?

    Cheers

    Jee
    Would you explain what you want to achieve here ? Creating same domains on the other server yet not copying their data ? May i ask why you want to do that ?
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default

    I think they are talking about copying packages. The ability to create packages on one server and then make the same packages available on another server.

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by SarcNBit
    I think they are talking about copying packages. The ability to create packages on one server and then make the same packages available on another server.
    Could be perhaps otherwise it just doesn't make any sense.

    Quote Originally Posted by Jeewhizz
    Is there a file or set of files that i can backup on the server that will store information on the server accounts. For example, each accounts quota, bandwidth allowance, number of db's etc which i can then use ths file to re-create the account 'skeleton' on another server so the new server has all the accounts on it, but not any files?
    If thats what you are after copying the packages from one server to another, you can do the following

    1. cd /var/cpanel
    2. tar -cf packages.tar /var/cpanel/packages
    3. Transfer the packages.tar to another server.
    4. cd /var/cpanel
    5. tar xvf packages.tar

    Open your WHM and you should see the packages in there.

    Btw If you use cpanel account copy script for transfering accounts, you will also find the packages copy feature in there. It saves you the manual work as described above.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  5. #5
    Member
    Join Date
    Mar 2003
    Location
    London, England
    Posts
    51

    Default

    I am doing some work for a no-frills hosting company. They don't backup client files - that is up to the client. However, should the worst happen, and the server hardware fail, or we need to do a restore, it'd be a nice feature to just import some files into cpanel to get the account structure setup so that clients can re=upload their files.

    I'm not after packages - and am aware on how to copy that, but rather the actual account structure - i.e. disk quota, bandwidth, number of db's etc etc.

    Cheers,

    Jee

  6. #6
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    What about just unchecking "backup accounts" in the "configure backup"? It should still save the account info, just not the content.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  7. #7
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by squirrel
    What about just unchecking "backup accounts" in the "configure backup"? It should still save the account info, just not the content.
    that sounds like a nice idea, haven't tried it though.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  8. #8
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    I'm not certain what it does because I don't use the cpanel backup, but it does sound like what Jee needs.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  9. #9
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by squirrel
    I'm not certain what it does because I don't use the cpanel backup, but it does sound like what Jee needs.
    Mind me asking what do you use ?
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  10. #10
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Quote Originally Posted by anand
    Mind me asking what do you use ?
    I use my own backup script, although because of this question, I found out I may not need to anymore.

    Close to 2 years ago I wrote my own backup script because I wanted a few variations from the default. At that time, cpanel backed up everything, and everything was daily, weekly, and monthly. I wanted daily and weekly, plus only wanted client accounts backed up, since I have mine on my own hard drive. So I wrote my own script.

    Due to this thread, I checked the backup settings, and noticed major changes. I especially liked the "choosing accounts". Now I don't really need my own script, but it works, so I may just keep using it.

    BTW, when did cpanel add the option to choose accounts?
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  11. #11
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by squirrel
    I use my own backup script, although because of this question, I found out I may not need to anymore.

    Close to 2 years ago I wrote my own backup script because I wanted a few variations from the default. At that time, cpanel backed up everything, and everything was daily, weekly, and monthly. I wanted daily and weekly, plus only wanted client accounts backed up, since I have mine on my own hard drive. So I wrote my own script.

    Due to this thread, I checked the backup settings, and noticed major changes. I especially liked the "choosing accounts". Now I don't really need my own script, but it works, so I may just keep using it.

    BTW, when did cpanel add the option to choose accounts?
    ooh that has been quite sometime now. I don't remember the time but should be close to 3 months atleast when i saw it.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  12. #12
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Quote Originally Posted by anand
    ooh that has been quite sometime now. I don't remember the time but should be close to 3 months atleast when i saw it.
    Oh well. I like writing my own scripts anyway. That's why I decided to put up my custom scripts section.

    If the cpanel backup was like that 2 years ago, I would not have wasted time customizing my own. Cpanel keeps getting better. That's why I still use it.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  13. #13
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by squirrel
    Cpanel keeps getting better. That's why I still use it.

    ditto cpanel rocks!
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

Similar Threads & Tags
Similar threads

  1. Restoring only system and cpanel configs from backup
    By EthraZa in forum Data Protection
    Replies: 1
    Last Post: 09-08-2009, 02:33 PM
  2. configs
    By csutton in forum cPGS Discussions
    Replies: 3
    Last Post: 12-01-2008, 11:34 AM
  3. Saving changes to configs
    By jeffleeismyhero in forum E-mail Discussions
    Replies: 0
    Last Post: 10-23-2008, 10:03 AM
  4. Backup/Restore only cPanel/WHM configs?
    By Cron0 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-29-2007, 10:39 AM
  5. Backup Configs?
    By jlimited in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-14-2005, 09:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube