Skip to main content
Question

FSbased Backup postgres

  • 23 September 2024
  • 3 replies
  • 27 views

Forum|alt.badge.img+6

I have a question about the wals backup.

 

If the commvault backups the archive wals and deletes them ( i have the option enabled), what happens to the wal files? 

 

Do they just pile up?

3 replies

Mohamed Ramadan
Forum|alt.badge.img+9

hello @arik 


If you have the option enabled to delete the WAL files after a successful backup, they should not pile up. Instead, Commvault will remove those files once the backup is confirmed as successful.

https://documentation.commvault.com/2024/essential/enabling_postgresql_archive_log_deletion_after_backup.html


Forum|alt.badge.img+6
  • Author
  • Byte
  • 21 replies
  • September 27, 2024

Hello @Mohamed Ramadan 

Thank you for the answer ,

I meant what happens to the wal files that didnt get archived.


Mohamed Ramadan
Forum|alt.badge.img+9

hi @arik , 
I hope you are doing well ,

The WAL files that weren't archived will usually stay on the PostgreSQL DB servers. Commvault processes typically apply to archived backups only, so you can manage the unarchived WALs with PostgreSQL's cleanup tasks. For more details, please refer to this document:
https://www.postgresql.org/docs/current/pgarchivecleanup.html
 

Additionally, if you want everything centralized through Commvault, you can use the “Pre/Post Process” feature to run a Bash script (for Linux) or PowerShell (for Windows).
https://documentation.commvault.com/2023e/expert/pre_post_process.html 

I hope this helps! 😁 

Best Regards,
Mohamed Ramadan

Data Protection Specialist 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings