Amrestore: "$" character in the filename to be restored: Difference between revisions
Jump to navigation
Jump to search
(add category) |
(reformat, use header template) |
||
Line 1: | Line 1: | ||
{{Troubleshooting | {{Troubleshooting Header}} | ||
=Problem= | |||
The DLE name contains $ character. How can I use [[amrestore]] to recover the DLE? | The DLE name contains $ character. How can I use [[amrestore]] to recover the DLE? | ||
=Solution= | |||
$ is a shell special character as well as [[Amanda#HOST_.26_DISK_EXPRESSION|Amanda special character]]. | $ is a shell special character as well as [[Amanda#HOST_.26_DISK_EXPRESSION|Amanda special character]]. | ||
Revision as of 23:18, 22 May 2007
This article is a part of the Troubleshooting collection.
Problem
The DLE name contains $ character. How can I use amrestore 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 command options:
amrestore /dev/nst0 linuxclient //windowsxp/SNAPSHOT\\\$
amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$'