SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Building Automated Backups


Building Automated Backups

Author
Message
Paulo L. G. Gonçalves
Paulo L. G. Gonçalves
SSC Eights!
SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)

Group: General Forum Members
Points: 976 Visits: 120
Comments posted to this topic are about the content posted at temp



Andy Warren
Andy Warren
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: Moderators
Points: 11505 Visits: 2730
Im curious why you elected to use devices rather than just backup directly to a file?

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Don Gilman, P.E.
Don Gilman, P.E.
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 37
Being a newbie - I found this to be very educational at the TSQL, SQL Architecture, and Best Practices level. Thanks for sharing!
Josep
Josep
SSC Veteran
SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)SSC Veteran (248 reputation)

Group: General Forum Members
Points: 248 Visits: 4672
I'm also curious, because you could avoid a stept. In fact, I'm always using backup files rather than devices.

I've enjoyed the way of doing it. Really nice :-)

Thank you !!
AllenMWhite
AllenMWhite
SSC Veteran
SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)SSC Veteran (276 reputation)

Group: General Forum Members
Points: 276 Visits: 154

Actually, I'll go one further - why not build a Maintenance Plan (actually three - one for the full backups, one for the 15-minute transaction log backups, and one for the 4-hour differential backups). You can specify all user databases, and set up another Maintenance Plan for your system databases.

Allen





Paulo L. G. Gonçalves
Paulo L. G. Gonçalves
SSC Eights!
SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)

Group: General Forum Members
Points: 976 Visits: 120

In first place i usually use MS SQL backup devices (logical backup devices) because is easier to, check, control and it’s well organized in SEM or in SMS. You can abstract yourself if you define them to go on tape, disk/san or network.

A part of that using a logical backup device is easier to refer than a physical device (file in the system) name, it’s easier when you can for instance call to the logical device name backup Licensed_Cars and call to the physical device name backup <drive>:\<path>\LCFull.bak.

Feel free to contact me,

PaL

email:pal_soft@hotmail.com

www: will be available soon





Paulo L. G. Gonçalves
Paulo L. G. Gonçalves
SSC Eights!
SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)SSC Eights! (976 reputation)

Group: General Forum Members
Points: 976 Visits: 120

Each of you must implement what you feel more comfortable to work to. In my article, just altering the scripts to use files instead of MS SQL backup devices, and everything will work that way.

Feel free to contact me,

PaL

email:pal_soft@hotmail.com

www: will be available soon





BitWise MnM
BitWise MnM
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 88

One thing I don't get is how the transaction log backup devices are reinialized. It just seems that log backups would get appended w/o an end. am I missing something?


BitWise MnM
BitWise MnM
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 88
almost forgot, if already using osql, why involve DTS in the picture? wouldn' it be just as easy to run your query using OSQL and use the output of that query as the input for the next?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search