Hi Gurus,
I have a problem when i try to restore a single file or directory from backup which using backup command. The backup is based on file systems. We total have 10 fs backup on single tape. The command is " backup -$backup_level -uf $backup_tape.1 $fs_name 2>&1 | tee -a $logfile" But when i try to use restore command to retrive single file, it only can restore the structure of the directory, would not able to restore single file. Why?
The command I am using is " restore -xvq -f /dev/rmt1.1 -s10 ./dir"
The below is stated in IBM's redbook.
"Once data has been properly backed up, there are several different methods of restoring the data based upon the type of backup command you used. You need to know how your backup or archive was created to restore it properly. Each backup procedure gives information about restoring data. For example, if you use the backup command, you can specify a backup either by file system or by name. That backup must be restored the way it was done, by file system or by name."
So that means if we do backup by file system, we have to restore it by file system. There is no way to extract a single file??? According to restore manual, it is possible. How comes?
Please advice.
Thanks,
I have a problem when i try to restore a single file or directory from backup which using backup command. The backup is based on file systems. We total have 10 fs backup on single tape. The command is " backup -$backup_level -uf $backup_tape.1 $fs_name 2>&1 | tee -a $logfile" But when i try to use restore command to retrive single file, it only can restore the structure of the directory, would not able to restore single file. Why?
The command I am using is " restore -xvq -f /dev/rmt1.1 -s10 ./dir"
The below is stated in IBM's redbook.
"Once data has been properly backed up, there are several different methods of restoring the data based upon the type of backup command you used. You need to know how your backup or archive was created to restore it properly. Each backup procedure gives information about restoring data. For example, if you use the backup command, you can specify a backup either by file system or by name. That backup must be restored the way it was done, by file system or by name."
So that means if we do backup by file system, we have to restore it by file system. There is no way to extract a single file??? According to restore manual, it is possible. How comes?
Please advice.
Thanks,