Web Hosting Talk







View Full Version : Telnet Command Help


UNIXIELHOST
01-13-2002, 07:27 PM
I forgot the command but if anyone can help, great :D

1) How to tar up public_html ?

2) How to tar up mysql db ?

Thanks :D

Palm
01-13-2002, 07:44 PM
tar cf public_html

Go to your root data base (most likely /var/lib/mysql) directory of mysql, and use "tar cf dirname"
dirname is database name.

UNIXIELHOST
01-13-2002, 08:13 PM
That command doesnt work, what I got a error say cant archive a empty folder or something

Any ideas?

Palm
01-13-2002, 08:26 PM
Oops,

The command is "tar cf dirname.tar dirname"