← 返回命令列表

Linux command

amrecover 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start recovery session

amrecover [config_name]

Connect to a specific index server

amrecover -s [index_server] [config_name]

Specify tape server and device

amrecover -t [tape_server] -d [/dev/nst0] [config_name]

Recover files for a different host

amrecover -h [hostname] [config_name]

说明

amrecover is an interactive tool for browsing Amanda backup indexes and restoring files. It provides an FTP-like interface for navigating through backup snapshots, selecting files for recovery, and extracting them from tape or other backup media. The tool connects to the Amanda index server to browse the backup catalog and determine which tapes contain the desired files. Users build a restore list by navigating directories and adding files, then initiate extraction which contacts the tape server to retrieve the data. For in-place restores, run amrecover from the root of the backed-up filesystem or use lcd to change to that directory before extraction. Otherwise, a directory tree replicating the backup structure will be created in the current directory. The GNU readline library provides command history and editing when available.

参数

-C _config_
Amanda configuration name to use
-s _index-server_
Host running the index daemon
-t _tape-server_
Host running the tape server daemon
-d _tape-device_
Tape device to use on the tape server
-h _hostname_
Hostname to restore; defaults to current system hostname

FAQ

What is the amrecover command used for?

amrecover is an interactive tool for browsing Amanda backup indexes and restoring files. It provides an FTP-like interface for navigating through backup snapshots, selecting files for recovery, and extracting them from tape or other backup media. The tool connects to the Amanda index server to browse the backup catalog and determine which tapes contain the desired files. Users build a restore list by navigating directories and adding files, then initiate extraction which contacts the tape server to retrieve the data. For in-place restores, run amrecover from the root of the backed-up filesystem or use lcd to change to that directory before extraction. Otherwise, a directory tree replicating the backup structure will be created in the current directory. The GNU readline library provides command history and editing when available.

How do I run a basic amrecover example?

Run `amrecover [config_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -C _config_ do in amrecover?

Amanda configuration name to use