Amrestore: "$" character in the filename to be restored: Difference between revisions
Jump to navigation
Jump to search
(reformat, use header template) |
(man links) |
||
Line 1: | Line 1: | ||
{{Troubleshooting Header}} | |||
=Problem= | =Problem= | ||
The DLE name contains $ character. How can I use | The DLE name contains $ character. How can I use {{man|8|amrestore} to recover the DLE? | ||
=Solution= | =Solution= | ||
Line 12: | Line 12: | ||
If DLE is ''linuxclient //windowsxp/SNAPSHOT$ root-tar'' | If DLE is ''linuxclient //windowsxp/SNAPSHOT$ root-tar'' | ||
Use either of the following | Use either of the following {{man|8|amrestore}} command options: | ||
amrestore /dev/nst0 linuxclient //windowsxp/SNAPSHOT\\\$ | amrestore /dev/nst0 linuxclient //windowsxp/SNAPSHOT\\\$ | ||
amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$' | amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$' |
Revision as of 21:18, 30 June 2008
This article is a part of the Troubleshooting collection.
Problem
The DLE name contains $ character. How can I use {{man|8|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(8) command options:
amrestore /dev/nst0 linuxclient //windowsxp/SNAPSHOT\\\$
amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$'