Ok I'm probably asking a lot of this one and it's probably not the best way of doing this. I've tried man amrecover but can find no way of extracting a single file just from the command prompt. What I want to do is run a cronjob on each client machine once a week that basically after each backup is performed it then attempts to extract one file from the backup to amanda's home directory and emails whether or not it was successful. For example, say I have 7 servers, server-1 runs this script on monday, server-2 tuesday and so on.I know that whether or not the backup was incremental or not would have a bearing on this, so what i was going to do is before the backup is performed have it create a file in a directory by cat'ing for example /var/log/messages to a specific file and giving it a unique name such as the date, so that it will be backed up and will contain data, especialy data that contains dates and info. Then after the backup is complete extract the file from the tape to a specific directory and then email if it's successful.
My shell scripting is very basic but any suggestions would be appreciated.
