473,395 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Backup Text Report

Hi
How can i make textreports after backup with t-sql without using
Database Maintenance Plan.
thanks
alex

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #1
10 1774

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...
Hi
How can i make textreports after backup with t-sql without using
Database Maintenance Plan.
thanks
alex

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


That depends what information you want. If you're scheduling your own backup
jobs, you can send the output to a log file, but if you want more detailed
information, then you'd have to write your own script to do this.

Simon
Jul 20 '05 #2

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...
Hi
How can i make textreports after backup with t-sql without using
Database Maintenance Plan.
thanks
alex

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


That depends what information you want. If you're scheduling your own backup
jobs, you can send the output to a log file, but if you want more detailed
information, then you'd have to write your own script to do this.

Simon
Jul 20 '05 #3

Have you some examples of those scripts?
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #4

Have you some examples of those scripts?
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #5

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...

Have you some examples of those scripts?
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


No, but if you can explain what information you need to log, and why the
maintenance plan reports aren't good enough, then someone may be able to
suggest something specific. It might be easiest to use a script in Perl,
VBScript, VB, C# etc., because they can manipulate text files much more
easily than pure TSQL.

Simon
Jul 20 '05 #6

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...

Have you some examples of those scripts?
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


No, but if you can explain what information you need to log, and why the
maintenance plan reports aren't good enough, then someone may be able to
suggest something specific. It might be easiest to use a script in Perl,
VBScript, VB, C# etc., because they can manipulate text files much more
easily than pure TSQL.

Simon
Jul 20 '05 #7

I want the same informations as DMPlan would create but without usint
DMPlan.
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #8

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...

I want the same informations as DMPlan would create but without usint
DMPlan.
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


One way would be to write your own script(s) using the SQLDMO COM objects,
in a language like Perl, VBScript etc. But I don't know why you would want
to do that when the maintenance plan will do it for you.

Simon
Jul 20 '05 #9

I want the same informations as DMPlan would create but without usint
DMPlan.
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #10

"acko bogicevic" <ac*******@yahoo.com> wrote in message
news:40*********************@news.frii.net...

I want the same informations as DMPlan would create but without usint
DMPlan.
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


One way would be to write your own script(s) using the SQLDMO COM objects,
in a language like Perl, VBScript etc. But I don't know why you would want
to do that when the maintenance plan will do it for you.

Simon
Jul 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephanie | last post by:
I have not been able to find any details about backup failures for MSSQL 2000. I am researching the following: 1. when a backup fails at a certain point during the process does the backup: A....
3
by: ChrisWinterscheid | last post by:
We are running DB2 8.1 on AIX 5.2. DB2level shows: DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08016" with level identifier "02070106". Informational tokens are "DB2...
1
by: | last post by:
Hi all My requirement is to "on button_click, backup a SQL database using SQLDMO.Backup object and update the progress in a ProgressBar. The problem is the progress bar does not update at all...
2
by: | last post by:
Hi all, continued from yesterday's posting... I still haven't found a solution to this issue. I put a breakpoint in private void SqlBackupPercentComplete(string message, int Percent) {...
1
by: | last post by:
Hi all I am posting this to check if anyone could help me. The problem still persists. I am beginner in C#. Thanks. Subject: SQLDMO.Backup and ProgressBar - help please From: ...
22
by: Woody Splawn | last post by:
I am somewhat new to VS.net in general. As a result I am prone to make mistakes. When adding some new feature to a a form it would be nice if I could back it up before trying something that might...
1
by: microsoft . public . sqlserver | last post by:
I am using SQL server 7.0. After restoring all the databses (Except distribution) Everything seems to be working fine except the backup maintenance plan. I put following detail in the maintenance...
4
by: Mark | last post by:
Good morning. I recently made some changes to my Access project, and I introduced some problems that I could not resolve. So I deleted the forms that I had altered and saved the project. Then I...
5
by: Roger | last post by:
backup log testdb with truncate_only DBCC SHRINKFILE (testdb_log, 100) WITH NO_INFOMSGS backup database testdb to disk = '\\DC01\Backups\DB01\testdb.bak' with init and does the shrinkfile...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.