Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    12

    Exclamation Backing Up Accounts Minus Actual Files/Folders

    Hi guys,

    I am about to do a complete OS Reload on my server.

    This server has over 400 accounts setup on it.

    I plan to backup the actual account files manually and then manually restore them once the OS Reload is complete.

    I want to know if there is a way of quickly taking a backup of all cPanel Accounts, minus the actual files/folders/mysql etc. I just want the actual accounts (e.g. their passwords etc) backed up, so that once I restore the accounts and then manually restore the actual files, everything will work again.

    Does anyone know how I could go about this? Thanks.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    A OS reload will wipe out all the data. Do you have the backup of all the website files + their databases? BTW, in order to backup all the accounts excluding home directories and databases, you will have to write down the script yourself.

    The script will such that it will read each account one by one from /etc/trueuserdomains, move the public_html folder of that domain and the database to a temporary location, backup the account using pkgacct and place the folders back to the actual location, then read another user and so on...

    The script will be an easy one by the way. If you run into problems, paste the errors here.

Similar Threads & Tags
Similar threads

  1. Worth backing up large files?
    By cubic in forum Data Protection
    Replies: 4
    Last Post: 08-27-2009, 08:54 AM
  2. Restore in new dir not on actual files
    By sanguis in forum Data Protection
    Replies: 0
    Last Post: 07-15-2008, 12:07 PM
  3. possible to move accounts without moving actual homedir?
    By newbend in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-18-2008, 05:07 PM
  4. Backing files etc...
    By galvan in forum Data Protection
    Replies: 1
    Last Post: 10-13-2007, 07:08 PM
  5. Backing up config files
    By calande2 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-27-2006, 04:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube