Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default Complete account backup

    Hello

    As a root in a shared server how can i take a complete backup of a account?
    (files,databases,mails)

    Thanks

  2. #2
    Member
    Join Date
    Jul 2008
    Location
    localhost
    Posts
    101

    Default

    As a root you can create the backup for the account with the command as below.

    Login to the server via SSH and execute the command

    root@server [~]# /scripts/pkgacct username
    Note :: Replace the username with original cPanel user.

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Any easier solution?

    With Gui?

    Maybe using whm...

    Thanks

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by ASTRAPI View Post
    Any easier solution?

    With Gui?

    Maybe using whm...

    Thanks
    You could use WHM to login to the cPanel interface for the user and from there go to the Backups section and Generate a Full Site Backup. Generate a Full Site Backup is a frontend for the script mentioned above.

    During this process, you can choose to have this backup sent somewhere via FTP or just placed in the user's home directory.

  5. #5
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Great that was i am looking for

    Is it possible to get the backup straight to my pc?

    Thanks
    Last edited by ASTRAPI; 05-29-2009 at 10:13 PM.

  6. #6
    Member Kailash1's Avatar
    Join Date
    Nov 2006
    Location
    webhostingdiscussion.net
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I don't think it is possible. You can either take backup in your home directory or you can directly copy to another FTP location.

    But once the backup is completed, you can download the full backup.

    Kailash

  7. #7
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    But i think i must create a ftp server in my pc to get the full backup....

  8. #8
    Member Kailash1's Avatar
    Join Date
    Nov 2006
    Location
    webhostingdiscussion.net
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by ASTRAPI View Post
    But i think i must create a ftp server in my pc to get the full backup....
    If you can setup FTP server in your system then you can directly transfer backup by selecting "FTP" option.

    Kailash

  9. #9
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    root@server [~]# /scripts/pkgacct username
    my /home is quite full, i need the pkgacct to create my backup file (thecpmove-user.tar.gz) directly to /home2/ or /backup/
    how do i specifically tell backup script to use this location ?
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mohit View Post
    my /home is quite full, i need the pkgacct to create my backup file (thecpmove-user.tar.gz) directly to /home2/ or /backup/
    how do i specifically tell backup script to use this location ?
    The pkgacct script will create the backup file into whatever mountpoint is set in WHM as the Default Home Directory. Changing this setting will change where pkgacct will create the backup file, but it will also change the default home directory as the setting's name suggests.

  11. #11
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    Default

    exactly what I was looking for. thanks!


    Quote Originally Posted by cPanelDavidG View Post
    You could use WHM to login to the cPanel interface for the user and from there go to the Backups section and Generate a Full Site Backup. Generate a Full Site Backup is a frontend for the script mentioned above.

    During this process, you can choose to have this backup sent somewhere via FTP or just placed in the user's home directory.

  12. #12
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Quote Originally Posted by mohit View Post
    my /home is quite full, i need the pkgacct to create my backup file (thecpmove-user.tar.gz) directly to /home2/ or /backup/
    how do i specifically tell backup script to use this location ?
    I think you can specify different location of taking backups by specifying Backup Destination in WHM -> configure backup Backup Destination. This should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions

  13. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by thewebhosting View Post
    I think you can specify different location of taking backups by specifying Backup Destination in WHM -> configure backup Backup Destination. This should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions
    That works for full server backups generated by /scripts/cpbackup but doesn't influence the location of full site backups created by /scripts/pkgacct.

Similar Threads & Tags
Similar threads

  1. Downloading backup does not become complete
    By Mehrpou in forum Data Protection
    Replies: 2
    Last Post: 12-11-2007, 03:05 PM
  2. All website Complete Backup
    By ephlox in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-09-2006, 02:15 AM
  3. How to Backup complete harddrive
    By bubb in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-14-2004, 02:54 PM
  4. Complete backup plan
    By spiritguardian in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-28-2004, 09:22 AM
  5. Complete Backup method ?
    By SecondSight in forum Data Protection
    Replies: 13
    Last Post: 09-22-2004, 12:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube