Console mode
Copyright © Acronis, Inc., 2000-2007
71
#!/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
] [-u|--
umount
mountpoint
] [-s|--stop
pid
] [-o|--loop] [-f|--filename
archive filename
] [-p|--password
password
] [-t|--fstype
filesystem
type
] [-i|--index
partition index
] [-w|--read-write] [-d|--
description
archive description
] [-k|--keepdev]
11.3.1
Supported commands
Trueimagemnt
supports the following commands:
-h|--help
Shows usage.
-l|--list
Lists already mounted user mode block devices.
-m|--mount
mountpoint
Mounts the archive image specified by
-f|--filename
option into the folder specified by
mountpoint
option. The partition index should be specified by
-i|--index
option. Image
file contents (partitions and their indices) may be listed by
trueimagecmd --list --
filename:filename
command.
To mount an incremental image, you must have all previous incremental images and the initial full
image. If any of successive images is missing, the mounting is impossible.
-u|--umount
mountpoint