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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.