Quantcast
Channel: UNIX and Linux Forums - AIX
Viewing all articles
Browse latest Browse all 373

Restore file from mksysb file

$
0
0
Hello,

I have a mksysb backup OS image. I can restore the file from there, but the issue is the restored file include the whole path :confused:

Code:

listvgbackup -f /backup/xxx/mksysb.xxx.20190316 -r -s -d /home/aaa/ ./home/bbb/nohup.out
I plan to restore nohup.out from /home/bbb/nohup.out to /home/aaa/nohup.out.

But actually I see this:
Code:

[root@xxx] / > ls -l /home/aaa/home/bbb/nohup.out
-rw-------    1 root    system      1585567 Jun 28 2013  /home/aaa/home/bbb/nohup.out

It takes the whole path & file to new destination.

Can everybody advise me on this?

Regards,
Phat

Viewing all articles
Browse latest Browse all 373

Trending Articles