Published by Mike Ely

published

Mike Ely's Post

In Reply To: this post

@ai6yr I'm using Duplicity - dumping first to a local directory and then copying that up to B2. Do something like this in the pre script for your local backup:

/usr/bin/sudo -u mastodon /usr/bin/pg_dump mastodon_production > /backup/pgsqldump-$(date '+%F')

Then in post do an rm so they don't stack up forever.


Likes: 0
Boosts: 0
Hashtags:
Mentions: @ai6yr@m.ai6yr.org

Comments

Displaying 0 of 1 comments

AI6YR Ben

In response to this post

@me Thanks|!


Mentions: @me@social.taupehat.com


Likes: 0

Replies: 0

Boosts: 0