Solved

sql 2005 transaction log backups

Posted on 2011-09-12
6
285 Views
Last Modified: 2012-05-12
hi all

i am trying to set up a transaction log back up against one db (its in full recovery mode), i create the backup as the picture illustrates and select the db, but each time i save and close out it loses the database selection !

i cant see what i could be missing?

also if anyone has any important steps i should be following when backing up the log files - please feel free to advise! eg i have read that there is an option to ignore transactions once they are backed up - but cant see it?

cheers

mal
bkup.JPG
0
Comment
Question by:malraff
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:dba2dba
ID: 36523270
Did you have the DB Setup to FULL Recovery mode?

Before taking a transaction log backup, you should

1) Change the recovery model to FULL

--ALTER DATABASE DATABASE_NAME SET RECOVERY FULL
--or using GUI . Database Properties - Options - Change it to FULL

2) Take a Full Backup

You have to do this in order to be able to setup transaction log backups.

Thanks,
0
 

Author Comment

by:malraff
ID: 36523289
did you read my question :)
0
 

Accepted Solution

by:
malraff earned 0 total points
ID: 36523563
must be a bug in sql !
as despite not showing the database that i have selected the plan is still running and backing up my logs!??

even if i select view T sql from the job it shows me nothing!
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 8

Expert Comment

by:dba2dba
ID: 36523787
Sorry, I did not read the question properly. You can try applying the latest SP/Hotfix.

THanks,
0
 
LVL 1

Expert Comment

by:dervishi
ID: 36534454
Tryto make trn backup using sql script

Backup Log "database_name" to "filebackup.trn.
0
 

Author Closing Comment

by:malraff
ID: 36572245
sql server bug
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now