Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

Creating Snapshot Backups Of Your Desktop With Timevault On Ubuntu 7.10


This document describes how to set up, configure and use Timevault on Ubuntu 7.10. The resulting system provides a powerful backup system for desktop usage. TimeVault is a simple front-end for making snapshots of a set of directories. Snapshots are a copy of a directory structure or file at a certain point in time. Restore functionality is integrated into Nautilus – previous versions of a file or directory that has a snapshot can be accessed by examining the properties and selecting the ‘Previous Versions’ tab.

This howto is a practical guide without any warranty – it doesn’t cover the theoretical backgrounds. There are many ways to set up such a system – this is the way I chose.

 

1 Preparation

Set up a standard Ubuntu 7.10 system and update it.

 

2 Install Timevault

Open https://launchpad.net/timevault/+download within your browser and install the latest package (when I was writing this howto the latest version was 0.7.5-1) with the GDebi package installer (simply click on the package).

inst1

inst2

Click on “Install Package“.

inst3

Enter the root password.

inst4

The package and its dependencies are being downloaded …

inst5

… and installed.

inst6

inst7

inst8

Log out and then log back so that the changes to the Nautilus file browser can take effect.

3 Timevault Notifier

Now we add the Timevault notifier to the startup programs. The session settings are available in the gnome system menu.

session1

Click on “Add” and insert the needed information.

session2

Afterwards log out and then log back in to take the changes effect.

 

4 Snapshot Directory

Now we create a directory where the snapshots will be stored. Please note, that it’s recommended to use another location than the disk from that you want to take snapshots.

sudo mkdir /home/timevault/
%rootpassword%

 

5 Configuration

The Timevault notifier icon in the gnome panel shows us that we have to configure Timevault – the icon is grey.

applet1

Right click on the Timevault notifier icon and select “Preferences“.

config1

Enter the root password.

config2

Mark the checkbox next to “Enable automated snapshots“, choose the root directory for the snapshots (step 4) and mark the checkbox next to “Enable Nautilus Integration“.

config3

Add the directories and/or files that should be backed up.

config4

Here you can add file and/or path patterns to exclude files and folders from the snapshots.

config5

Adjust the expiration settings to your needs.

config6

After the configuration Timevault is ready to be used – the icon has switched and on hover you’ll see how many directories are being watched and how many files are being scheduled for snapshots.

applet2

When you left-click on the Timevault notifier icon you’ll see a detailed overview of the scheduled files.

schedule

Timevault will notify you when it takes a snapshot.

applet3

6 Snapshot Browser

6.1 User Access

6.1.1 Global

The first option to access the snapshot browser is to right click on the Timevault notifier icon.

access_global

6.1.2 Nautilus

Timevault is also integrated into Nautilus – simply click on the icon to open the snapshot browser.

access_nautilus

 

6.1.3 Properties Dialogue

The third option to access the snapshot browser is to open the properties dialogue for a file or folder.

access_property1

access_property2

6.2 Root Access

You have two options to use the snapshot browser with root privileges. Either via right click on the timevault notifier icon …

access_root1

… or in the properties dialogue.

access_root2

6.3 Usage

After you’ve opened the snapshot browser you’ll see a browseable timeline of the taken snapshots. The base for these snapshots is either the actual directory or file if you opened the snapshot browser via Nautilus or the whole filesystem if you opened the snapshot browser via the Timevault notifier.

usage1

After you’ve selected a snapshot from the timeline you’ll see the detailed contents below. You can hide meta data or real data if you want.

usage2

6.4 Revert Snapshots

If you want to revert a file or folder from a snapshot simply mark it and click on “Revert“.

revert1

Click on “OK” …

revert2

… and choose a location where the data shall be restored.

revert3

  • Timevault: https://launchpad.net/timevault
  • Timevault Ubuntu Wiki: https://wiki.ubuntu.com/TimeVault
  • Ubuntu: http://www.ubuntu.com/

 

Comments

comments