Amrestore: "$" character in the filename to be restored: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
(Use Troubleshooting templates)
Line 1: Line 1:
== Issue ==
{{Troubleshooting Category|amrestore}}
 
{{Troubleshooting Problem}}
The DLE name contains $ character. How to use [[amrestore]] to recover the DLE?
The DLE name contains $ character. How can I use [[amrestore]] to recover the DLE?
 
== Solution ==


{{Troubleshooting 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]].


Line 18: Line 17:


  amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$'
  amrestore /dev/nst0 linuxclient '//windowsxp/SNAPSHOT\$'
----
See more [[amrestore issues]]

Revision as of 21:13, 6 April 2007

Template:Troubleshooting Category Template:Troubleshooting Problem The DLE name contains $ character. How can I use amrestore to recover the DLE?

Template:Troubleshooting 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\$'