Help - Search - Members - Calendar
Full Version: SSH Help
The Planet Forums > System Administration > General Support Questions
Bantas Creek
I need some help. I have a server that has two hard drives. One server is used for websites and the other is used to backup the websites. I have a guy who manages my server who has setup all the backups and how they work. I need this issue fixed faster than I can get in touch with him.

The backup drive is full and causing issues. I need to know what information I need in order to log onto the back up drive and delete some of the backup files. I guess I need to access the drive using SSH.

I have cuteFTP which has SSH but I do not know the correct information to enter into it which will allow me to access the backup drive.

Can anyone tell me what info I need to access that backup drive.

Regards,
Bantas Creek
uneedawebsite
It would help to know what control panel you are using and whether your server has ide or scsi drives in it.

If you log in as root and do the command: df

You will see something like this:

CODE
Filesystem           1K-blocks      Used Available Use% Mounted on

/dev/sda5             67401428  37405708  26571872  59% /

/dev/sda1               101089     60477     35393  64% /boot

/dev/sda3              1035692     40428    942652   5% /tmp

/dev/sdb1             70557052  35993696  30979260  54% /backup

none                   1037888         0   1037888   0% /dev/shm


The second drive is the 'b' drive. If yours is an IDE drive and not SCSI, it will say /dev/hdb instead of /dev/sdb.

Look to see where the /dev/hdb1 drive is mounted. If you have CPanel, like I do, it should be mounted at /backup. If not, note where it is mounted and do: cd /backup (or whatever). You can then do: ls and you will see the directories containing the backups.

All of that said, I would not recommend just deleting things if you don't know what you are deleting and why it is there.

I hope this helps more than it confuses you.

Mark
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.