Hi,
Firstly I’d just like to say i’ve spent the last few days migrating some of our content from Medium to Ghost and I love it. Its sooo much nicer. Great job.
We are self hosting for a bunch of reasons, but if you have a patreon or some other way of supporting the project that doesn’t need us to host with you I’d be interested in knowing how.
I’m trying to setup an automated backup on my ghost site (running on our own server)
There are a lot of scripts and posts on the internet about how to do that but many of these seem quite outdated? I’m trying to do this based on using the ghost backup command.
Unfortunately this seems to be quite interactive? I see one example that uses the linux tool expect to solve this but that isn’t quite working for me. For one it doesn’t actually seem to account for the fact that ghost backup will ask for the sudo password. (see here for the script i’m referring to: Backing Up Ghost Blog in 5 Steps)
Anyway… more importantly though ghost backup --help shows --no-prompt as an option. However, if using that option, I can’t see how to pass in the Ghost admin username and password? The help output doesn’t seem to show any options to do that?
Could someone explain what the --no-prompt option will do? What is the recommended way to automate/schedule backups using “ghost backup”?
Thanks for all your input!
If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.
If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.
- What’s your URL? This is the easiest way for others to help you - https://cloudhpc.news
- What version of Ghost are you using? If it’s not the latest, please update Ghost first before opening your topic
Ghost-CLI version: 1.25.3
Ghost version: 5.80.2
And
- How was Ghost installed and configured? - Using the Ghost Install guide for Ubuntu
- What Node version, database, OS & browser are you using?
Node: v18
DB: MySql
OS: Ubuntu 22.04 LTS - What errors or information do you see in the console?
- What steps could someone else take to reproduce the issue you’re having?