backup

Failed to pull image “velero/velero-plugin-for-gcp:v1.1.0” while installing Velero in GKE Cluster

北慕城南 提交于 2020-12-04 03:10:32
问题 I'm trying to install and configure Velero for kubernetes backup. I have followed the link to configure it in my GKE cluster. The installation went fine, but velero is not working. I am using google cloud shell for running all my commands (I have installed and configured velero client in my google cloud shell) On further inspection on velero deployment and velero pods, I found out that it is not able to pull the image from the docker repository. kubectl get pods -n velero NAME READY STATUS

Mongodb incremental backups

落花浮王杯 提交于 2020-07-22 03:06:24
问题 I was given the task to setup incremental backups for mongodb replicaset, as start point of course I googled about it and could not find anything on mongodb docs, I did find however this question which encouraged to develop my own solution as didn't find Tayra very active. I read about oplog and realized it was very easy to develop something to replay the log, but it turns out that I didn't have to as mongorestore does that for me. Now I have a working solution with bash scripts and it was

Mongodb incremental backups

巧了我就是萌 提交于 2020-07-22 03:06:14
问题 I was given the task to setup incremental backups for mongodb replicaset, as start point of course I googled about it and could not find anything on mongodb docs, I did find however this question which encouraged to develop my own solution as didn't find Tayra very active. I read about oplog and realized it was very easy to develop something to replay the log, but it turns out that I didn't have to as mongorestore does that for me. Now I have a working solution with bash scripts and it was

Activity crash lifecycle method - android

試著忘記壹切 提交于 2020-07-06 09:48:10
问题 I'm developing an app which in a case of crash, needs to save some data with the time of the crash. Now, I'm saving the data in onDestroy() like this: @Override protected void onDestroy() { saveState(); super.onDestroy(); } But whenever I crash my app on purpose, onDestroy() is not called and my data is not saved. My question is, how can I save my data on a crash? Which approach should I take? Because I need the time of the crash to be also saved, it's mandatory. 回答1: The