Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better, automated, and super-secure backups. #3

Open
rglx opened this issue Oct 23, 2016 · 0 comments
Open

Better, automated, and super-secure backups. #3

rglx opened this issue Oct 23, 2016 · 0 comments

Comments

@rglx
Copy link
Member

rglx commented Oct 23, 2016

Says right there in the issue title.

Current gameplan is this, run every so often:

# save ZNC's config
killall -USR1 znc
# bncbot saves on every change to its database
# tgz and transfer over ssh, make sure you have ssh keys setup
tar zcvf - ~znc/.znc ~bot/bncbot/bncusers.json | \
ssh remote@backup_location \
'cat - > stormbnc-backup-`time`.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant