473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Incremental table backup or restore

For some of my really important tables, I have backup tables in the backend
file. The idea is that if a user accidentally screws up data, they can go to
a form and restore from the backup table (as opposed to having to use a
backup copy of the back-end). In the past, for the table backup operation,
I was simply deleting all of the data from the table backup and then using an
append query of data from the main table. To restore, I was simply deleting
all of the data from the main table and then using an append query of data
from the backup table.

But, I've recently decided to implement replication. With replication, these
delete operations dramatically increase the size of the back-end file. So,
now I'm thinking I really should do an incremental backing up or restoring of
data.

Can someone help me with code to do this. It would seem to be me that the
idea would be to compare the two tables and resolve any field updates, row
deletions and row additions.

Thanks.

--
Message posted via http://www.accessmonster.com

Dec 17 '06 #1
2 2956
Replication is a big step and only used (in my experience) when users have
laptops and need to syncronise data when back in the office. Why have you
decided to use replication ?
Restoring data across design master/replica isnt something I would dare try
and imagine it to be littered with sychronise conflicts.

Sorry I cannot help, but you might be attempting something a bit to complex
for your skills considering reading some of your other posts on this forum
which ask basic code questions.

"rdemyan via AccessMonster.com" <u6836@uwewrote in message
news:6ae8dae143f4f@uwe...
For some of my really important tables, I have backup tables in the
backend
file. The idea is that if a user accidentally screws up data, they can go
to
a form and restore from the backup table (as opposed to having to use a
backup copy of the back-end). In the past, for the table backup
operation,
I was simply deleting all of the data from the table backup and then using
an
append query of data from the main table. To restore, I was simply
deleting
all of the data from the main table and then using an append query of data
from the backup table.

But, I've recently decided to implement replication. With replication,
these
delete operations dramatically increase the size of the back-end file.
So,
now I'm thinking I really should do an incremental backing up or restoring
of
data.

Can someone help me with code to do this. It would seem to be me that the
idea would be to compare the two tables and resolve any field updates, row
deletions and row additions.

Thanks.

--
Message posted via http://www.accessmonster.com

Dec 25 '06 #2
tombsy wrote:
Sorry I cannot help, but you might be attempting something a bit to complex
for your skills considering reading some of your other posts on this forum
which ask basic code questions.
Good answer!

Dec 25 '06 #3

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

Similar topics

1
by: Jimmy Chen | last post by:
Recently I've done a db2 backup and restore/recovery, but the process for recovering the database was different than what I thought to be. here is what I did: DB2 is set in online mode -...
3
by: apple | last post by:
UDB v8 fp 6a on AIX 5.1.0.0 Below is a manual incremental recover from compressed backup datasets. With external compress backup datasets, can it be coded to do an automatic incremental recover?...
5
by: Anurag | last post by:
Hello, I wish to find out the restore method for database that have been incrementally backed up and in the scenario where just the delta has been backed up. For example sake, let us assume the...
0
by: Willem | last post by:
Based on MK's TSI_SOON (http://www.trigeminal.com/)I've created a nifty little procedure that - whenever you compact you db you get an incremental backup copy. Given that you have a table with...
6
by: Raj | last post by:
How can we do an online restore of a tablespace using the incremental backup's? we are on a partitioned database... Also, how could we use backup copy made by the load (using the copy to option...
0
by: prerak_v_shah | last post by:
Hi All, These days I was working on IBM DB2 database for windows with my .Net Application. Now, it was required to backup database created on one machine to the other machine. I was also able...
2
by: Lennart | last post by:
We have recently moved a ClearQuest database to db2 V8 on linux. We take a full compressed backup on sundays (~400Mb) and compressed incremental/incremental delta other weekdays. What puzzles me is...
3
by: Jurgen Haan | last post by:
Hi all. Yesterday we decided to switch from full online nightly backups to the following schema: sun: full online mon-sat: incremental online. Important to note; we don't use deltas. Well...
1
by: lhemski | last post by:
Guys, im using dB2 Version 9. I perform all the re-configuration of database parameter for incremental backup. I perform initial full backup and after adding some records, i perform incremental delta...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.