473,750 Members | 2,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is it good idea to replicate sql server db files?

Hi.

I am wondering if it is a good idea to replicate sql server db files
using frs.

I don't really know how the frs works, so
does frs replicates the whole database from time to time or just the
portion that is changed?

Also if the db is expected to change very often, and wouldn't it make
the whole system down?

I wonder if it's a good idea just to make a backup of the database and
copy it.

What's the usual practice?
Jul 20 '05 #1
3 2245
[posted and mailed, please reply in news]

jaekim (jk****@socal.r r.com) writes:
I am wondering if it is a good idea to replicate sql server db files
using frs.

I don't really know how the frs works, so
does frs replicates the whole database from time to time or just the
portion that is changed?

Also if the db is expected to change very often, and wouldn't it make
the whole system down?

I wonder if it's a good idea just to make a backup of the database and
copy it.

What's the usual practice?


I'm uncertain of what your question actually is, and whatever I have never
heard of frs.

You talk about replication, but your question seems to be about backup.
Replication and backup are two quite different things.

To backup a database, you use the BACKUP command in T-SQL. There are three
ways to back up a database:

* Full backup, backup the entire database.
* Differential backup, back up the changes since the last full backup.
* Log backup, backs up the *transaction log*.

Normally you use both Full backup and Log backup. By backing up the
transaction log, you can get up-to-the-minute recovery in case of a
crash (which could be a fatal human error).

To be able to backup the transaction log you must run in Full or Bulk-logged
recovery mode. On the other hand, if you run in these modes, you must
backup the transaction log, or the log will eventually fill your disk.

It is important to understand that SQL's BACKUP command knows about
transactions, and thus you can backup the database while there is
activity in it. If you would just copy the database files outside SQL
Server, you might get a useless set of bytes on the tape.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #2

"jaekim" <jk****@socal.r r.com> wrote in message
news:91******** *************** ***@posting.goo gle.com...
Hi.

I am wondering if it is a good idea to replicate sql server db files
using frs.

I don't really know how the frs works, so
does frs replicates the whole database from time to time or just the
portion that is changed?

Also if the db is expected to change very often, and wouldn't it make
the whole system down?

I wonder if it's a good idea just to make a backup of the database and
copy it.

I would NOT trust FRS to replicate my database.

Either as Erland suggests use BACKUP and RESTORE (look up log-shipping) or
use SQL Server's replication.


What's the usual practice?

Jul 20 '05 #3
On Sun, 4 Jul 2004 12:51:28 +0000 (UTC), Erland Sommarskog wrote:

I'm uncertain of what your question actually is, and whatever I have never
heard of frs.

You talk about replication, but your question seems to be about backup.
Replication and backup are two quite different things.

FRS refers to File Replication Service, provided by Windows 2000 Server and
Windows Server 2003. It basically does the same thing as rsync: copy file
changes from one server to another on a scheduled basis.

Some details:
http://www.microsoft.com/windows2000...h_frs_ncpi.asp

Your recommendations are of course correct: Database replication is best
handled by the database server, not the filesystem.
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1753
by: Glynn Johnson | last post by:
I understand that there is no way to upload multiple files using ASP and COM+ without having multiple form elements like <input type='file'>. I also understand that there is no way to programmatically set the value of <input type='file'> in IE because it poses a security risk. I didn't know these two facts before I tried to create a client-side activeX component in VB6 which would allow someone to select multiple files from their hard...
4
3653
by: Samuel | last post by:
I am building an web application that will be hosted on load balanced servers (multiple front and one backen db). The application will have to allow users to upload files onto the server. For performance reasons, I do not want to store binary files in the db (cuz there will be frequently retrieved and stored and many will be within the range of 10 MB - powerpoint slides and pdf files) so uploaded files will have to stay on the front end web...
2
2224
by: db2group88 | last post by:
we are using db2 udb v8.2 Express edition on windows 2003,we use third party vendor software to help replicate one server to another. Production server has three instances, each instances has one database under it. So we would see three folders on D drive: DB2 folder, TEST folder and EDU folder, each database has 5 tablespaces and they exist on F drive. So I told the client to replicate the three instance folders on D and the data folder...
3
1724
by: Dennis Kuhn | last post by:
Years ago I downloaded a series of files from Microsoft with lots of practical suggestions for Access97 (which I'm still using at work). The filenames are: FrmSmp97 (Form ideas) Grphsm97 (Graphs-related ideas) Neatcd97 (VBA Code ideas) QRYSMP97 (Query ideas) RptSmp97 (Report ideas)
0
936
by: Jason Shohet | last post by:
Any 'best practices' advice from anyone, on how to replicate .NET sites across either 2000 or 2003 server (web edition) IIS boxes in a server farm? Copying files onto each server from my floppy disk is not the suggested way I'm sure ... TY Jason Shohet
7
1410
by: Melinda | last post by:
Do i go ahead using frames? I've heard in the past that frames were not supported in some browsers & its not a good idea to use them. I suppose there are two sides to this & this would be a top with certain disputes. But in ASP.NET & teh new trends, should i use Frames? Also, can a frame be center aligned in the browser?
1
1492
by: mg | last post by:
Is there a way to replicate the GAC on a win2003 server to another similar server? We are currently using DFS to replicate files, and I do not see how to use DFS to replicate the GAC. -- mg we'll burn that bridge when we get to it
7
2299
by: elgiei | last post by:
Good morning at all, i have to implement a server,that every n-seconds (eg. 10sec) sends to other clients,which files and directory has been deleted or modified. i build a n-tree, for each files on harddisk there's a node into n- tree, this solution is not good for large hard disk.. and i can't use inotify (it's forbidden), and only c solutions are accepted without third party software or external calls.
20
6054
by: ram.rachum | last post by:
Hey, I'm looking for a good Python environment. That is, at least an editor and a debugger, and it should run on Windows. Does anyone have any idea?
0
8836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4712
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2223
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.