Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Need Sybase Database Backup Program

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-03-2010
Member
 
Join Date: Feb 2010
Posts: 668
Need Sybase Database Backup Program

Hi all,

We, as users of the financial sector, started using Sybase10 version. Sybase database is a client / server mode, the basis of distributed processing architecture, a sound security performance, high-speed and efficient operation mode, multi-platform, cross-operating system widely used in etc., was quickly accepted and promote the use of IT sector. In the specific use, found in a centralized data management has its merits, that is, the scope of the data greatly reduced risk, but as a Sybase server side, the data are relatively concentrated risks, I want to know that how to do a database backup in Sybase. Please advice. Thanks in advance.
Reply With Quote
  #2  
Old 03-03-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
Need Sybase Database Backup Program

Using Sybase's Backup Server, do a backup Dump. Dump database (Dump database), is for the entire database (including data, table structures, triggers, cursors, stored procedures, transaction logs, etc.) do a physical backup. Dump database, the system automatically performs a checkpoint, about to log and data copied from the buffer to the hard drive, has been assigned to the page dump to the device. Command format is:
dump database database name to device file name with parameters
Code:
stripe on device file name 2
stripe on device file name of three with parameters
Reply With Quote
  #3  
Old 03-03-2010
Member
 
Join Date: May 2008
Posts: 1,990
Need Sybase Database Backup Program

The data backup is to run the entire database environment, a complete copy, including database of dirty pages and fragments, using the load command to restore, only to return to the same size of the database (data and log size of the only energy and had exactly the same), applies to business outlets end of the day every day after work daily backup. Advantage is that complete and accurate database, the disadvantage of not directly view the contents of the backup. Check and reply
Reply With Quote
  #4  
Old 03-03-2010
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
Need Sybase Database Backup Program

In the windows platform, Sybase SQL Server Manager (database management) platform, select ServerGenerate ddl is generated throughout the database server all of the information, if you select databasegenerate ddl is generated by the selected information in the database in order to master database, for example, the resulting documents include : config.ddl (configuration), devices.ddl (equipment), database.ddl (database), logins.ddl (the user), remote.ddl (remote), cache.ddl (buffer), segment.ddl (), group . ddl (User Groups), user.ddl (the user), default.ddl (do Province), rule.ddl (rules), udt.ddl, table.ddl (table), view.ddl (view), proc.ddl (stored procedure), triger.ddl (trigger). All the best.
Reply With Quote
  #5  
Old 03-03-2010
MindSpace's Avatar
Member
 
Join Date: Feb 2008
Posts: 1,832
Re: Need Sybase Database Backup Program

Sybase database tables in order to self-generation bulk copy tool to guide the way into a certain format text file, the command format:bcp table out the path name of the file name-c-t separator-u (user name)-p (password)-S (server name). If a database all the tables are doing a bcp backup, you need a table for each are doing a bcp, under normal circumstances, a database has more than 100 tables, the workload is relatively large. Can use the information in the database system table bcp to do a backup of the script. Principle is that each user has a table of information in the system table records, you can get isql statement query. To give one example:
(1), first edit a file named mkbcpout.sql file reads as follows:
Code:
select "echo bcp '" + name + "out ... ... ... ... ... ... ... ...'
"+" bcp "+ name +" out. / + "name +". table-c-t '|'-Uuser-Ppassword-S SERVER "from sysobjects where type = 'U'
go
Reply With Quote
  #6  
Old 03-03-2010
opaper's Avatar
Member
 
Join Date: May 2008
Posts: 2,362
Need Sybase Database Backup Program

You can also use a script to do a backup method of doing bcp database defragmentation. Sybase database as the online transaction processing application server, database every day applications are doing a lot of insert, modify, and delete operations, the inevitable physical storage media in the database page on the left and expand cell debris fragments, thus affecting the database storage efficiency and speed. Specific indications were: Deadlock occurs when busy (dead lock), a database input / output resources are a large number of occupation, business processes slow.The solution is clear all the tables in the database, the command format is :
Code:
isql-Uusername-Ppassword-I truncate.sql-o error.truncate
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Need Sybase Database Backup Program"
Thread Thread Starter Forum Replies Last Post
Windows 7's Backup and Restore program slow while backup Dalapathi Operating Systems 4 24-01-2011 12:01 PM
How to BackUp Hard drive using Backup program? AlexisSoft Windows Software 4 20-10-2010 05:40 AM
Backup mysql database jean-paul martell Software Development 3 31-10-2009 02:10 PM
Need to backup the database before closing VBA sidkid Windows Software 3 03-09-2009 12:52 AM
Backup AD database question Kevin Gallagher Active Directory 2 06-05-2009 01:15 PM


All times are GMT +5.5. The time now is 03:36 AM.