mirroring

Can Database Mirroring Be Setup On MS SQLServer Between Two Clusters

Just like the title says, using Microsoft SQL Server's database mirroring capability, can the mirroring occur between two clusters? All of the examples in MSDN show a topology indicating single servers for both the principal and mirror server. ...

Mirroring vs. Log Shipping in Sql Server 2005

I'm interested in hearing people's thoughts about the pros and cons of database mirroring vs. log shipping in this scenario: we need to setup a database backup situation wherein there is exactly one secondary server that need not automatically pick up when the primary fails. Recovering and starting with the secondary should not have to ...

Database Mirroring and Logshipping

I have setup both mirroring and and log shipping on 8 databases of about 10 GB each size on same instance, but now when I want to mirror another database it very long to display the Database Properties page. Any suggestion for this problem. ...

How to replicate a shared MSSQL 2005 db for development purposes?

I would like to replicate a MSSQL 2005 db (hosting through a shared hosting provider) directly on an integration server for development purposes. MSSQL server provides quite a few ways of performing data replication, but I am not sure that any of them is compatible with a typical shared hosting environment. The idea would be to update t...

Best way to instantly mirror/sync files from Windows to Linux server

I have a directory on a Windows machine with a large number of files and folders that I need to watch and have the files mirrored/synced instantly (or as near to as possible), to a Linux machine over the local network. I've investigated: - Rsync, not realtime enough - WinSCP 'Keep directories up to date' feature, which was OK but limite...

SQL 2008 Mirroring, in "restoring" state

I'm testing SQL Server 2008 mirroring with a principal, a mirror and a witness. I've gone through the examples, restoring the mirror WITH NORECOVERY. The principal says it is synchronized. But the mirror still shows it is in a "restoring..." state. Am I supposed to just leave it like that? Should I run a RESTORE WITH RECOVERY? ...

Executing a manual failover (no witness, high protection mode)

Not really my area of expertise, so I am a bit stuck... I can execute a failover if both the primary and the mirror partners are available, but I can't figure out how to do a manual failover when the principal is switched off or unplugged from the network (ie fails). I tried using: ALTER DATABASE myMirrorDatabase SET PARTNER FORCE_SER...

Unix Shell scripting for copying files and creating directory

I have a source directory eg /my/source/directory/ and a destination directory eg /my/dest/directory/, which I want to mirror with some constraints. I want to copy files which meet certain criteria of the find command, eg -ctime -2 (less than 2 days old) to the dest directory to mirror it I want to include some of the prefix so I know ...

What are the scenarios for using mirroring, log shipping, replication and clustering in SQL Server

Hi, As far as i know SQL Server provides 4 techniques for better availability. I think these are the primary usage scenarios, in summary :- 1) Replication would be primarily suited for online-offline data synchronization scenarios (laptop , mobile devices, remote servers). 2) Log shipping could be used to have a failover server with...

Entire website hijacked! How to prevent from being hijacked?

The technical solution can be found here: Entire website hijacked! Part 2: How to configure name-based virtual hosting? The original domain is http://neteditr.com The offending copycat site is http://kitchen.co.jp After reading upon some articles it seems like this kind of website hijacking is done by proxy servers, but how in the wo...

mirroring a subfolder between two writable SVN repos

Hi, I have a situation I'm trying to cope with involving my company's SVN server. We keep all of our important code in a locked-down server (we'll call this the "dev" server). There are some files that need to be edited by users outside the corporate network, so we have another SVN server (the "global" server) which is accessible outsi...

IIS 7 And Failover Partner

I'm trying to migrate a few asp.net applications from iis 6 to iis 7 and I've run into a few snags along the one. I can't find any documentation for the issue I'm seeing and wanted to see if someone else has encountered the same problem. I'm using SQL Server 2005 db mirroring on my databases. In the connection strings of my applicatio...

SQL Server 2005 DB Mirroring Error

I'm getting the following error when trying to setup SQL Server 2005 DB Mirroring on my servers. I am running two Win2K3 servers with SQL 2005 on each with one of those running alongside a SQL 2000 Version. After restoring the database with NORecovery and configuring the endpoints, I run into the following error when I try to start the...

Trouble setting up witness in SQL Server mirroring scheme w/ error

I've got a trio of Windows servers (data1, data2 and datawitness) that aren't part of any domain and don't use AD. I'm trying to set up mirroring based on the instructions at http://alan328.com/SQL2005_Database_Mirroring_Tutorial.aspx. I've had success right up until the final set of instructions where I tell data1 to use datawitness as ...

database mirroring/replication, SQL Server 2005

Hi there, I have two database servers running SQL Server 2005 Enterprise that i want to make one of them as mirror database server. What i need is, create exact copy a database from primary server on mirror server, so when the primary server was down, we could switch database IP on application to use mirror server. I have examined "mi...

Mirroring-like functionality in SQL Express via replication?!

We have 2 SQL Express (2005) servers. As you probably know, database mirroring is not enabled in the Express editions, but replication is. Would it be possible to enable replication between both servers to have some kind of mirroring-like functionality?! What would be the possible drawbacks if it is possible at all? ...

How to mirror a half 3D mesh object ?

Hi All, Let assume that we have a half 3D mesh object and want to mirror it, in C# 2008 Express. That is, we want to have its simetrical part according to the center line of the object. Could you help me to do that. Thanks in advance. ...

Cross-database views and mirroring in SQL Server

Hi, I have a question about mirroring and cross-db views. We have a view in database X which references database Y on the same server S1. The databases X & Y are both mirrored onto another server S2. The problem is: if db X fails over to S2, the view which references db Y is now looking on S2, but db Y may not have failed over. What is ...

Can I use Failover Partner in my SQL connection string without mirroring?

I admit I'm a bit of a cheapskate, but I don't want to spring for the three servers needed to get automatic failover for SQL Server via Mirroring, especially since one of the three would do nothing other than be a witness server. If I set up normal SQL replication (snapshot, say) from primary server to backup server, can I just set my c...

Shrinking the transaction log of a mirrored SQL Server 2005 database

I've been looking all over the internet and I can't find an acceptable solution to my problem, I'm wondering if there even is a solution without a compromise... I'm not a DBA, but I'm a one man team working on a huge web site with no extra funding for extra bodies, so I'm doing the best I can. Our backup plan sucks, and I'm having a re...