Creating tarball archive using "--files-from" (-T) fails with Cannot stat: No such file or directory

Solution Verified - Updated -

Issue

Creating tarball archive using "--files-from" (-T) fails:

$ tar -P -czvf /destdir/backupfile.tar.gz --files-from /tmp/filelist.lst
tar: /db_raid5_01/oradata/HRDMO91/aaapp.dbf                                          : Cannot stat: No such file or directory
...

Displayed files from filelist are not included in the backup.

Environment

Red Hat Enterprise Linux, any version

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content