How to backup websites over 10 GB as cpanel backup is not allowed ?

Discussion in 'Site & Server Administration' started by duperhost, Feb 21, 2012.

  1. #1
    How to backup websites over 10 GB as cpanel backup is not allowed ?

    I need to backup the cpanel in case of anything happen so I can roll back at any point
     
    Solved! View solution.
    duperhost, Feb 21, 2012 IP
  2. #2
    Hi,

    Since the homedir is more than 10G, take a backup using /scripts/pkgacct --skiphomedir username. This will take the backup of everything except your home directory. Then rsync or scp the home dir to a remote place. :cool:

    Hope this helps :D
     
    Last edited: Feb 21, 2012
    ideamine, Feb 21, 2012 IP
    duperhost likes this.
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    the easiest way to back up is using
    rsync
    2 possible options
    backup to another online location (a backup server for example or a backup space on a friends server)
    and of course you have a full backup on your laptop !!!

    a later rsync just adds modified files

    in addition you backup and download all mysql dbs !
     
    hans, Feb 24, 2012 IP
  4. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Either of those 2 solutions would work, but for cPanel, @ideamines method would be better as restoring is very simple with full cPanel backups.
     
    samirj09, Feb 26, 2012 IP
  5. duperhost

    duperhost Well-Known Member

    Messages:
    817
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #5
    If I have backup with this method, How it's possible to restore ?
     
    duperhost, Mar 4, 2012 IP
  6. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #6
    You would upload the backup to the /home directory then run the below command to restore

    /scripts/restorepkg cpanelusername

    Afterwards you upload your home directory to restore that using rsync or FTP
     
    samirj09, Mar 4, 2012 IP
    duperhost likes this.
  7. duperhost

    duperhost Well-Known Member

    Messages:
    817
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Is this method backup files and database or only files ?
     
    duperhost, Mar 4, 2012 IP
  8. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #8
    This method would backup files and databases. (That is assuming you rsync and FTP your home directory.)
     
    samirj09, Mar 5, 2012 IP
  9. fileking.co

    fileking.co Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    you can use winscp and then tar the folder that you want
     
    fileking.co, Mar 9, 2012 IP
  10. methad0ne

    methad0ne Well-Known Member

    Messages:
    316
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #10
    Grab your files trough FTP Client and download your database via PhpMyAdmin
     
    methad0ne, Mar 10, 2012 IP