-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sometimes the triggered backup is missing table directories #4
Comments
@hakimkartik It looks like you are changing the prefix every day for taking backup. Scyllabackup is not designed for that. It is designed to take backup in same prefix every day (or every time). Using same prefix, it is able to detect, which files are not required to be re-uploaded. The metadata of sqlite db might get affected in such case. I will have to check the impact of such a use case. There might be a corner case due to that. I would also suggest to use |
Hi @perfectayush , without changing the prefix, tried to take backup. |
@rampreethethiraj can you post the error from scyllabackup in verify step. I ran the command on one of our server it printed this: |
ERROR scyllabackup.snapshot: Remote file global-metadata-scylla-20190226/spr_global_metadata_db/sprmessagemetadata-2ad184309f8911e8843b000000000005/spr_global_metadata_db-sprmessagemetadata-ka-209792-TOC.txt doesn't exist\n[2019-02-26 07:23:44,826 |
@rampreethethiraj Please |
@perfectayush we are already triggering with -l debug. And there are no errors while taking the backup. Only place where it is failing is in the verification step saying that it is not able to find some files. |
@rampreethethiraj Ok. Can you report me the exit code of the process when taking backup., If there is some error, the process should exit with some non zero exit code. Check your system/kernel logs to see that the process is not being killed due to OOM or something. For more debugging i would suggest using some tracing, strace or perf trace. or maybe using https://docs.python.org/2/library/trace.html. Since I can't replicate the issue at my at my end, without knowing where the code is breaking, I can't help/fix behaviour. |
We take backup of our Scylla cluster on a regular basis and push it to a S3 bucket.
But recently I has started to notice that one of the backups is having only 2 snapshot table directories rather than having 3.
Tables in the keyspace directory of the cluster
Directories uploaded to S3 by the tool on two different days (backup on 20-02-2019 is missing table named
parenttochildmessagemap
)Following is the command which we use for triggereing backup
tried triggering the
take
command with-l DEBUG
but couldnt find any issues .Can someone please suggest , what might be triggering this anomolous behaviour ?
The text was updated successfully, but these errors were encountered: