# How to change default location of \_pgbackup?

**URL:** <https://forum.pinegrow.com/t/how-to-change-default-location-of-pgbackup/7982>\
**Category:** General\
**Created:** [April 28, 2023, 2:43pm UTC](https://forum.pinegrow.com/t/how-to-change-default-location-of-pgbackup/7982 "2023-04-28T14:43:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dculp](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dculp](https://forum.pinegrow.com/u/dculp)\
**Post date:** [April 28, 2023, 2:43pm UTC](https://forum.pinegrow.com/t/how-to-change-default-location-of-pgbackup/7982/1 "2023-04-28T14:43:33Z")

</div>

The root of my project is “/usr”. \_pgbackup is located under usr – i.e., /usr/\_pgbackup.

When I do a global search-and-replace within /usr and all subfolders using an external editor, I don’t want the files in \_pgbackup to be changed. (My external editor doesn’t allow excluding files or folders during search-and-replace.) I can use a file manager to relocate \_pgbackup out of /usr. However, as soon as I start Pinegrow it adds a new \_pgbackup beneath /usr.

Hence, is there any way to change the default location of \_pgbackup? ( I know that I can turn off \_pgbackup but that’s not what I need.)

Pinegrow 7.2, Windows 10

Thanks,  
Don C.

---

<div class="post-metadata">

**Author:** ![dculp](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dculp](https://forum.pinegrow.com/u/dculp)\
**Post date:** [April 29, 2023, 2:02pm UTC](https://forum.pinegrow.com/t/how-to-change-default-location-of-pgbackup/7982/2 "2023-04-29T14:02:33Z")

</div>

A partial solution –

1. Before doing a global search-and-replace within /usr, backup /usr/\_pgbackup to an alternate permanent location (outside of /usr).
2. Delete /usr/\_pgbackup
