BitCan gives you the ability to back up your critical Linux and Unix server data seamlessly to the cloud. This How-to takes you step-by-step through the process of backing up a directory structure on your server.
BitCan’s thoughtful design takes away the hassle of making backups and helps you rest easy when it comes to ensuring your data is safe. You can backup your files, directories, databases (SQL and noSQL) quickly and easily. You’ll appreciate BitCan’s control panel for its ability to intuitively define new backups and see the results of your most recent backups at a glance. You may also view your backups' size and execution details through the BitCan control panel; when you think of what a backup system should look like, this is it!
BitCan uses proven secure shell (SSH) public/private key encryption technology to ensure reliable and secure backups. SSH’s flexibility means that you can back up your servers wherever they are to BitCan’s backup facility. Have thirty servers in the US and 10 servers in the UK? No problem—you can back up each and see their status centrally through BitCan.
This guide provides you with step-by-step instructions for creating a directory backup to quickly get you started. The guide covers the creation of your account, defining your servers, creating your backups, and checking for proper completion. Let’s get started!
2. Create Your Account
- Point your browser to http://gobitcan.com. You will be greeted by the login screen.
- Select Create Free Account and fill in the fields with your contact information. BitCan uses this information to send you updates on your backups' status.
3. Activate Your Account
- The system will welcome you and send an email confirming your registration. Activate your account through the link provided in the email.
4. Prepare The Server
To prepare the server, we need the following:
- A user by which BitCan accesses the server.
- Prepare the backup user’s environment for SSH keys.
- An SSH key from BitCan.
- The SSH key configured for the designated user.
If you are using an existing user to make your backups and that user has the appropriate permissions to backup the target directories, you may safely skip steps 1 and 2 above.
4.1. Add The User
4.2. Prepare SSH Environment
- On the host computer, ensure that the /etc/ssh/sshd_config contains the following lines, and that they are uncommented:
- Restart the SSH daemon with /etc/init.d/ssh restart or /etc/init.d/sshd restart depending on your Linux distribution
- From the user defined above we’ll need to create the user’s environment to handle SSH:
- Switch to your backup user
- Create the ~/.ssh directory, and the ~/.ssh/authorized_keys file under the backup user’s home directory and modify their permissions:
5. Obtain Public SSH Key
BitCan sent a verification email when you created your account. Let’s access that email now and click the link labeled, activate your account. The link will take you to the BitCan Dashboard.
5.1. Creating A Directory Backup
- Click the Create Backup icon to create your new directory backup.
- Create the name for your backup in the text field.
- Select Directory for the type of backup you wish to create.
- Select --- Create a Server --- from the drop-down dialog box.
5.2. Creating A Server
- Enter a human-readable value for Server Name. BitCan makes it easy to refer to your various servers through meaningful server labels.
- Enter either the IP address or host name for your server. Note that if you enter an IP address you may need to change this value later if the IP address of the server changes. If you use DNS, make sure that the DNS name always refers to the same server or that you modify this value in the future accordingly.
- Enter the port number that you wish for BitCan to send commands to your server.
- Enter the User Name BitCan will use to communicate with the server. This user name must have at least read and execute permissions to properly backup the directory structure.
5.2.1. Configure Your SSH Key
- Press the COPY KEY button from the dialog box
- Append ~/.ssh/authorized_keys with the contents of the key copied earlier with your favorite editor.
- Ensure permissions are correct (600).
6. Creating A New Backup
- From the NEW BACKUP page select the Directory icon.
- Select the server you created a from the ---Select a Server--- drop-down list.
- Enter the directory you wish to have backed up in the File to Backup text entry field.
- In the Schedule section, click the days you would like your backups to happen.
- Enter your email address in the Recipients field.
- Click Save Backup.
7. View/Modify Backups
Once you’ve successfully created your backup, the system will take you automatically to the Backup Control panel. The panel gives you status information for each of your backups at a glance. You can see your backups' success rate, size, number of backups executed, etc. Consider making this control panel your browser’s home screen to see the status of your backups every morning.
8. Test Your Backup
- Click the link to your backup from the Backups page, shown as My Backup in this example.
- Click the gears in the upper-right of the screen.
- Select Backup Now from the drop-down menu.
- The backup will begin immediately.
- BitCan will send a notification email after the backup has finished.
- Once you’ve received the message, refresh the backup’s detail page
You can see that BitCan’s backup status now shows a green check mark just under the backup’s name. This lets you see at a glance the status of your most recent backups.
Congratulations, you’ve created your first backup with BitCan!