EXECUTE master.dbo.xp_sqlmaint N'-PlanID
95C0459D-8D08-478E-9058-41CA9D0A0F51 -Rpt
"P:\SQLBackup\AllUserDB0.txt" -DelTxtRpt 2WEEKS -WriteHistory
-RebldIdx 10 -RmUnusedSpace 50 10 '
results in www.planprojekt.dk/upload/maint.txt, where the end of the
file states
"SQLMAINT.EXE Process Exit Code: 1 (Failed)"
The error log shows nothing. Only thing left is the report created by
the job. The repo is the one shown in the link above.
So I'm finding it difficult to get to the core of the failure - any
help is greatly appreciated.
Thx in advance.
Regards /SnedkerOn Tue, 14 Mar 2006 10:29:31 +0100, Morten Snedker
<morten_spammenot_ATdbconsult.dk> wrote:
First of all, sorry for posting same message twice - my mistake.
Secondly, there IS an error in the report, where I try to maintanance
a read-only-database. :-)
/Snedker
>EXECUTE master.dbo.xp_sqlmaint N'-PlanID
>95C0459D-8D08-478E-9058-41CA9D0A0F51 -Rpt
>"P:\SQLBackup\AllUserDB0.txt" -DelTxtRpt 2WEEKS -WriteHistory
>-RebldIdx 10 -RmUnusedSpace 50 10 '
>results in www.planprojekt.dk/upload/maint.txt, where the end of the
>file states
>"SQLMAINT.EXE Process Exit Code: 1 (Failed)"
>The error log shows nothing. Only thing left is the report created by
>the job. The repo is the one shown in the link above.
>So I'm finding it difficult to get to the core of the failure - any
>help is greatly appreciated.
>Thx in advance.
>
>Regards /Snedker
Showing posts with label xp_sqlmaint. Show all posts
Showing posts with label xp_sqlmaint. Show all posts
Monday, March 19, 2012
Maintanance job fails
Labels:
2weeks,
alluserdb0,
database,
dbo,
deltxtrpt,
execute,
fails,
job,
maintanance,
master,
microsoft,
mysql,
oracle,
planid95c0459d-8d08-478e-9058-41ca9d0a0f51,
rpt,
server,
sql,
sqlbackup,
txt,
xp_sqlmaint
Monday, March 12, 2012
maint plans xp_sqlmaint db bkups and using the backup commands
Is there a difference between performing a database back up using the maint
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log).
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.
It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log).
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.
It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
maint plans xp_sqlmaint db bkups and using the backup commands
Is there a difference between performing a database back up using the maint
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log).
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
--
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log).
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
--
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
maint plans xp_sqlmaint db bkups and using the backup commands
Is there a difference between performing a database back up using the maint
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log)
.
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
plan(xp_sqlmaint) or using the BACKUP command?
Does the xp_sqlmaint perform a FULL backup including the trans logs? And is
it performing a BACKUP LOG? (I would assume no it's not doing a backup log)
.
Is correct to say the both ways of db backups methods can be used to restore
a database to the point of that backup?
The only difference I note is that the main plans creates date/stamp and you
can keep several copies that you can see.It does a backup log if you tell it to backup the log. Otherwise it doesn't
backup the log. It does a full backup when you tell it to backup the db.
In both cases it uses the same BACKUP DATABASE or BACKUP LOG command that
you would use.
Andrew J. Kelly SQL MVP
"Victoria Morrison" <VictoriaMorrison@.discussions.microsoft.com> wrote in
message news:3B2752D3-94DC-4136-8069-E33833DA37C5@.microsoft.com...
> Is there a difference between performing a database back up using the
> maint
> plan(xp_sqlmaint) or using the BACKUP command?
> Does the xp_sqlmaint perform a FULL backup including the trans logs? And
> is
> it performing a BACKUP LOG? (I would assume no it's not doing a backup
> log).
> Is correct to say the both ways of db backups methods can be used to
> restore
> a database to the point of that backup?
> The only difference I note is that the main plans creates date/stamp and
> you
> can keep several copies that you can see.
Subscribe to:
Posts (Atom)