netnut1234
Technical User
Hi,
I have a database that I am backing up via SQL maintenance plans.
The database is running on SQL 2005 server and is in Full recovery mode.
I created 2 maintenance plans the first to backup the transactions logs, which is done Monday to Thursday, then a full backup of the database is scheduled to run on a Friday.
I ran the first transaction log back and it failed, as I needed to run a full backup first, which I did, then ran the transaction log backup, it completed successfully. Both the maintenance plans were running for about a week, I was then got an error when trying to backup the logs, not enough disk space. The server guy informed me that there was no disk left on the server. I than shrink the database and others to create more space, this helped, but not much. Another guy from the server team said about running a transaction log backup but with truncate_only as this would commit the log. So I ran it and a shrink.
This worked a treat, I was able to gain a lot of space on the server. When the transaction log ran last night, it failed, the error that comes back is,
Executing the query "BACKUP LOG [%databasename%] TO DISK = N'E:\\Backup\\%databasename%_backup_200906302157.trn' WITH NOFORMAT, NOINIT, NAME = N'%databasename%_backup_20090630215737', SKIP, REWIND, NOUNLOAD, STATS = 10
" failed with the following error: "BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
So I though, as I had done a truncate_only backup, that I need to run a full backup first, which I did and that completed successfully. I then ran the transaction log back up and again it fails with the above error.
I have looked about and it says about the database being in simple mode, but the database is in full recovery mode, I think it has something to do with the truncate_only log backup that I ran, but I am not sure.
Can anyone assist me with resolving this issue please.
Thanks in advance,
Tim
I have a database that I am backing up via SQL maintenance plans.
The database is running on SQL 2005 server and is in Full recovery mode.
I created 2 maintenance plans the first to backup the transactions logs, which is done Monday to Thursday, then a full backup of the database is scheduled to run on a Friday.
I ran the first transaction log back and it failed, as I needed to run a full backup first, which I did, then ran the transaction log backup, it completed successfully. Both the maintenance plans were running for about a week, I was then got an error when trying to backup the logs, not enough disk space. The server guy informed me that there was no disk left on the server. I than shrink the database and others to create more space, this helped, but not much. Another guy from the server team said about running a transaction log backup but with truncate_only as this would commit the log. So I ran it and a shrink.
This worked a treat, I was able to gain a lot of space on the server. When the transaction log ran last night, it failed, the error that comes back is,
Executing the query "BACKUP LOG [%databasename%] TO DISK = N'E:\\Backup\\%databasename%_backup_200906302157.trn' WITH NOFORMAT, NOINIT, NAME = N'%databasename%_backup_20090630215737', SKIP, REWIND, NOUNLOAD, STATS = 10
" failed with the following error: "BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
So I though, as I had done a truncate_only backup, that I need to run a full backup first, which I did and that completed successfully. I then ran the transaction log back up and again it fails with the above error.
I have looked about and it says about the database being in simple mode, but the database is in full recovery mode, I think it has something to do with the truncate_only log backup that I ran, but I am not sure.
Can anyone assist me with resolving this issue please.
Thanks in advance,
Tim