The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Back Up Server

Discussion in 'General Discussion' started by staylor, Aug 29, 2007.

  1. staylor

    staylor Member

    Joined:
    Aug 29, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Ok I'm not a major web host but still hosting too many sites to back each one up manually. Is there a step by step guide on how the "configure backup" works in WHM. There are options there I'm not sure which ones to choose.

    I would prefer to back up everything to a sever i have at my residence remotely, if not then back everything up on the web server then download it. However when i click save settings in WHM it disables my backups because "/backup" is not being a real dir, but that was a default setting.

    Is there any love out there for a noob.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Note that it is very strongly recommended that you back up to at a bare minimum to a different physical disk. Placing your backups on the same drive as the live websites creates a single point of failure, which is an issue since drive failure is arguably the most likely server failure you will encounter.

    You could backup to a remote FTP server. I know some customers have their servers backup to a home PC that is likely online 24/7 to have an off-site backup.
     
  3. staylor

    staylor Member

    Joined:
    Aug 29, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    that is exactly what i want to do. i just dont know how.
    These are my settings in WHM:
    Backup Status: Enabled
    Backup Interval: Daily
    Backup Retention: Weekly Monthly
    Days to run backup: Sunday Monday Tuesday Wednesday Thursday Friday Saturday
    Remount/Unmount backup drive: Disabled
    Bail out if the backup drive cannot be mounted: Disabled
    Incremental backup: Disabled
    Backup Accounts: Enabled
    Backup Config Files: Disabled
    Sql Databases: Per Accounts and Entire Mysql
    Backup Raw Access Logs: Disabled
    Backup Type: Remote Ftp
    Ftp Backup Host (Remote Ftp Backup Only) 999.999.999.999
    Ftp Backup User (Remote Ftp Backup Only)
    Ftp Backup Pass (Remote Ftp Backup Only)
    Ftp Backup Directory/Path k:backup
    Use Passive mode for Ftp transfers: Enabled
    Backup Destination: /backup

    When I hit save I get this:
    Only accounts can be backed up over ftp. The configuration file backup option has been turned off.
    Backup Configuration Saved!

    Whats the deal can anyone help?
     
    #3 staylor, Aug 29, 2007
    Last edited: Aug 29, 2007
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    With FTP backups, only accounts are backed up (even then, their databases are not backed up). Server settings are not backed up when you are using a FTP backup.
     
  5. staylor

    staylor Member

    Joined:
    Aug 29, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Im perfectly ok with that but the backup is not working using the FTP mode and i dont know why
    is there a problem with the settings i used
     
  6. pirrup

    pirrup Well-Known Member

    Joined:
    Nov 27, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6

    i do ftp backup and i got database backups for all my users.
     
  7. linux.newbie

    linux.newbie Well-Known Member

    Joined:
    Sep 8, 2006
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    The easiest method is to have a separate partition for /backup and then configure your backup to run as you need.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,456
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Separate drive is far safer, as already stated.
     
  9. staylor

    staylor Member

    Joined:
    Aug 29, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    How are you doing this.
     
  10. malier

    malier Registered

    Joined:
    Sep 25, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Same

    I am looking for the exact same information. And I admit it--I'm a noob and still learning. How do I backup everything on my server ? I would love to be able to get it downloaded to my home storage drive. What settings do I need to set in cpnael/whm ? Is there a guide out there someplace that can show me how to do it? I dont know anything about command line stuff, but could find my way around cpanel if I had a guide.

    Thanks any and all help is greatly appreciated!:)
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    By "home storage drive" do you mean /home or a drive in your own personal computer?
     
  12. staylor

    staylor Member

    Joined:
    Aug 29, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    I got everything working and this is how.

    Open Port 21 on my Anti-Virus Firewall
    Open port 21 on my Router
    Downloaded and installed FTP Server software on my home PC
    Created an ftp account to my home PC
    Gave WHM Backup Config my home IP and the usr and pass

    Everything now works
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Note that the FTP backup will not backup as much data as the local server backup. Major omissions include database backups.
     
  14. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK, Luton
    Eh?

    You're wrong.

    FTP backups DO in fact backup MySQL databases.
     
  15. KimberlyTeed

    KimberlyTeed Registered

    Joined:
    Nov 11, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Backing up on the WHM leaves me confused ... saawwrry, WHM newbie :p

    I just want a copy of everything on the g: drive of my home computer ...

    Please help with these sections ...

    FTP Backup Host (Remote FTP Backup Only)
    FTP Backup User (Remote FTP Backup Only)
    FTP Backup Pass (Remote FTP Backup Only)
    FTP Backup Directory Path (optional, a directory called cpbackup in the FTP account's directory root will be used if none specified)
    examples: /home/fred/cpbackup, /backup/cpbackup, /files/cpbackup] (Remote FTP Backup Only)
    Use Passive mode for FTP transfers (required if you are behind a firewall or FTP backups fail) Enabled Disabled
    Backup Destination (this should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions. Setting this to /home is a very bad idea.)

    Thank you for your time :cool:
     
Loading...

Share This Page