InfluxDB support #450
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Backup InfluxDB databases
Other notes / implementation ideas
Heya, would it be possible in future to maybe support InfluxDB as one of the databases supported for backup?
Environment
Docker, latest borgmatic version
That would be cool! I haven't used InfluxDB though. Looks like
influxd backup
andinfluxd restore
might be the way to do dump/restore from the command-line? Or maybeinflux_inspect
andinflux -import
?I will also mention that you can use the borgmatic hooks feature to do dumps and restores "manually" even for databases that borgmatic doesn't support natively.
Yupper!
My crappy script so far is as follows:
The "since" is something I'm still playing with.
The other option for a full backup is the "-portable" switch.
This backs up all of the databases.
For what it's worth I use hooks for backing up my influxdb databases.
@s1shed - you've given me a great idea.
I've forked a version of b3vis's Borgmatic and included docker-cli in it so I can run Docker commands.
I've done some internal tests, and all seems good, but we'll see what happens tonight!
Thank you for the idea!