ReadyNAS duo used as network backup solution

Cette page a été publiée 06/09/11 par Stephane Carrez (GM).
(readynasduo)

Backup of an IT infrastructure is critical for a business or even for personal needs. The ReadyNASDuo is a small but powerful storage server which when combined with Bacula® - The Open Source Network Backup Solution, it can become a very nice and smart backup solution.

Step 1: Connecting to a ReadyNAS duo using SSH

Having acquired a ReadyNAS duo for my new backup system, I wanted to explore the system that runs on it and see if I could run more services on it. There is nothing terrific in this article as many people have already done this before. Anyway it describes step by step what must be done to connect to the ReadyNAS

Step 2: Installing Mysql server on a ReadyNAS duo


Being able to connect to my ReadyNAS duo using SSH (See Connecting to a ReadyNAS duo using SSH ), the next step for setting up a Bacula backup solution was to setup a MySQL server. The Mysql server is used by Bacula for the backup catalog (jobs, files ...) .

Step 3: Tuning mysql configuration for the ReadyNAS duo

After installing mysql server on a Ready NAS duo, it is necessary to tune the configuration to make the server run well on this small hardware. This article describes a possible configuration for tuning the Mysql server.

Step 4: Simple mysql database backup for ReadyNAS duo

With a mysql database running on the ReadyNAS duo, it becomes necessary to put in place a backup of the database. This article describes a simple method to automatically backup the mysql database on the ReadyNAS duo.

Step 5: Using phpMyAdmin with a remote mysql on the ReadyNAS Duo

The administration of the mysql database running on the ReadyNAS duo can easily be made by using phpMyAdmin. It is not necessary to install phpMyAdmin on the ReadyNAS. The article Using phpMyAdmin with a remote mysql on the ReadyNAS Duo describes a simple method to administer the database automatically by using an SSH tunnel.

Next steps

The next step:

  1. install Bacula
  2. configure Bacula director/storage and bacula clients
  3. define the backup policy
  4. run several backups
  5. restore those backups
  6. verify that the restore is ok

These steps are now running. They will be detailed shortly.

Maintenance

How to expand disk capacity on a ReadyNAS Duo from 1 TB to 2 TB

This article describes the process to increase the disk capacity of a ReadyNAS Duo configuration from 1 TB to 2 TB In my case, my X-RAID configuration was broken due to a faulty disk. I took the opportunity to repair the redundancy and also to increase the capacity. The process is simple but very long. It took me 4 days, several reboots and many disk synchronisation.

Return of experience

One year of data backup with Bacula on a ReadyNAS duo

After one year of daily and weekly backup using Bacula on a ReadyNAS duo, I wanted to share information about this success story. Bacula is a network backup solution that I installed on a ReadyNAS duo. Bacula allows to make full as well as incremental backups of remote machines. It uses a MySQL database that also runs on the ReadyNAS (see Installing Mysql server on a ReadyNAS duo) and it stores backups on media such as tapes, CDs, DVDs or files.