Results 1 to 3 of 3
November 5th, 2005, 11:12 AM #1Backing 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.
The big shots are only the little shots who keep shooting.
November 5th, 2005, 12:31 PM #2
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.
- ScottHatred stirs up strife, But love covers all transgressions.
November 5th, 2005, 03:21 PM #3
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.There is no knowledge that is not power. ~Hemingway
By G-WebServices in forum Programming / Datafeeds / ToolsReplies: 7Last Post: April 10th, 2008, 10:12 PM
By anwaar ul haq in forum Cusimano.com ScriptsReplies: 7Last Post: April 21st, 2005, 03:51 PM
By chrish in forum WebMerge (Fourthworld.com)Replies: 3Last Post: March 15th, 2004, 05:08 AM