Comments (7)
Maybe the issue is that it is running on a mini running Sierra, yikes. I went back to the old version of the backup script, for now. Once I upgrade the mac, I can try the new script.
from davinci-resolve-postgresql-workflow-tools.
I've seen this before. Often it's been because the destination directory has some kind of unescaped space or unescaped special character. What's the full path of your destination directory?
from davinci-resolve-postgresql-workflow-tools.
It could also be a permissions issue, though the scripts should be running as root
, so that'd be a bit curious.
If you're running an older version, it didn't used to run as root
, so you might want to update.
from davinci-resolve-postgresql-workflow-tools.
@paulc-us Can you send the command-line output of how you've set it up?
from davinci-resolve-postgresql-workflow-tools.
I am going to run the uninstall and then reinstall. Should I be running the script as root or with sudo?
from davinci-resolve-postgresql-workflow-tools.
I should also mention, I am still using Postgres 9.5. So I reran the install script as sudo. I unloaded the launchd for both backup and optimize. Then I edited the scripts to use 9.5 instead of 13. Then loaded the launchd's again.
Does that sound correct?
from davinci-resolve-postgresql-workflow-tools.
@paulc-us 1.3 was written for PostgreSQL 9.5, but wasn't ever really tested on Ventura, because 2.0 was written for PostgreSQL 13 on Ventura.
When I was updating everything from 1.3 to 2.0, there was some kind of warning in the macOS Ventura shell, advising that it wasn't best practice to keep running it as a launchd
agent, and that I should run it as a daemon so that the root
user could run the script. Switching it to a daemon running from root
eliminated the warning.
So on macOS, 1.3 ran as a user-specific agent, and in 2.0, it runs as a daemon from the root user. On 2.0, no other user even needs to be logged in.
Without knowing exactly how you've modified it, I suspect that you might be running into permissions issues. It should always be installed with sudo
, as per the documentation in either version.
from davinci-resolve-postgresql-workflow-tools.
Related Issues (19)
- systemd timers don't have permissions to start after a reboot on CentOS HOT 4
- Error message concerning .pgpass on Linux HOT 4
- macOS script not creating a monthly log file HOT 13
- Feature Request: Support Initial Start Time For Recurring Backup/Optimize Tasks HOT 7
- Back up zero byte HOT 2
- Some sort of permissions issue on Big Sur is preventing the agents from having permission to run the backup and optimize shell scripts HOT 5
- Change time of backup HOT 1
- Ubuntu Support HOT 1
- Need to change `$HOME` to `root`'s `~`, which is `/root`, for EL9 HOT 1
- Full disk access is required if the destination for the `.backup` files are set as a remote network share like NFS or SMB HOT 6
- Fallback destination directory
- pg_restore error when restoring from another computer HOT 2
- illegal time format HOT 6
- Backup directory paths with spaces anywhere in the path prevent backups from actually occurring HOT 1
- Database optimization - how to request never? HOT 2
- Scheduled backup time seems to concatenate backup process time as back ups go on...
- Figure out how to get Internet connection inside VMware Fusion's CentOS virtual machine HOT 1
- Add a check to make sure that `~/Library/LaunchAgents` acually exists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from davinci-resolve-postgresql-workflow-tools.