Exforsys

Online Training

SQL database back-up !!!!

This is a discussion on SQL database back-up !!!! within the SQL Server 2005 Tutorials forums, part of the Articles and Tutorials category; Can any1 tell me :- while doing a database backup , Wat shud be done to ensure tat this code-block :- { declare @...


Go Back   Exforsys > Articles and Tutorials > SQL Server 2005 Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-03-2005, 03:49 PM
Junior Member
 
Join Date: Sep 2004
Posts: 4
Kartik
SQL database back-up !!!!

Can any1 tell me :-

while doing a database backup , Wat shud be done to ensure tat
this code-block :-
{
declare @strPath as varchar(250)
declare @strDate as varchar(15)

Set @strDate=(SELECT Convert(varchar(11),GetDate(),113)) --\'113 --- Format-For-Date\'
Set @strPath=\'C:\\SCHDBBackup\\SchDBBkup\'+@strDate+\'.bak\'


backup database sch to disk =@strPath
}

Does Not Append-with, BUT it overwrites the Existing database , @ the specified Path !

can we use {Export Data}{Import Data} available in Enterprise Manager ???

so, Tell me
r there many ways/options to do it ???

ALSO; suggest some Common practices/e-sites !!!

Thanx !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-03-2005, 05:41 PM
Senior Member
 
Join Date: Nov 2004
Posts: 175
sanereddy is an unknown quantity at this point
Re:SQL database back-up !!!!

Karthik,

I would just use the Backup options available in the SQL Server Ent Manager, either you can do a one time backup right clicking on the database or create a Maintanace plan which backs up to the specified folder either complete or transactional which can be scheduled.

I will post more details on SQL Server and they will be added to our EFS Directory soon.

Hope this helps.
Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-04-2005, 05:34 AM
Junior Member
 
Join Date: Sep 2004
Posts: 4
Kartik
Smile e-books /Websites

Hello mr. Reddy !

Thanx a lot,

I now know
How to do SQL database backup by 2 Methods -
1. by all Tasks - Backup Database
2.Manage - Computer Management - Schedule a Job - Give the Timing for Daily/Weekly backup.

btw, Can u suggest some good e-books & Websites for SQL Server , plz ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-04-2005, 05:43 PM
Senior Member
 
Join Date: Nov 2004
Posts: 175
sanereddy is an unknown quantity at this point
If you install SQL Server which is free download from Microsfot site and good for 4 months, it comes with full documentation you need for SQL Server...

you can check in http://www.itquestionbank.com for any articles and books

home this helps..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-22-2005, 10:41 AM
Junior Member
 
Join Date: Nov 2004
Posts: 11
rajk
Question Request a tutorial for sql server for beginners

hi

This is first time i am posting a message

I am in urgent need to learn Sql server can anybody suggest an easy way to learn it with in 15 days.

And how can we store images in database for a website

Rajanik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-22-2005, 11:22 AM
Senior Member
 
Join Date: Mar 2005
Posts: 909
techguru is on a distinguished road
Hello Raj,

You can store images to SQL Server... just download the eval copy from microsoft site, go though books online comes with the installation, you should be good in one week...

There is an image data type in SQL*Server. Images are backed up with the data. SQL Server has a utility called TEXTCOPY.EXE that allows to
read/write text and image data from SQL Server .Textcopy can be used for one image at a time If you need to do it in Bulk try the Bulk Insert Image (BII) Utility found in the Tools\Devtools\samples\utilities folder.

Delivering Web Images from SQL Server
http://www.microsoft.com/mind/0798/image.asp


Sample Chapter

Using Graphics Files with SQL Server

http://www.informit.com/guides/conte...eqNum=105&rl=1



Hope this helps,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-23-2005, 01:48 PM
Junior Member
 
Join Date: Nov 2004
Posts: 11
rajk
Hi,


Thank for u help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.