Just Host Web Hosting Help
Check Backup Dates Using SSH on Dedi/VPS
Overview
This article will explain how to check the dates of your backups using SSH.
Click on any of the sections to jump to that point in the guide.
What You Need
- The password for the root user on your server.
- An SSH client like Terminal (Mac, Linux) or Putty (Windows).
- A domain name that points to your server or your servers IP address.
Login through SSH
These instructions require knowing the root password for your server. If you don't know the root password or haven't set one up, please see https://my.Justhost.com/hosting/help/whm-login#root-password.
Using Terminal (Mac, Linux)
- Open Terminal
-
Type the following command to login into your server through SSH:
ssh root@exampledomain.com
Note: Replace exampledomain.com with your domain or IP address. - If you receive a message about the authenticity of the host, type
yes
to continue connecting. -
When it asks for your password, enter the root password to your server.
Note: It's normal not to see anything on the screen change as you enter your password.
Using Putty (Windows)
To make an SSH connection on Windows, you must have a compatible SSH client such as putty. You can download putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- Open Putty
- Enter your domain or IP address as the hostname.
- Enter 22 for the port number.
- Protocol should be set to SSH.
- Click the Open button.
- If you receive a message about the authenticity of the host, type
yes
to continue connecting. -
When it asks for the username type:
root
- When it asks for the password, enter the password for the root user Note: It's normal not to see anything on the screen change as you enter your password.
Getting the Backup File Date
-
Once you are logged into SSH as the root user, enter the following command to output the backup dates:
ls -Al /backup/cpbackup
- The output will vary but should look like the following: The date and time of the backup is listed right in front of the backup name.
If you would like to restore one of the backups, please see VPS or Dedicated - How To Restore Backups