This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "[CRON] Check for Cloudron platform reboot copy", | |
"nodes": [ | |
{ | |
"parameters": { | |
"rule": { | |
"interval": [ | |
{ | |
"field": "hours", | |
"hoursInterval": 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILES=*.rst | |
for f in $FILES | |
do | |
filename="${f%.*}" | |
echo "Converting $f to $filename.md" | |
`pandoc $f -f rst -t markdown -o $filename.md` | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_dump --file /tmp/db.dump --format=custom --dbname my-source-database --username my-username --password | |
pg_restore --verbose --clean --no-acl --no-owner --username my-username --dbname my-destination-database /tmp/db.dump | |
# See https://stackoverflow.com/questions/40632228/input-file-appears-to-be-a-text-format-dump-please-use-psql |