Cancel or Remove a backup to a database in SQL 2008 R2
I got it, duh it was in the SQL server Agent, just disabled it. Thanks for the help anyways.
Need to delete or disable a configured database backup job on SQL Server 2008 R2.
Configured it in two places, one through the Maintenance Plan and the other one was done by right-clicking the " database" -->selecting Tasks-->Back up and Set a Schedule to run every 2 hours. I need this one canceled or removed and it won't allow me, I went back in and set the schedule to backup for only one day and it still did not stop.
Any Ideas, just want to keep the one created in the Maintenance Plan?
Thanks
This topic first appeared in the Spiceworks Community
Similar Messages
-
Upgrade FIM 2010 R2 Sp1 Databases from SQL 2008 R2 to SQL 2012
Hi,
I want to upgrade my SQL from 2008 R2 to SQL 2012.
FIM Databases
1) FIMService Database
2) FIMSynchronizationService Database
Mentioned above are my FIM databases running on SQL server 2008 R2 . Now I was looking for some article which could tell me if SQL can be upgraded without affecting my existing databases of FIM or if i can move these databases to a new server having SQL
2012
Activity I want to perform : Create a fresh Server of SQL 2012 and move my FIM 2010 databases over it by restoring the backups. but as per the link below it seems not possible!
http://social.technet.microsoft.com/wiki/contents/articles/5465.fimilm-how-to-move-the-backend-sql-server-synchronization-service-database.aspxHi Shivam,
Please take a look here: Release Notes for Forefront Identity Manager 2010 R2 SP1.
In the table you have tasks to upgrade SQL for FIMService and FIMSych.
FIM Service:
Upgrade FIM Service servers to FIM 2010 R2 SP1
Stop FIM Service on all servers
Backup Database [in case rollback needed]
Upgrade SQL to SQL Server 2012
Start FIM Service on all servers
FIM Synch:
Upgrade FIM Sync to FIM 2010 R2 SP1
Stop FIM Sync
Backup Database [in case rollback needed]
Upgrade SQL to SQL Server 2012
Start FIM Sync
If you are not making in-place upgrade, I would do something like here:
Stop FIM Services
Backup the databases at SQL 2008
Restore backed up databases on SQL 2012
Make sure SQL Agent Jobs are moved (FIMService)
Make sure Broker is enabled on FIMService database
On FIM machines create SQL alias using cliconfg utility. Alias should have the name of "old(sql2008) SQL" and point to new name/instance.
Start FIM Services - they would use "old" name to connect, but it would be translated to new location. So they would start.
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
Database Restoring (SQL 2008 R2)
Hi
I am trying to restore a database in SQL 2008 R2 and I am what I am getting instead is an error message that reads, "Too many backup devices specified for backup or restore; only 64 are allowed. RESTORE HEADERONLY is terminating abnormally. (Microsoft
SQL Server, Error: 3205".
Any word on how I can get about this oneHi,
There is an old KB article and the error message is mostly come with SQL Server 2000. It does not apply for SQL Server 2008, but may be worth a read.
http://support.microsoft.com/kb/833710/en-us
Make sure that you backup file is valid. You can run SELECT @@version to determine the version and try restoring the backup file on the compatible one.
Reference:
http://www.vishalpatwardhan.com/2011/03/too-many-backup-devices-specified-for.html
Hope it helps.
Tracy Cai
TechNet Community Support -
Moving Service Manager Database From SQL 2008 R2 SP2 to SQL 2012 SP1
Hi Guys,
Just looking for some clarification about moving our Service Manager 2012 R2 database to a new SQL Server.
Our Service Manager database is currently on a remote SQL server, shared with other databases, running SQL 2008 R2 SP2. It was originally setup this way as we only deployed Change Management but we are now wanting to deploy everything, fully
utilising SCSM/Orchestrator and Cireson's suite. Due to the limited resources available on that SQL server we are seeing performance issues before even getting it all up and running.
I want to move the Service Manager database to a new dedicated SQL server running SQL 2012 SP1. I am aware of the official DB move procedure but it does not specifically mention moving up SQL versions. I have seen some comments around here that
it is fine to do but some feedback would be good, it is not something I have done before.
All servers in this are fully patched Windows 2008 R2. Also, we do not currently have a Data Warehouse so do not need to worry about that. It was dropped and uninstalled before upgrading to Service Manager 2012 R2 and will be reinstalled after this DB move
using a separate dedicated SQL server.
Thanks, Chris.As long as your collations and permissions are the same as before it
should not be a problem. That sad i could not find any other documentation saying it's not supported.
I have moved SCSM databases between different SQL-versions before and it has worked fine if the collations etc are correct.
Cheers,
Thomas Strömberg
System Center Specialist
Blog:
Twitter: LinkedIn:
Please remember to 'Propose as answer' if you find a reply helpful -
ADMIRAL database on SQL 2008 R2 Named Instance
Hi,
we are running TES 6.1.0.133 (test Master) upon a remote SQL 2005 SP4 named instance database, all is right.
I need to move the ADMIRAL database to an SQL 2008 R2 SP1 named instance.
What JDBC, JRE and connection string do I need to succeed ?
The versions are JRE 1.6.0.30, Microsoft JDBC 4.0.
thank in advance you for your experience,
FredericYou should probably ask Cisco to help you through this they can likely provide you with an updated document and jar file
You will need to update your master.props settings.
You will need potentially need a new jar
Perform on a maintenance weekend with a maximum amount of recovery time
I have a Cisco doc and Zip files from 2010 when we did this but it is likely a different JAR that you would want to apply now.
What I would think are the Sequence of events (disclaimer Cisco would be best source of sequence, order, etc)
set system queue to zero
close all client sessions
stop master services
kill all connections to Admiral database
backup admiral database
set database offline and rename
Restore admiral database backup to new target SQL server 2008 instances
Creare a backup of master.props
Apply Jar to update master / SQL scripts (if supplied by Cisco)
Update master.props with new settings
JdbcURL=jdbc:sqlserver://:;selectMethod=cursor;databaseName=Admiral (or Admiral DB name)
There could be other setting that may also need to chance
Start Tidal Master make sure it is running
Connect Client
Verify Connections
Turn on System Queue slowly ramp up from a few to your standard level -
Does SQL 2008 r2 DB backup file will run in SQL 2008
Shifting my Data base need to confirm does SQL 2008 r2 DB backup file will run in SQL 2008
It's not possible as they have different version numbers and there is not backword compatibility.
Please refer similar thread:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4daae3e5-15ab-4929-a122-e1bab420310e/backup-sql-server-2008-r2-restore-on-sql-2008
Blog:
http://www.mssqltips.com/sqlservertip/2810/how-to-migrate-a-sql-server-database-to-a-lower-version/
Cheers,
Vaibhav Chaudhari
[MCTS],
[MCP] -
Remove NT AUTHORITY\SYSTEM from sysadmin role - sql 2008 r2
This topic was somewhat covered for SQL server 2005, I couldn't find any on 2008 R2, so asking again.
I have NT AUTHORITY\SYSTEM, NT SERVICE\MSSQLSERVER and NT SERVICE\MSSQLSERVER$AGENT accounts in sql server sysadmin role on all my servers. SQL Server service and sql server agent service are running under different Active directory service accounts
accounts, not the last two mentioned above.
How do I remove these accounts from sysadmin role without breaking anything? Can anyone provide documentations addressing this problem specific for SQL server 2008 R2? If you know any reasons for I should not attempt to remove them,
please point me to the 2008 r2 specific documentation. These came up in security audit and I have to provide specific docs.
Thanks In advance.
MarsHi,
I recommend you not to remove NT AUTHORITY\SYSTEM, NT SERVICE\MSSQLSERVER and NT SERVICE\MSSQLSERVER$AGENT accounts from sysadmin role in SQL Server 2008 R2.
NT AUTHORITY\SYSTEM is a very high-privileged built-in account. It has extensive privileges on the local system and acts as the computer on the network.
The Database Engine runs in Windows as a Windows service named MSSQLSERVER. The NT SERVICE\MSSQLSERVER login is used by the service to connect to the Database Engine. The SQL Server Agent runs as a Windows service named NT SERVICE\SQLSERVERAGENT. The NT SERVICE\SQLSERVERAGENT
login is used by the SQL Server Agent service to connect to the Database Engine. The two logins act as a Security Identifier (SID) for the two services respectively in Windows, and they are members of the sysadmin fixed server role in SQL Server, so they can
do anything in the Database Engine.
For more details, please review the following links:
Setting Up Windows Service Accounts:http://msdn.microsoft.com/en-us/library/ms143504(v=sql.105).aspx
How to Create Secure SQL Server Service Accounts:http://www.mssqltips.com/sqlservertip/2503/how-to-create-secure-sql-server-service-accounts/
Thanks
Lydia Zhang -
If you have a table with a unique index and ignore_dup_key = on and you INSERT rows into that table with an ORDER BY clause (because you want to control which of the duplicate
key rows gets inserted), the wrong row gets inserted in SQL2012. It works correctly in SQL 2008.
We have recently migrated a database from SQL 2008 to SQL 2012. We do have few other dbs which are in compatability mode 100. The above operation works fine
in SQL 2008 dbs but not SQL 2012.
I've even tried applying the latest patch for SQL 2012 SP2 with CU2. Still the problem exists. I'm going to call MS support, but want to know if anyone has come across this problem ?The MS documentation doesn't guarantee that the first row of the duplicates will always be inserted and the next duplicate row(s) get(s) ignored. Where did you find it in the MS documentation? I think you were just lucky that it was always inserting the
first row in SQL 2008 (and ignoring the rest of the duplicates) - I don't think this is guaranteed
Satish Kartan http://www.sqlfood.com/ -
Migrating SCCM 2007 R2 database to SQL 2012
Am I able to migrate my SCCM 2007 R2 database from SQL 2008 (running in 2005 compatibility mode) to SQL 2012? Is it even supported to run a 2012 instance with compatibility set to 2005? Or will I need to upgrade the database at some point to get this to
work.
Currently, my attempts fail and the errors in the ConfigMgrSetup.log suggests an issue with compatibility:
Incorrect syntax near '99900'. : ins_upd
Incorrect syntax near '99901'. : ins_upd
-which led me to a hotfix (http://support.microsoft.com/kb/2676776) that, upon installing, indicated that it failed to completely install.
For whatever it's worth, the SCCM server is running 2008 x64 and the SQL server is 2008 R2.See the caveats at http://technet.microsoft.com/en-us/library/ee344146.aspx listed under the SQL Server Site Database Configurations section:
"To use SQL Server 2012 to host the site database, you must install the following updates as described in the Microsoft
Knowledge Base:
Article 2676737
Article 2676776
Additionally, to use SQL Server 2012 for the site database, you must upgrade the instance of SQL Server in use at a site from SQL Server 2008 or SQL Server 2008 R2 to SQL Server 2012. It is not supported to install a new Configuration
Manager 2007 SP2 site with SQL Server 2012. It is also not supported to install Configuration Manager 2007 R3 when SQL Server 2012 is in already in use for the site database."
Jason | http://blog.configmgrftw.com -
How to take a Hot backup of Oracle database
1: put the db in archive log mode
2: set the db_sid to correct one
3: login to sqlplus
4: verify the name of the db that you are connected to
select name from v$database;
5: check if the db is in archive log made
select log_mode from v$database;
if not in archive log mode
another command to check
archive log list;
6: find where on disk oracle writes archive log when it is in archive log mode
sql> show parameter log_archive_dest_1;
if the value is found to be 0, that means no values will be recorded, so we need to change it
sql> alter system set log_archive_dest_1='LOCATION=c:\database\oradata\finance\archived_logs\'
scope=spfile;
7: shutdown immediate; < this is done just to prepare the db for hot backups >
8: startup the db in mount mode
startup mount;
( 3 startup types : nomount - just starts the instance, mount - locates the control files and open up according to the values, open - finds the datafiles from the control files and opens up the db )
9: put the db in archive log mode
alter database archivelog;
10: open the database
alter database open;
11: check the status of the db
select log_mode from v$database;
SQL> archive log list;
12: create a directory for archived log
check if its empty, if empty we need to switch
sql> alter system archive log current;
run it 5 times < need to put / and enter > , then check the archive log dir , we will find files
13: make a table in the database and insert data in it
create table employees (fname varchar(2));
check the table
desc employees;
insert values
insert into employees values ('Mica');
14: tablespace must be in hot backup mode
check the status
select * from v$backup;
if found not active, then we need to change
we cannot put the db in hot backup mode, unless it is archive log mode
change to hot backup mode
alter database begin backup;
check the status
select * from v$backup;
15: now we can only COPY DBF FILES
copy *dbf <distination location>
16: need to take the db out to hot backup mode
alter database end backup;
17: need to make another archive log switch
alter system archive log current;
18: need to copy control files now, need to do a binary bckup
alter database backup controlfile to '<location>\controlbackup';
19: insert more values to the table
insert into employess values ('NASH')
COMMIT;
make another archive log switch : alter system archive log current;
do the same process for more values
20 : backup all the archive logs to a new location
21: shutdown the db and simulate a hw error, delete all the files from the database folder
22: try to start the sqlplus and db ::: error
23: copy all the backups to the db dir
need to copy the control files, rename the binary backup of the control file and make the copies as needed
24: try to mount the db, error < must use reset logs or noreset logs >
25: need to do a recovering of the database
shutdown
restore the archive logs
startup mount;
recover database until cancel using backup controlfile;
it will ask for a log file :
yes for recovery
cancel for cancelling recovery
26: check status: open the database in readonly
alter database open read only;
check the tables to see the data
shutdown immediate
shartup mount;
recover again : recover database until cancel using backup controlfile;
if oracle is asking for a log that do nto exist , all we have to do is type cancel
27: open the database
alter database open;
need to do reset logs
alter database open resetlogs;
28: check the db that you are connected, check the tables
thanks and regards
VKN
site admin
http://www.nitrofuture.comA very long list ... let me make it shorter.
SQL> archive log list;If I see this:
Database log mode No Archive ModeI put the database into archivelog mode and leave it there forever.
If it is in archivelog mode:
RMAN> TARGET SYS/<password>@<service_name> NOCATALOG
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;Though there are a lot of things one could do better such as incrementals with block change tracking, creating an RMAN catalog, etc. -
I upgraded to Mountain Lion and now I'm having trouble with Time Machine. It appears that since the upgrade Time Machine is not recognizing the external hard drive. When I go to Time Machine and select Disk for the current HD I am left with one of two options: "cancel" or "remove Disk." I am worried that I will loss my backups.
Is this a usb drive?
It will probably never recognise that drive ever again.. Mountain Lion has this little bug where it cannot recognise some USB drives.. I don't understand it.. but it just happened to me and a quick google shows it is not uncommon.
Your backups are not lost.. they are just not accessible.. you need to plug the drive into a computer with a better.. older OS. Find a new USB drive that Mountain Lion can actually read.. and even write to.. and copy the files across. -
Rman backup with standby database
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance
"I scanned thru MOS but could find solutions for rman with active DG."
Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1) -
Will RMAN remove invalid backup pieces from Backup tests?
DB Version: 10.2.0.4.0
Thinking that Level1 backups don't take much time, In production, I was testing a Level 1 bkp (I took a level 0 bkp of our 700gb only yesterday).
But, the end users were complaining that system has become very slow. So, i've cancelled the LEVEL 1 backup.
Now i can see 5 backup pieces wasting some space.
I know that RMAN removes expired backup like
delete expired backup;But, how do i script RMAN to remove files mentioned above ie.files from a backup that was aborted halfway through ?Hi Insignificant
But, how do i script RMAN to remove files mentioned above ie.files from a backup that was aborted halfway through ?If you can locate them on the OS level you could remove them with OS commands.
For backup pieces containg datafiles use <crosscheck backup;> followed by <delete expired backup;> with rman client.
Tycho -
Tape option in backup of a database is disabled
Hi,
We need to schedule a routine backup to tapes for SQL databases. Is there any option to do in SSMS as I can see the tape option is disabled?Try avoid backup on tape
>>Support for tape backup devices will be removed in a future version of SQL Server. Avoid using this feature in new >>>development
work, and plan to modify applications that currently use this feature.
http://msdn.microsoft.com/en-us/library/ms191209.aspx
You can create a job and schedule it to perform backup database to the tape.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
PLEASE HELP! How do I get Time Machine to remove old backups?
It is my understanding that Time Machine will never fill up the drive it's on because it will remove old backups to make room for new ones. It's not doing that for me. The drive Time Macine is backing up to has filled up & will not allow any more to be written to it, so I can't do backups. I don't see anywhere that I can change a setting to fix this problem. It would be VERY helpful if someone would walk me though how to fix this problem. I've had to turn Time Machine off because it's locking up my system trying to write to the drive.
THANK YOU FOR YOUR HELP!!Thank you. I've gone there & read what's at the link. I've tried going into Time Machine & for some reason I can only see backups (in Time Machine) that go back to earlier today. However, if I actually look on the disc that I'm backing up to, I see database files that go back to April of this year. I looked earlier today & I saw files that went all the way back to October of LAST year, but I just did a big installation & that must of put things over the edge.
Anyway, I'd like to say that I saw an answer to my problem at Pondini's site, but I've been there looking around since before I wrote this thread asking for help & I just don't see anything that looks like it will specifically help me on this situation.
I'm still stuck.
Maybe you are looking for
-
RoboHelp10 crashes during development after adding Captivate 7 swf
I think I have found the cause of my RH10 crashes, but I am looking for confirmation before launching a 6 month development project. I am embedding CP7 SWFs in RH10 topics. ENVIRONMENT Win 7 64 bit Dell 2 core, 4GB RAM RH 10.0.1.292 CP 7.0.1.237 If I
-
Toxic tabs in Safari 5.1 OS 10.7.1
Safari has just crashed 'unexpectedly'. I say 'just', actually about 3 hours ago and I've been wrestiling with the problem since then. Restarting Safari, it works OK with the exception of three tabs that are remaining from just before the crash. If I
-
Cinematic Examples preset tab is missing!
I'm new to Speedgrade. I accidently hit the X on the Cinematic tab and now I can't get it back. The 4 other tabs with film stocks, temperatures etc are there. Any help? Please and Thank you.
-
Changes in conditions at header level in Scheduling Agreement
Dear experts, I would like to change condition for duty at header level.when i did through ME32l,system is showing these conditions in Grey field.I want to over write the condition value with new one. Please suggest me how to do this. Thanks in adva
-
Hi. my computer crashed and had to be reset to the factory settings and Ive reinstalled LR... how do I retrieve all my files and presets from the Cloud from my previous version? I frequently backed up my LR within LR!