Nightly Database Push

May 20, 2008

I have a production database that I would like to have copied over to a backup database on a separate server every evening. I don't want to mirror, I just want the databases synced up every evening.

The servers are physically attached through a gigabit switch and the database is relatively small, so I don't think that speed will be an issue.

Could someone point me to an article about the best way to accomplish this?

Thanks.

http://www.dynamicajax.com

View 2 Replies


ADVERTISEMENT

How To Nightly Copy 1 Database To Another

Nov 6, 2006

I know this is probably an easy thing to do but I've been struggling with this on and off for the past month or so. All I want to do is copy two databases (our app db's) to two other databases (for app testing and training) on the same server every night. The databases aren't used during this time so they can be taken down if necessary.

I've tried using the Copy Database wizard and scheduling the resulting job but that isn't working...

Thanks in advance for any direction/help!

View 8 Replies View Related

Development Push To UAT Push To Production

Mar 15, 2006

We need to configure a way to publish from development to testing and from testing to production. An easy, automated process would be best.

View 1 Replies View Related

Push Table Only On Handheld Database

Apr 20, 2007

I'm able to pull down all my tables needed, but I need to push a table from my handheld database that was not pulled. Is this possible?

The table is used to save data on some input screen on my handheld application and I need to push it to a 'staging' table on my main sql server before it is inserted into the correct tables.



Is there a way to do this?

View 4 Replies View Related

Why My Access Database Synchronizer Can Pull But Cannot Push ?

Jul 24, 2007

In ADS Wizard's Log, it shows me "Pushing data to Access database"

but the Access database in my Desktop PC does not receive the data "pushed" from the "Device".

In the reverse direction, If I "Pull" data from Desktop PC's Access Database, it works.

Why? Any suggestion?

I already repeat this many times but the result are the same.

I did not turn on Windows firewall and Kaspersky internet security at all.

Thank you

View 1 Replies View Related

RDA Push Error Another User Has Opened The Database With Different Instance-level Initialization Properties. [ 32 ]

Mar 3, 2008



Hi all,

I'm using VS2005 + SQL Compact 3.1 and Enterprise Library 3.1 May 2007

I can successfully create a db using pull method, when I try to push back data I got the following SQLCE error:

"Another user has opened the database with different instance-level initialization properties. [ 32 ]"

Before calling the push method I did

SqlCeDatabase eCE = Helper.GetDB() as SqlCeDatabase;
eCE.CloseSharedConnection();
SqlCeConnectionPool.CloseSharedConnections();
SqlCeRemoteDataAccess rda = new SqlCeRemoteDataAccess();
rda.InternetUrl = webSynchronizationUrl;
rda.InternetLogin = webuser;
rda.InternetPassword = webpass;
rda.LocalConnectionString = eCE.ConnectionStringWithoutCredentials;


but after the assignment the LocalConnectionString is different from ConnectionStringWithoutCredentials, there are much more ssce parameters.

What I don't understand is:

why I'm getting this error even after closing the connection ?

Since the error report [32] the ssce conflicting parameters shoud be AUTO_SHRINK_THRESHOLD, FLUSH_INTERVAL and MAX_DATABASE_SIZE

I tried to cut & paste the same values from LocalConnectionString into app.config connection string, at first It seemed to work, but now I got the same error.

Any help will be greatly appreciated



Thanks

View 3 Replies View Related

Nightly Refresh

Sep 19, 2007

Please help.I have Database A (Archived data), Database B (Transactional data).Both A and B do not have any timestamps in any tables.I need to bring A (only once because it is archived data) and B withonly differentials into Database C for reporting purposes.Currently C is cleared before loading B with differentials every nightand A is not loaded since it takes 15 hours to load.Now I want to bring A once and leave it and then bring B every nightwith differentials without clearing C.Please suggest some solutions.Thank You

View 1 Replies View Related

Nightly Tidy Up

Jan 24, 2008



Do you guys do the DBCC CHECKDB on system tables TEMPDB, MASTER, MODEL, MSDB.

When do you run the DBCC UPDATEUSAGE

First i do the following at night

Check database integrity
Rebuild Indexes
Backup Full
Remove old bak
clean up history of all bak
clean up history logs

I was wondering when to put in dbcc updateusage

I look forward to your comments

View 11 Replies View Related

CmdExec In A Nightly Job

Jul 3, 2007

I have to verify a .CSV file exists before I run a BULK INSERT. I am using XP_FileExist in SQL 2000 to accomplish this. After the Bulk Insert is completed and validated, I need to Rename the file and Move the file to archive the folder. For testing I figure If I can rename the file I can move it. I suspect I have permission issues and need to provide the SQL Server Agent permissions to this folder and file. I have my PC setup as a SQL 2000 Server and am attempting to get this step only working on my local machine. I created a nightly Job that remanes a file that I created in a Job and that is all it does. I am running the Job as SA but am still having issues.



The step being executed by the Job is "Ren C:MyTestFile.csv C:MyTestFile1.csv" (with the quotes). If I run this statment (without the Quotes from a command prompt, the file is renamed.

I have set the Type as "Operating System Command (CmdEXEC)". The Job history shows "The process could not be created for step 2 of job 0x71D51027F920A140A2913234DB7FF509 (reason: The system cannot find the file specified). The step failed."

As I said, I suspect that it is a permissions issue as the command works from the command prompt. What is the windows account that the SQL Server Agent uses to commit these commands? I added "Everyone" with Full access to the folder and I still get the same failure.

I would appreciate any assistance anyone could provide. Thanks in advance!

View 1 Replies View Related

Strategy For Nightly Backups Using Ftp

Oct 22, 2004

I am using SQL Server 2000 and trying to create a disaster recovery strategy that would run nightly and backup the database or at least the changes and would ftp these to a secure ftp site. For smaller database it is easy, I just take a full backup, zip up the file and ftp it to the secure backup site. This strategy does not work so well when the zipped up database is still close to 3GB. I have a pretty big window for doing everything but 3GB is just too much to ftp overnight. The recovery model is simple so the only other option seemed to be do a full backup once a month and take differentials nightly. The problem is I am offsight and the client may need to take a full backup during the day and my nightly differential would get screwed up.

There is a fairly low volume of transactions so the idea of just doing nightly backups on the data that has changed is the obvious choice but differentials don't seem to fit. Any ideas?

Thanks,
TH

View 2 Replies View Related

Log Shipping And Nightly Backups

Apr 22, 2008



Quick question..

If I'm log-shipping data from a database can I still perform a full backup of it each night without it affecting the log sequence?


View 7 Replies View Related

Stopping And Starting SQL Server Nightly

Feb 9, 1999

Does anyone see any negative consequences to stopping and starting SQL Server nightly?

View 2 Replies View Related

Merging 50 Databases Into One On A Nightly Basis

Sep 13, 2007

How would you solve this problem?
Would you use replication? SSIS? Schedule stored procs? A third party data tool?

We have about 50 databases located at offices around the world. There are several key tables which we need a central copy of at our Head Office.

We need only the new INSERTS or UPDATES for the day to be copied to head office.
The copying process should happen after business hours for that office.

Some cleaning of the data needs to happen before updating head office.

Our database is being installed at new offices every other month, so it's important to us that this be easy to add a new database into the schedule, ideally without needing a SQL DBA or Developer.

We want something robust, performant and easy to troubleshoot.


Kev

View 1 Replies View Related

Node Automatically Fails Over Nightly (Urgent Help)

Aug 23, 2002

I need some help. I'm running Win2000 w/SQL 2000 Active/Active cluster. I've started having problems where one node will fail over automatically every night. The times are different each night and the only thing that shows up in the log file is the SQL Server terminated due to stop request from the service control manager. I can't find any error to point me in any direction. Does anyone have any idea what could be causing this?

Thanks,

Jeff

View 1 Replies View Related

Sync To Databases Nightly With BLOB Data

Dec 10, 2005

I need some assistence here.I have two servers. One with MS SQL 2000 Standard edition and MSDE(MSdesktop engine).I need to sync my databases nightly, as a backup.Is there a cheap software that will do this? I don't want to justbackup the entire databases files b/c they are large and I'mtransfering them over DSL.I was thinking transaction logging, but I'm not sure. Is there a easyway to do this?I don't know how to accomplish this task.PLEASE HELP.

View 9 Replies View Related

What Directory Are My Nightly Backups (.bak) Files Written To?

Aug 29, 2006

where in sql server 2005 ( and 2000 for that matter) do i find the path to the location where backups are placed (.bak files)? is there sql i can use to find this out

View 6 Replies View Related

Updating Statistics In A Nightly Maintenance Plan

Feb 4, 2008

I run a nightly full backup of the databases and then back up the transaction log. After completing the full database backup and the transaction log, I then update all existing statistics.

Is this a good practice to do on a nightly basis? I drop and re-create indexes on all the databases once a week. Does updating the statistics really help?

View 3 Replies View Related

Automatic Nightly Backup With MSSQL 2005 Express

Feb 2, 2007

Hello, we are running MSSQL 2005 express on a windows 2003 machine. I have looked in SQL Server Management Studio for close to an hour and could not find a way to setup automatic backups of databases. Where is this feature, and short tutorial would be great. Thanks!

View 1 Replies View Related

Nightly Job Has Been Running For Months. Now It Crashes Without Any Helpful Error Message.

Apr 11, 2007

2:30:03 AM SQL Server Scheduled Job 'Our Job Name' (0x888B36086CCCC34FB353B408DEBE0432) - Status: Failed - Invoked on: 2007-04-11 02:30:00 - Message: The job failed. The Job was invoked by Schedule 30 (Our Job Name). The last step to run was step 1 (Our Job Name).



Where do you begin to discover the cause of the crash?

View 6 Replies View Related

How To Push A Dataset Into The DB?

May 7, 2008

Dear all,,
I used a code that import data from an excel file into a dataset,
 now I want to insert the dataset into a table in my database(SQLserver database) using a VB.NET code
Could you help me?
Thanks in advance,,
Here is my code:
Imports System.Data.OleDbPartial Class _DefaultInherits System.Web.UI.Page
 
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.ClickDim connString As String = ConfigurationManager.ConnectionStrings("xls").ConnectionString
' Create the connection object Dim oledbConn As OleDbConnection = New OleDbConnection(connString)
Try
' Open connection
oledbConn.Open()
' Create OleDbCommand object and select data from worksheet Sheet1Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM [Sheet1$]", oledbConn)
' Create new OleDbDataAdapter Dim oleda As OleDbDataAdapter = New OleDbDataAdapter()
oleda.SelectCommand = cmd
' Create a DataSet which will hold the data extracted from the worksheet.Dim ds As Data.DataSet = New Data.DataSet()
' Fill the DataSet from the data extracted from the worksheet.oleda.Fill(ds, "Sheet1")
' Bind the data to the GridView
GridView1.DataSource = ds.Tables(0).DefaultView
GridView1.DataBind()
Catch
Finally
' Close connection
oledbConn.Close()
End TryEnd Sub
End Class
 

View 5 Replies View Related

Pull Or Push For Me?

Jul 22, 2001

I'm trying to replicate two very big databases with about 10 million
of 4000 characters each. The publisher is SQL 2000, subscriber
is SQL 7.0

The subscriber will also perform full text searches.

I'm trying to decide wheter I should use PULL or PUSH.
The publisher is operating on a very low quality/speed internet
connection, where the subscriber is enjoying a T1.

Help, anyone?

Thanks,

-Michael.

View 1 Replies View Related

Push /pull

Jun 21, 2008

Hi to all.

How can we identify that a transactional replication is configured in pull or push subscription..
where we have to check it out.

View 2 Replies View Related

RDA Push Error

Nov 2, 2006

While trying to push a tracked table using RDA.push, I get the following error:

Error Code: 80004005

The message cannot be built. The make message failed.

Minor Err: 28581

Source: Microsoft SQL server 2005 Mobile Edition.

All other tables in the database are getting pulled and pushed correctly. This table is different only in the larger number of columns, around 150. It has a primary key, no other constraints.

Any help to find the reason for this error will be greatly appreciated.

- Paul

View 7 Replies View Related

RDA Push Method

Mar 14, 2008

Hi All,

I am developing an application in which i have to send data from local Sql Server compact edition database[Which is in a Windows Mobile Device,] to central server[SQL Server 2005]. I am using RDA method for communication


Can i use push method to send data from local DB to Central DB?

Is it must to use PULL method before using PUSH method?

Thanks in Advance..

View 8 Replies View Related

Rda.push Error

Feb 20, 2006

Im using the rda.push to push the data back to the SQL SERVER.

My SQL table is OrderDetail with a blank data inside?

My push was unseccessful due to the follow error, can any one help?

[code]

rda.Push("OrderDetail", rdaOleDbConnectString, RdaTrackOption.TrackingOffWithIndexes)

[/code]

Error message:The table is not a tracked table

View 3 Replies View Related

DTS Push Problems With SQL2000

May 9, 2001

Hello all. Please excuse my ignorance, as this is not my territory. I administer a website which is hosted remotely. This site has SQL7 running the data to dynamically build the site. Every Sunday our hosting service runs a DTS package to push the data they have down to us, so we can run reports and analyze it. We recently upgraded to SQL2000, while our host has stayed with SQL7. Now our DTS is failing. They say it is because 7 cannot push to 2000. But they think that we could pull from them. How do I go about setting that up? Will the DTS wizzard walk me through most of it?

Thanks in advace

Adrian Miller

View 1 Replies View Related

Push A Registry Setting

Aug 29, 2003

what would be the best way to push a registry setting to about 3000 PC's. A Batch file is my thought. Any ideas?

Thanks.

View 3 Replies View Related

Pull Down From One Table And Push Up Into Another....

Jun 1, 2004

Hi All,

I have a problem,

I need to copy a large amount of data from one table and insert it into another table.

The design of the destination table is exactly the same as the source table except for the fact that it has one extra field.
Can I copy; in a single SQL statement; all rows in one table (that match given criteria) into another table allowing for the extra field?

View 4 Replies View Related

Push Data Into Sql2K

Sep 18, 2007

Hi, all,

I did not see this one coming, and I am not sure if I did something wrong.

How do you push data from sql05 to sql2k?

I set up a data flow task, with one sql05 connection magager and another sql2k connection manager. Then when I tried to map them, I cann't!

The message on the box said: The connection manager uses an earlier version of sql server provider. Bulk insert operations require a connection that uses a sql server 2005 provider.

I have been trying different source, destination and transformation, but seems like missing something.

Thanks!

View 3 Replies View Related

Push Or Pull Replication

May 29, 2007

What is better to use, Push or Pull Replication? What are the advantages and disadvantages?

View 1 Replies View Related

RDA Push Command Failing ...

May 30, 2006

Hi,

I am using the Pull command to pull two fields, on is the primary ID (int) non identity and the other is Description which comes down as an ntext type. This works fine but if I change the description and use the push command I get the following error:-

The Query processor could not produce a query from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time.



I am really stuck with this one so if anyone can shed some light on it I would be much appreciated.



Cheers,



Jiggy!

View 3 Replies View Related

Does RS Have The Mode Push && Pull ?

Nov 18, 2005

Hi, everyone,

View 3 Replies View Related

RDA Push With Identity Column

Jul 11, 2007



Hi Everyone:



I am new to Mobile programming. I am now working on a small mobile app.



I encounter an issue when I sync the data:



Using RDA Pull, I can create the database and populate my table fine on my pocket pc device.



After updating the data on the device, I encounter an error when I try to Push my table back to the back-end SQL Server 2005 DB.



Error: "The identity range was not established."

VB CODE:
Private Sub RdaConnKeyHeaderPush()

Dim RemoteAccess As New Data.SqlServerCe.SqlCeRemoteDataAccess
Dim RDAConnectingString As String
RemoteAccess.InternetLogin = "<mylogin>"
RemoteAccess.InternetPassword = "<mypassword>"
RDAConnectingString = "Provider=SQLOLEDB;Persist Security Info=True;Data Source=<MySQLServer>;Initial Catalog=MobileKeyDB;" & _
"User ID=MobileUser;Password=<mypassword>"
RemoteAccess.InternetUrl = "https://www.<mysite>.com/SQLMobile/sqlcesa30.dll"
RemoteAccess.LocalConnectionString = "Data Source=Program FilesSQL MobileenMobileKeyDB.sdf; Password = <mypassword>"
Cursor.Current = Cursors.WaitCursor
Try

RemoteAccess.Push("KeyHeader", RDAConnectingString, Data.SqlServerCe.RdaBatchOption.BatchingOn)

Catch RDAConnectionException As Exception
MessageBox.Show("Can not push Header Data: " & RDAConnectionException.ToString, "Loading Key Tracker")
Finally

RemoteAccess.Dispose()
End Try
Cursor.Current = Cursors.Default
End Sub

TABLE DEFINITION:
USE [MobileKeyDB]
GO
/****** Object: Table [dbo].[KeyHeader] Script Date: 07/11/2007 09:48:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KeyHeader](
[trans_id] [int] IDENTITY(1,1) NOT NULL,
[user_id] [int] NOT NULL,
[date_stamp] [datetime] NOT NULL,
[signature] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[status] [int] NOT NULL,
[id] [int] NOT NULL,
[date_stamp2] [datetime] NOT NULL,
CONSTRAINT [PK_KeyHeader] PRIMARY KEY CLUSTERED
(
[trans_id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]



Anyone have any insight on a solution? Thanks.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved