Any idea backup SQL to FTP?

Discussion in 'Site & Server Administration' started by Adulu, Mar 20, 2009.

  1. #1
    It's usually backup from phpmyadmin and download to local client.
    so any idea backup to FTP directly.?
     
    Adulu, Mar 20, 2009 IP
  2. baonhi41

    baonhi41 Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I use phpMyBackup Pro. Have 3 options:
    - Backup to email.
    - Backup to FTP
    - Backup to host
    Download here: http://www.phpmybackuppro.net/download.php
     
    baonhi41, Mar 20, 2009 IP
  3. stizzard

    stizzard Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can't be arsed backing up to ftp so I usually back it up via phpmyadmin to my desktop and then upload via ftp. Easier in my case anyhow.
     
    stizzard, Mar 20, 2009 IP
  4. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you

    but it can's working fine for larger SQL file
     
    Adulu, Mar 21, 2009 IP
  5. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Congratulations, the way suit for you.
     
    Adulu, Mar 21, 2009 IP
  6. baonhi41

    baonhi41 Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Choose .zip file.
    I tried backup my friend's site and no problem. >900MB .sql zipped only 280MB
     
    baonhi41, Mar 21, 2009 IP
  7. MH-Andy

    MH-Andy Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Does the control panel you use offer automatic backup of SQL databases? If it does i suggest you use that as it would be simple and easy - If not just create a cron job.
     
    MH-Andy, Mar 21, 2009 IP
  8. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Do you know what error it is?
    I have not modify backup.php
     
    Adulu, Mar 21, 2009 IP
  9. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It need linux commands knowledge.
    and Does cron job will send to FTP?
     
    Adulu, Mar 21, 2009 IP
  10. baonhi41

    baonhi41 Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Carefully with Backup Pro.
    Protect your export directory. http://domain/scriptpath/export because anyone can download your backup files.
    Use .htaccess to protect them.
     
    baonhi41, Mar 23, 2009 IP
  11. ltd

    ltd Well-Known Member

    Messages:
    219
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    125
    #11
    You could write a backup script to do the job and send to ftp at every night. Let me know if you need help with this.
     
    ltd, Mar 23, 2009 IP