amrecover
TLDR
Start recovery session with a configuration
setdisk [/home]
setdate [2024-01-15]
cd [path/to/restore]
add [filename]
extract
SYNOPSIS
amrecover [-C config] [-s index-server] [-t tape-server] [-d tape-device] [-h hostname]
DESCRIPTION
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.
PARAMETERS
-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
INTERACTIVE COMMANDS
sethost hostname
Set the host to browse and restore fromsetdisk diskname
Set the disk (filesystem) to browsesetdate YYYY-MM-DD
Set the date to view the backup statecd directory
Change directory within the backupls
List contents of current backup directory with datesadd pattern
Add files or directories to restore list (supports wildcards)delete pattern
Remove items from restore listlist
Display current restore listclear
Clear the restore listextract
Begin extraction of files in restore listhistory
Show backup history for current host and disklcd directory
Change local working directorylpwd
Display local working directoryquit
Exit amrecover
CAVEATS
Requires running amrecover from the appropriate directory for in-place restores. The index server and tape server must be accessible over the network. For client-encrypted or client-custom-compressed backups, use amrestore instead. Authentication must be properly configured between client and servers.
HISTORY
Amanda (Advanced Maryland Automatic Network Disk Archiver) was developed at the University of Maryland starting in 1991. The amrecover tool provides the primary user interface for file-level recovery, designed to make restores accessible without requiring direct tape manipulation. It has evolved to support various storage backends beyond traditional tape.
SEE ALSO
amcheck(8), amdump(8), amrestore(8), amfetchdump(8), amanda(8)


