Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    5

    Default Backup only account config?

    Is there an officially supported way to only backup the account configuration (everything needed to recreate the account but not the homedir, MySQL databases, etc)?

    If not, will these edits to /scripts/cpbackup perform the trick (we'd make a copy of it and edit/run the copy):

    Code:
    Change:
    
    my $pkgacct = '/scripts/pkgacct';
    
    To: 
    
    my $pkgacct = '/scripts/pkgacct --skiphomedir';
    Code:
    Change:
    
    $ENV{'pkgacct-mysql'} = 'yes';
    
    TO:
    
    $ENV{'pkgacct-mysql'} = 'no';
    Thanks,

    - tbenoit

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Account details are stored in /var/cpanel/users ....

    I am more curious the specific application you have mind here that you would want full account details but not account content backed up.

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    5

    Default

    Quote Originally Posted by Spiral View Post
    Account details are stored in /var/cpanel/users ....

    I am more curious the specific application you have mind here that you would want full account details but not account content backed up.
    I'd like cPanel to be able to restore/recreate accounts from a cPanel backup but have no need for it to restore the files and MySQL databases.

    Just about any backup software running on a server at a regular interval can restore the individual cPanel user's files and databases. With that running regularly there is no need to perform a full cPanel backup, just enough to allow cPanel to restore the account/settings/email accounts/forwarders/DNS/etc, but not the homedir or MySQL databases.
    Thanks,

    - tbenoit

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 12-10-2009, 11:43 AM
  2. Replies: 6
    Last Post: 12-10-2009, 11:43 AM
  3. Backup config
    By rrwh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-17-2005, 03:04 AM
  4. Backup WHM config/account settings?
    By ii2 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-13-2003, 05:03 AM
  5. backup config
    By carperman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-23-2002, 04:40 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube