-
Notifications
You must be signed in to change notification settings - Fork 30
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
Automated backups #567
Comments
Hi @oPisiti, there's no automated way built into Watcharr. I personally automate it on my server in these 3 steps:
The watcharr.db file should be on your host system in a volume somewhere, so maybe you could run that sqlite command directly that way if you get Might have been a long winded reply, but hopefully answers your questions, let me know if i can help any further! I will update the docs soon with this info, if you think it's helpful. |
Oh and also if you use profile pitcures, then you probably do want to backup the data/img/up folder too. I just backup the entire data folder because I'm lazy, but feel free to do the same, it is the easiest solution 🌝 |
Hi @IRHM, thanks for the tips. Issuing the sqlite backup command from the host really does solve it hehe. Hadn't thought of that. I did applied that stop > backup > restart idea to my other containers which only have local backup though, since I can afford the space usage. Thanks 😃 If anyone ended up on this issue, the command for the sqlite3 db backup is this: |
Created an entry on the docs site: https://watcharr.app/docs/server_config/backup |
Hi ✌️
I couldn't find anything about backups on the documentation.
I tend to do a local backup daily via a cronjob.
Since Watcharr uses sqlite3, I thought running something like
docker exec -t $CONTAINER_NAME sqlite3 watcharr.db ".backup '$BACKUP_FILE_NAME'"
should do it.
But it seams the container does not have sqlite3 installed, which I imagine is because the communication with it is done via go.
So, two questions:
The text was updated successfully, but these errors were encountered: