Questions tagged [disaster-recovery]

This tag should only be used for **programming questions** that relate to the recovery of data or services in the event of a disaster situation. Non-programming questions are OFF-TOPIC.

This tag should only be used for programming questions that relate to the recovery of data in the event of a disaster situation.

Any non-programming disaster recovery questions are not on-topic, and may be more appropriate on Server Fault.

277 questions
23
votes
3 answers

Deleted database accidentally by a bash script, rescue please

My developer committed a huge mistake and we cannot find our mongo database anyone in the server. Rescue please!!! He logged into the server, and saved the following shell under ~/crontab/mongod_back.sh: And then he run ./mongod_back.sh, then there…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
23
votes
4 answers

How do I re-create a MySQL InnoDB table from an .ibd file?

Assume that the following MySQL files have been restored from a backup tape: tablename.frm tablename.ibd Furthermore, assume that the MySQL installation was running with innodb_file_per_table and that the database was cleanly shutdown with…
knorv
  • 49,059
  • 74
  • 210
  • 294
15
votes
3 answers

Failover & Disaster Recovery

What's the difference between failover and disaster recovery?
coder
  • 2,239
  • 5
  • 22
  • 20
10
votes
1 answer

T-SQL copy Logins, Users, roles, permissions etc

We have implemented log shipping as a database disaster recovery solution and want to know if there is a way I can use T-SQL to script all the logins, users, roles permissions etc to the master database on the secondary server so that the T-SQL can…
user394721
9
votes
3 answers

Recovering Git repository from objects only

I have a Windows box which has taken it into it's head to delete most of a Git repository (must have tripped the Important Work Detector ;). All I have left (that I can find) is the objects. I'm not sure how complete the collection of objects is,…
Jashank Jeremy
  • 360
  • 1
  • 4
  • 14
9
votes
2 answers

How to recover a MySQL database: Incorrect information in file: './xxx.frm'

A very important database has gone corrupt that was sitting on server at a shared web host, and I didn't back up. The table contains a large list of very important email addresses. I can get a table listing, but if I open any of the tables with…
Paul Gordon
  • 2,532
  • 3
  • 26
  • 24
8
votes
7 answers

Undo SVN delete ./* --force

I didn't realize svn delete would delete my local copy, I just wanted it out of the repository. Now all my files are gone, and they aren't in the trash bin either. Is there any way I can recover them? I should clarify, these files never made it…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
8
votes
1 answer

How to recover a .py file from PyInstaller .exe?

I lost my original python code that I've been working on for months, it's packed into an .exe using PyInstaller and that's all I have. I tried this: Exe to python with pyinstaller? I was able to extract a file that has some of my source code in it…
Adam Dev
  • 81
  • 1
  • 3
7
votes
2 answers

WCF Pub/Sub with subscriber caching

Problem: how to provide a distributed, scalable and disaster resistant pub/sub service with WCF. Details: Note that this approach is being considered in addition to messaging/middleware solutions such as Tibco EMS. I've been looking into WCF,…
ng5000
  • 12,330
  • 10
  • 51
  • 64
6
votes
1 answer

A program resistent to power/hardware/OS failures

I need to write a program that performs a parallel search in a large space of possible states, with new areas being discovered (and their exploration started) in the process, and exploration of some areas being terminated early as intermediate…
X.C.
  • 391
  • 1
  • 5
6
votes
1 answer

CloudBees, Availability Zones and Disaster Recovery

What is the difference between what CloudBees calls a region-specific deployment and what they (and Amazon) call an availability zone? From what I can tell, CloudBees allows you to deploy in 1 of 2 regions/zones: USA and Europe. Are those my only…
user1768830
5
votes
0 answers

HBase ASYNC WAL when I'm able to recover data from Kafka

I want to optimize my usage of HBase for faster writes. I have a task which reads from a Kafka topic then write to HBase based on that. Since Kafka will have a log of everything to be written, it's an easy source to recover from. I'm reading "HBase…
ytoledano
  • 3,003
  • 2
  • 24
  • 39
5
votes
0 answers

AWS Cognito cross region replication

This is one of the biggest problems for cognito as there doesnt seem to be a direct way to have cross region replication for disaster recovery. Has anyone found a work around for having cognito user pools replicate to another region and make it as…
5
votes
2 answers

Recover a Kubernetes Cluster

At the moment I have a Kubernetes cluster distributed on AWS via kops. I have a doubt: is it possible to make a sort of snapshot of the Kubernetes cluster and recreate the same environment (master and pod nodes), for example to be resilient or to…
falberto89
  • 163
  • 9
5
votes
1 answer

Backup and disaster management plans for mysql database

I've got a multi-user application having some critical data of the users. I am working on the backup and disaster recovery plan for the application.. Would like to know some best practices regarding this.. Thanks.
Satya
  • 1,528
  • 1
  • 14
  • 32
1
2 3
18 19