Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

Back Up Your Files With Areca On Fedora 9


Areca is a personal file backup software developed in Java. It allows you to select files or directories to backup, filter, encrypt and compress their content, and store them on your backup location. Areca supports incremental backups and generates backup reports, which can be stored on your disk or sent by email. This guide explains how to install and use it on a Fedora 9 desktop (GNOME).

Areca is a personal file backup software developed in Java. It allows you to select files or directories to backup, filter, encrypt and compress their content, and store them on your backup location. Areca supports incremental backups and generates backup reports, which can be stored on your disk or sent by email. This guide explains how to install and use it on a Fedora 9 desktop (GNOME).

launcher1

Select “System Tools” on the left side and click on “New Item” on the right side. Fill out the fields as shown on the screenshot below and select your preferred icon for this application.

launcher2

3 Usage

Now, after we’ve created a launcher, Areca is accessible in the GNOME applications menu.

access

overview

3.1 Backup Groups

First we have to create at least one backup group – in the next step we’ll assign a new target (backup set) to this group. Click on “Edit” in the main menu and choose “New group“.

group1

Enter a title for the new group and a description if you want.

group2

3.2 Backup Targets

Now we are able to assign new targets (backup sets) to the group that we created in the previous step. Mark the group on the left side, click on “Edit” in the main menu and choose “New target“.

target

3.2.1 Main

This tab contains the basic settings. Enter a name for the new target a choose a repository (destination location) for this target (backup set). Please note that it’s also possible to use scp, rsync or whatever you want – I’ll explain this later. Next you can adjust the archive’s name if you want – possible values are %YY% (year, short), %YYYY% (year, long), %MM% (month), %DD% (day), %hh% (hour) and %mm% (minutes). At last choose a storage mode. The “Standard” mode is the recommended option – a new archive will be created for each backup which will contain all new or modified files since the last backup. The “Delta” mode is similar to the “Standard” mode – only the modified parts of the files since the last backup will be stored. The last mode “Image” will create a unique archive during each backup.

target_main

3.2.2 Sources

On the second tab we have to choose what shall be backed up – click on “Add” to add a directory or file.

target_sources1

target_sources2

3.2.3 Compression

Here we can adjust the compression settings for this target (backup set). Please note that zip files are limited to a maximum size of 4GB – also keep in mind that your data might grow in the future. The zip64-format is able to handle big files – you should choose this if this target (backup set) contains large files – or might grow above 4GB in the future. You have the option to store all files into the same archive (recommended) and to store each file separately. Additional you can add a comment if you want. In the bottom part you can adjust the encoding – which is set to UTF-8 by default. Below you can enable “Splitting” if you want – which means that the archive will be splitted in multiple parts. You can use this option if you want to store the archive onto different CDs or DVDs. If you want to add the prevailing “.zip” extension to your archives mark the corresponding checkbox.

target_compression

3.2.4 Advanced

On this tab we can enable and adjust, as its name implies, some advanced options. First have a look at the “Files management“. The option “Track directories” is needed to store additional information about your source directories like the modification date or the permissions – this is also needed if empty directories shall be backed up. If you enable the option “Store Permissions“, the file permissions (owner, group and all “rwx”-permissions) will be included in the backup. The option “Follow subdirectories” does just what you expect from it – the same applies for the option “Follow symbolic links“. Now we’ve reached the “Encryption” part – edit the encryption settings as you like. The backup of the target configuration should not be disabled.

target_advanced

3.2.5 Filters

Here you can define parameters to exclude special files from the backup. Of course you can use wildcards.

target_sources2

target_filters2

3.2.6 Pre-processing

On this tab you can add actions (execute a script or delete the latest archives) that will be executed before the backup process starts. It is possible to deliver some special values to such a script – have a look at the second screenshot below. For example you could mount an external location to the local filesystem to store a backup archive on it.

target_pre1

 

target_pre2

3.2.7 Post-processing

The configuration of post-processing actions is the same as for pre-processing actions. For example you could move the archive that has just been created via scp or rsync to an external location.

 

3.2.8 Description

Here you can enter a description if you want.

3.3 Launch Backups

3.3.1 Manual

You can run all targets of a backup group at once or a single target. If you want to back up the whole backup group mark it on the left side – otherwise mark a target. Now click on the green plus symbol in the main menu (it is also available in the context menu when you right click on a group or target).

launch1

If you marked a group the backup process starts immediately – otherwise you’ll see this window where you can choose which kind of backup (incremental, differential or full) shall be launched. Additionally you can create a manifest – simply enable the corresponding option and edit it as you like. Afterwards click on “Start backup“.

launch2

The backup is being created.

creation

3.3.2 Scheduled

Areca can also be executed from the command line – so it’s very easy to launch the scheduled backups. Open a terminal and enter:

crontab -e

The syntax is very easy:

%minute% (0-59/*) %hour% (0-23/*) %day% (1-31/*) %month% (1-12/*) %weekday% (0-7/*; 0 and 7 =Sunday) %command%

For example, if I want to launch the backup for the whole backup group “test” every Friday at 4:15am it would look like this:

15 4 * * 5 sh /opt/areca/bin/run_tui.sh backup -config /home/olli/Areca/Workspace/test.xml

If I only want to launch the backup for the target “target_1” (which is the first target in the group) it would look like this:

15 4 * * 5 sh /opt/areca/bin/run_tui.sh backup -config /home/olli/Areca/Workspace/test.xml -target 1

 

3.4 Backup Details

If you want to take a look at a target’s backup details mark it on the left side and browse through the tabs on the right side.

 

3.4.1 Archives

Here you’ll see all archives that belong to the selected target. The color of the symbol shows you the kind of the archive. Blue = incremental, green = differential and red = full.

detail_archives

3.4.2 Logical View

You can use the logical view to browse the backup – the file history will be shown when you select a file in the directory tree.

launch2

3.4.3 History

The History tab shows you all created backups.

detail_history

3.4.4 Indicators

Here you’ll see detailed information about the backup like the compression ratio or the physical size of the archive.

detail_indicators

On the Search tab you can search for files and folders – regular expressions are supported.

detail_search

3.4.6 Log

This is the log – here you’ll find all and everything.

detail_log

3.5 Recover Backups

3.5.1 The Whole Archive

Mark the target that you want to recover on the left side and switch to the tab “Archives“. Select the archive that you want to recover, right-click on it and choose “Recover” (please note that you can also use the corresponding button below the main menu). Afterwards select a directory where the archive shall be recovered and proceed.

recover1

The archive is being recovered.

recover4

3.5.2 A Single File Or Subdirectory

Mark the target from which you want to recover a file or subdirectory on the left side and switch to the tab “Logical view“. Browse the directory tree and mark the file or subdirectory that shall be recovered. If a file is available in different versions you can select your preferred version in the window “file history“. Now right click on it and choose “Recover” (please note that you can also use the corresponding button below the main menu).

recover2

Now select a directory where the file or subdirectory shall be recovered and proceed.

recover3

  • Fedora: http://fedoraproject.org/
  • Areca: http://areca.sourceforge.net/
  • Areca user’s manual: http://areca.sourceforge.net/documentation.php
  • Areca FAQ: http://areca.sourceforge.net/faq.php

 

 

Comments

comments