dbTalk Databases Forums  

Dump multiple databases to disk

comp.databases.sybase comp.databases.sybase


Discuss Dump multiple databases to disk in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Praim Sankar
 
Posts: n/a

Default Dump multiple databases to disk - 05-19-2004 , 01:08 PM






I have a script that dump all of the databases on a Sybase server to
tape.

At the moment I have a new Sybase server on a new RS600 host server
but we have no tapes as yet for it. So I want to bakup all of the
databases to disk .
Is it possible to dump all of the databases to one diskdump device
without one database dump overwriting the previous dump. Like on the
tape when the first dump is with init and the rest are noinit .

Thanks

Reply With Quote
  #2  
Old   
Willie Kraatz
 
Posts: n/a

Default Re: Dump multiple databases to disk - 05-20-2004 , 07:54 AM






When you dump to disk, you can dump to a file system/file name . You could
use something like this
declare @devname varchar(254)

select @devname = '/database_backups/db_abc_' + + convert(char(8),
getdate(), 5) + '_' + convert(char(8), getdate(), 8) + '.dat'

dump database db_abc to @devname

The date/time allows for multiple backups to exist.
"Praim Sankar" <psankar (AT) ibc (DOT) ca> wrote

Quote:
I have a script that dump all of the databases on a Sybase server to
tape.

At the moment I have a new Sybase server on a new RS600 host server
but we have no tapes as yet for it. So I want to bakup all of the
databases to disk .
Is it possible to dump all of the databases to one diskdump device
without one database dump overwriting the previous dump. Like on the
tape when the first dump is with init and the rest are noinit .

Thanks



Reply With Quote
  #3  
Old   
Brian Ceccarelli
 
Posts: n/a

Default Re: Dump multiple databases to disk - 05-21-2004 , 04:00 PM



There's a program called psDumpServer in DBPowerSuite that does all this
automatically.

http://www.dbpowersuite.com

"Praim Sankar" <psankar (AT) ibc (DOT) ca> wrote

Quote:
I have a script that dump all of the databases on a Sybase server to
tape.

At the moment I have a new Sybase server on a new RS600 host server
but we have no tapes as yet for it. So I want to bakup all of the
databases to disk .
Is it possible to dump all of the databases to one diskdump device
without one database dump overwriting the previous dump. Like on the
tape when the first dump is with init and the rest are noinit .

Thanks



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.