Amrestore: "$" character in the filename to be restored

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Jump to navigationJump to search

This article is a part of the Troubleshooting collection.

Problem

The DLE name contains $ character. How can I use amrestore(8) to recover the DLE?

Solution

$ is a shell special character as well as Amanda special character.

So, $ has to be escaped twice.

For example:

If DLE is linuxclient //windowsxp/SNAPSHOT$ root-tar

Use either of the following amrestore(8) command options:

amrestore /dev/nst0 linuxclient //windowsxp/SNAPSHOT\\\$
amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$'