8000 backup cli · Issue #696 · girlbossceo/conduwuit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

backup cli #696

Open
teidesu opened this issue Mar 5, 2025 · 1 comment
Open

backup cli #696

teidesu opened this issue Mar 5, 2025 · 1 comment
Labels

Comments

@teidesu
Copy link
teidesu commented Mar 5, 2025

currently the only way to make a backup is to send a message in the management channel, which is not really practical for automatic backups.

there should really be a way to trigger a backup from some kind of cli, or maybe an http api call

@girlbossceo
Copy link
Owner

We have a couple ways to run admin commands programmatically that might achieve what you're looking for.

  • Setting the --execute CLI argument / admin_execute config option to run server backup-database which will backup on every server start
  • Setting the admin_signal_execute config option to server backup-database and sending the SIGUSR2 signal to conduwuit externally using kill every time you want to backup. Such as kill -SIGUSR2 $(pidof conduwuit)

Does this work for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0