Putty ssh


#1

Hi, i have barely used putty, only a couple times… i am logged in to the server, and everything is well, im just wondering how or what i would type to restore a full backup to the server, anybody?


#2

The best backup to do would be using an ftp client on your local PC and then downloading all the files and burning to a CD-R. If you only have a few files you could use multi-sessions on the CD-R to keep updating the backup.

There is also a DH backup kept in .snapshot. You need to log in with PuTTY via SSH and then cd to the snapshot folder using ‘cd .snapshot’. You will have to do this blind since the folder .snapshot does not show up with a normal ‘ls -als’. But after having blind trust and cd’ing into the .snapshot folder you will see your backup files, which you can list and copy as normal. Note the folder name is .snapshot with a dot, not as I keep typing .snapsnot for some reason :slight_smile: . Sniff…

If you search back through the forum you will see methods for creating automatic backups using ‘cron’.

You can search the DreamHost WiKi for details about backups.


Norm

Opinions are my own views, not DreamHosts’.
I am NOT a DreamHost employee OK!! :@

You act on my advice at your own risk!


#3

ok, now what about uploading a full backup like a tar.gz file and then using putty to restore it, and unzip it… remembering that, that file contains everything, including the mysql, a homedir and etc?