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.

Remote FTP and backup to 2nd HD?

Discussion in 'General Discussion' started by DSD, Aug 19, 2003.

  1. DSD

    DSD Member

    Joined:
    Mar 14, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I was wondering if there is a way to backup to both the 2nd hard drive in my machine, and to a remote FTP server?

    I personally think this would be a great addition if it isn't already possible.

    cPanel.net Support Ticket Number:
     
  2. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    At the moment is either; not both or either. However, sounds like a good idea. Maybe have an option to control the FTP back-up as well thus only doing that every week instead of being fixed into the local set-up.

    cPanel.net Support Ticket Number:
     
  3. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    i sent this feature request some weeks ago but I don't receive any reply

    cPanel.net Support Ticket Number:
     
  4. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Yes, that's great!!

    I must say this is a great idea!!
    Also, before WHM give us a solution, is there anyone can do this by any methord ??

    cPanel.net Support Ticket Number:
     
  5. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Only accounts can be backed up over ftp. The configuration file backup option has been turned off.
    /backup is not a directory..
    Backup has been disabled to prevent file loss..
    /backup does not exist..
    Backup has been disabled to prevent file loss..
    Backup Configuration Saved!

    What does this means?I have enabled "Backup Accounts" Option.

    What should I enter for the Ftp Backup User and Ftp Backup pass , is it a cpanel user account on remote host?

    Thanks !

    cPanel.net Support Ticket Number:
     
  6. Scott Greczkows

    Scott Greczkows Well-Known Member

    Joined:
    Feb 5, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Has there been any solution to this yet?

    I currently back up to a second hard drive which is mounted for backup and unmounted when complete. I would also like to have the server ftp backups for specific accounts once a week this way I have an offsite backup.

    I would love to know a solution. :)
     
  7. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
  8. dianaward

    dianaward Well-Known Member

    Joined:
    Dec 9, 2002
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your script looks fine, but

    as I stated elsewhere today, I have a script that works (my tech support wrote it for me) to ftp backup files to my other servers, but now I need to be able to get the script to log in as admin, then su to root, then run. What do I tell it? Here's what I am using now:

    #!/usr/bin/expect -f

    set root_pass "123456789"
    set hostname "123.45.678.910"

    set folder "/backup/cpbackup/daily"

    spawn /usr/bin/scp -r $folder root@$hostname:/backup/servername/daily
    sleep 3
    expect "password: "
    sleep 3
    send "$root_pass\r"
    interact
     
Loading...

Share This Page