Results 1 to 3 of 3
  1. #1
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    Backing up site using telnet
    I need to backup my forum and I just want to make a copy of everything using Telnet. Can anyone give me step by step directions for how to do this. I don't know the commands to use.

    Thanks!



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  2. #2
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    It's not a good idea to have Telnet enabled on your server. It's a very dangerous security hazard. Much better to use SSH.

    For backing up your DB, you'll probably want to dump your DB with something like this:

    mysqldump -uroot -p my_database > my_database.sql

    Just make sure you know your root password as you'll be prompted. If you store this .sql dump in your forum folder, you can zip it up along with all your files using this command:

    tar czvf forum.tgz forum/

    Then you can take your forum.tgz file off to your backup space. Best just to put this into a shell script and have it run routinely.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  3. #3
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    An alternative is to use PHPMyAdmin, if you have it. Usually I don't like that thing very much, but for nonautomatic backups it's aces...

    It's not a good idea to have Telnet enabled on your server. It's a very dangerous security hazard. Much better to use SSH.
    For once I agree.
    There is no knowledge that is not power. ~Hemingway

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Change Site Language without leaving current site section
    By G-WebServices in forum Programming / Datafeeds / Tools
    Replies: 7
    Last Post: April 10th, 2008, 10:12 PM
  2. AllPosters.pl - Database Files using Telnet
    By anwaar ul haq in forum Cusimano.com Scripts
    Replies: 7
    Last Post: April 21st, 2005, 03:51 PM
  3. quotes requested - convert dynamic site to static html site
    By chrish in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: March 15th, 2004, 05:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •