linux help topics: Backup with Tar || Postgres DB backup with pg_dumpall with shell script || Remove 5 days old files.
![postgresql - Failed (exit code: 1) when trying to restore DB from a .tar file in pgAdmin4 - Database Administrators Stack Exchange postgresql - Failed (exit code: 1) when trying to restore DB from a .tar file in pgAdmin4 - Database Administrators Stack Exchange](https://i.stack.imgur.com/qr6Tf.png)
postgresql - Failed (exit code: 1) when trying to restore DB from a .tar file in pgAdmin4 - Database Administrators Stack Exchange
![database restore - pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive :- [PostgreSQL-11] pg admin 4 - Stack Overflow database restore - pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive :- [PostgreSQL-11] pg admin 4 - Stack Overflow](https://i.stack.imgur.com/2qra3.png)
database restore - pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive :- [PostgreSQL-11] pg admin 4 - Stack Overflow
![Steps to restore a database having multiple tablespaces to different location on the same server – Database Solutions for the Beginners Steps to restore a database having multiple tablespaces to different location on the same server – Database Solutions for the Beginners](https://youkudbhelper.files.wordpress.com/2021/09/image-8.png?w=718)