I am using RHEL 4.0
I need to take backup of a directory and then restore it to some other location.
For taking Backup of final directory, I am using this code:
dump -0aj -f /home/vicky/final.dump /home/vicky/final/
Now, I am trying to restore this final.dump
to some other directory, say /tmp/vv
When, I am using code
restore -rf final.dump /tmp/vv
I am getting these errors :-
[root@xxx tmp]# restore -rf final.dump /tmp/vv
Dump tape is compressed.
restore: ./home: File exists
restore: ./home/vicky: File exists
restore: ./home/vicky/final: File exists
is again trying to uncompress in /home/
Pls help, I need to uncompress final.dump in some other location.
Thanks in adv.