Originally created by @X4V1 on GitHub (Feb 18, 2021).
Hello
I'm facing an issue that i'm struggling to debug.
When I'm trying to do a backup with the command: /usr/bin/sqlite3 /data/db.sqlite3 ".backup 'data/db_backup/backup.sqlite3"
I'm getting an error saying "attempt to write a readonly database".
I can't find why it says that the database is readonly, did I missed something ? Am I forced to stop the container before running this command ?
Kind regards,
Xavier
Originally created by @X4V1 on GitHub (Feb 18, 2021).
Hello
I'm facing an issue that i'm struggling to debug.
When I'm trying to do a backup with the command: /usr/bin/sqlite3 /data/db.sqlite3 ".backup 'data/db_backup/backup.sqlite3"
I'm getting an error saying "attempt to write a readonly database".
I can't find why it says that the database is readonly, did I missed something ? Am I forced to stop the container before running this command ?
Kind regards,
Xavier
Thank for your answer, I think you're right. It seems to make a difference when I change folder permission. Thank :)
@X4V1 commented on GitHub (Feb 18, 2021):
Thank for your answer, I think you're right. It seems to make a difference when I change folder permission. Thank :)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @X4V1 on GitHub (Feb 18, 2021).
Hello
I'm facing an issue that i'm struggling to debug.
When I'm trying to do a backup with the command: /usr/bin/sqlite3 /data/db.sqlite3 ".backup 'data/db_backup/backup.sqlite3"
I'm getting an error saying "attempt to write a readonly database".
I can't find why it says that the database is readonly, did I missed something ? Am I forced to stop the container before running this command ?
Kind regards,
Xavier
@jjlin commented on GitHub (Feb 18, 2021):
data/db_backup/backup.sqlite3probably isn't writable.@X4V1 commented on GitHub (Feb 18, 2021):
Thank for your answer, I think you're right. It seems to make a difference when I change folder permission. Thank :)