ossc-db / pg_rman

Backup and restore management tool for PostgreSQL
http://ossc-db.github.io/pg_rman/index.html
Other
476 stars 77 forks source link

ERROR: could not remove directory "/data/pgarchives": Permission denied #239

Closed jppo closed 1 year ago

jppo commented 1 year ago

Hello, I am testing save/restore with pg_rman and I get that error : ERROR: could not remove directory "/data/pgarchives": Permission denied In my case /data/pgarchives is not a directory but a mount point as the archives are on their own disk partition. What is the solution ?

Regards

JP P

jppo commented 1 year ago

Hello, After looking at the code I find a "patch" : Create a non-destructible file in the pg_archives directory (for example as root) and it works.

jppo commented 1 year ago

After that I close the issue.