Backing up and Restoring Systems

Modified: 05 Jan 2015 18:06 UTC

A good backup strategy is vital to running production systems in any public cloud. This ensures you can always revert your systems to a secure state in case of catastrophic failure.

In this topic:

Backup Strategies

A good backup strategy typically means building up multiple layers of protection and fail-safe mechanisms that, when combined, provide an acceptable level of security. Joyent recommends a combination of the following backup strategies:

Backup Suggestions

Hosting your application on a SmartMachine does not mean your data is preserved. You are still responsible for ensuring the preservation of any data or applications that you host in the Joyent Public Cloud. The way in which you configure your backup strategy can vary widely. Below are a few suggested approaches to configuring your SmartMachine backup strategy.

Commercial Backup Solutions

You can purchase and install a third-party storage solution. Ideally, you will want a storage solution that stores your data in virtual tape libraries on an NFS mount. When considering a backup solution, perform due diligence and ensure you arrive at a solution that is tailored toward your specific business needs.

The commercial backup solutions in the below list are only intended as examples.
You can host your backup server on any type of machine you like (SmartOS, Linux, Windows). Commercial offerings that support Solaris should run on SmartOS without issue.

Open Source Solutions

Typically, commercial backup products include hefty price tags. Small to medium sized companies may want to consider an Open Source solution. However, when considering open source products, you need to compare the strengths and weaknesses of open software with commercial software. In general, commercial software is more expensive but provides mature support channels. With open source, you can typically get started for far less money but you may find yourself at some point in need of support with limited options.

Use open source software at your own risk!

Custom Scripts

You can write custom scripts that automate the entire backup process to an NFS mount. When creating scripts, you should archive daily copies of changed files and rotate old files.

Testing your Backup

You should periodically test all of your backups to ensure that you can restore them properly when needed. This solves two problems: