beautypg.com

Restoring files with trueimagemnt, Supported commands, Estoring files with trueimagemnt – Acronis True Image 9.1 Server for Linux - User Guide User Manual

Page 66: Restore specified files or folders (se

background image

Console mode

66

Copyright © Acronis, Inc., 2000-2006

Disk 1:

1-1

hda1

Pri,Act

31.35 MB

26.67 MB

FAT16

Table

Table

1-2

hda5

980.5 MB

Linux Swap

1-3

hda6

4.887 GB

135.9 MB

Ext2

1-4

hda7

9.767 GB

1.751 GB

Ext2

1-5

hda8

3.462 GB

1.3 GB

Ext2

Disk 2:

2-1 (/1)

hdd1

Pri,Act

4.806 GB

4.627 GB

Ext3

Table

Table

2-2

hdd5

3 GB

1.319 GB

Ext3

2-3 hdd6

3.906

GB

Ext3

You need to back up partition 2-1. Let’s suppose a complete image has to be created weekly

supported by incremental images created daily.

To do this, place the respective executable files (e.g. trueimage.cron) into

/etc/cron.daily and /etc/cron.weekly folders.

To initiate weekly creation of a complete image of partition 2-1, add the following line to

the above file:

#!/bin/bash

/usr/sbin/trueimagecmd --create --partition:2-1 --
filename:/mnt/backups/my_host/backup.tib

Where /mnt/backups/my_host/backup.tib is image name and path.

The second executable file is needed to initiate daily creation of incremental images:

#!/bin/bash

/usr/sbin/trueimagecmd --create --incremental --partition:2-1 --
filename:/mnt/backups/my_host/backup.tib

If needed, users can make their own backup schedule. For more information, see Help on
the cron service.

11.3

Restoring files with trueimagemnt

The trueimagemnt tool is designed to restore files from partition/disk images. It mounts

Acronis True Image archives as if they were kernel space block devices. The program

implements the user level part of the Acronis True Image Server for Linux user mode block

device service. The large part of functionality is handled by the snumbd kernel module.

SYNOPSIS

trueimagemnt [-h|--help] [-l|--list] [-m|--mount mountpoint] [-f|--
filename
archive filename] [-i|--index partition index] [-u|--umount
mountpoint] [-s|--stop pid] [-k|--keepdev] [-p|--password password]
[-t|--test]

11.3.1

Supported commands

Trueimagemnt supports the following commands:

-h|--help