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.

Free Cpanel FTP Backup script by WebHostGear

Discussion in 'General Discussion' started by ramprage, Sep 16, 2004.

  1. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    FOR IMMEDIATE RELEASE September 16, 2004

    Free Cpanel FTP Backup script by WebHostGear

    WebHostGear.com, a server administration and hosting tutorial site, is offering a free ftp backup script for Cpanel based servers that can replace the existing remote FTP backup feature used by default on Cpanel systems.

    “We grew frustrated by the problems with Cpanel’s built in remote backup system, so I decided to write a custom script to do what I wanted,” says Steven Leggett, owner of WebHostGear.com.

    “Now the remote FTP backup can be scheduled whenever you like and you can also specify which local folder, remote server and remote folder to backup to. In our case we had one central remote backup server which all our others production servers sent data backups to every day. With our custom script the backup server can have a folder for each production server, keeping things organized.”

    The script does not interfere with Cpanel’s daily backup feature and can be scheduled separately from it.

    The Cpanel FTP backup script can be downloaded at http://www.webhostgear.com/174.html for free. The Cpanel second hard drive backup feature must be enabled for the script to function properly.

    Company: WebhostGear.com – The hosting resource for professionals
    Website: http://www.webhostgear.com
    Contact Name: Steven Leggett
    Contact Email: info@webhostgear.com
     
  2. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Steven,

    Thanks for sharing!

    One thing, while running the script, the server load goes through the roof! I have to stop it after only ten or accounts.

    I am not getting any erros. Everything appears to be going good.

    Any ideas?

    Thanks!
     
  3. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Hmmm, switched to ProFTP and it seems to stay down now...

    Thanks again!
     
  4. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Oops, spoke too soon....
     
  5. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Does that mean the script won't work unless there is a second backup hard drive on each server?
     
  6. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    The script will work as long as you're using Cpanels internal backup feature, to a secondary or primary drive that doesn't matter.

    The server you transfer to can be anything, as long as it's an FTP server. It does not need to be Cpanel based.

    As for you high loads I'm not sure what would be causing this. It is simply FTPing from your server to another server.
     
  7. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    We are experiencing the same problem when FTPing backups off our servers. It is not a problem with the script because it happens when we perform manual FTP uploads.

    Anyone have a solution?

    Mike
     
  8. AS|Sourcer

    AS|Sourcer Registered

    Joined:
    Jan 24, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I believe its caused by all the data access, FTPing server to server causes a lot of read/write executions that have to be processed and passed to the nic.
     
  9. marcadrian

    marcadrian Member

    Joined:
    Apr 7, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    chmod 755?

    what? chmod 755?

    a file with your FTP password on there is to have WORLD READABLE PERMISSIONS?
     
  10. Freezer

    Freezer Well-Known Member

    Joined:
    Jun 13, 2005
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Den Haag
    Will i split up files that are bigger than 2 gb? I need this because pure-ftpd doesn't support bigger files then 2gb.
     
  11. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    Can you tell me what it does that the following does not?

    #!/bin/sh
    /path/to/ncftpput -u user -p password -E -R ftp.mybackupserver.net /cpbackup/ /opt/backups/cpbackup/
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    One reason is that most servers do not install ncftp by default. The script above provides a simple method for those that want to use the standard ftp client installed with the OS without having to install and maintain ncftp themselves.
     
Loading...

Share This Page