Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2003, 01:50 PM
Authorized User
 
Join Date: Jun 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Backup & CheckDB Urgent Help

I need some help I have created this scripts to do my backups but I want the backup files to be deleted after the backup has been copied to tape can anyone help?

Backup Database [SPArchive] To
DISK = N'\\.....\e$\Backup\SPArchiveDB.BAK'
WITH INIT, NOUNLOAD, NAME = N'SPArchiveDB Backup',
NOSKIP, STATS = 10, NOFORMAT

Second point I have been running this script on a very small DB and it has been running for the past 3 hours I have no idea what is going on. Early on I did (Backup log SPArchive with no_log). Can anyone help as well?
sp_MSForeachdb @command1 = "print '?'",
@command2= "DBCC CHECKDB (?)"

I look forward to hearing from you.

Regards,


Carl




CarlWalden
__________________
CarlWalden





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create backup folder & also backup files miracles Excel VBA 0 April 16th, 2007 02:28 AM
Help to you: MySQL Auto Backup & Export Beyonder MySQL 1 March 28th, 2005 04:28 AM
urgent doubt between class & structure lgeetha C# 5 February 24th, 2005 09:27 AM
Cold Backup & RMAN Walden Oracle 1 October 13th, 2003 04:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.