Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Is This Possible?

Discussion in 'General Discussion' started by Express, Jun 13, 2003.

  1. Express

    Express Active Member

    Joined:
    Apr 20, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Running a cron to download a database into a users account like this.

    mysqldump -uuser_name -ppassword user_db > public_html/june.sql

    This works ok. Here is the question.

    Anyway to dump this file via cron to a different server than the one it resides on?

    cPanel.net Support Ticket Number:
     
  2. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    166
    you could use scp to copy file to another server

    cPanel.net Support Ticket Number:
     
  3. Express

    Express Active Member

    Joined:
    Apr 20, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Example please

    cPanel.net Support Ticket Number:
     
  4. howard

    howard Well-Known Member

    Joined:
    Apr 20, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    166
    scp june.sql user@host.domain.tld:/path/to/store/june.sql

    (make sure its writable by user and leave the path off if you wish store it in the root dir for user)

    cPanel.net Support Ticket Number:
     
  5. Express

    Express Active Member

    Joined:
    Apr 20, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    156
    Howard please check your pm.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page