How to take SQL Server Database backup from DB side
Dear All,
Please suggest how to take SQL Server Database backup from DB side?
System Info-
Portal Server (EP7)
MS SQL Server
Microsoft Windows 2003 Server
Suggest ASAP.
Thanks & Regards,
Sameer
Hi,
I am planning to take SAP DB backup I need the procedure how to take backup. With in the server.
My Operating System is IBM AIX
Database is Oracle 10g
SAP BI7.0 through this I need to take backup.
Note:
1) First of all I gone to /oracle/<SID>/102_64/dbs/init<SID>.sap and I changed the settings backup_dev_type = disk
backup_root_dir = /home/db0/test/sateesh/DB0backup
stage_root_dir = /home/db0/test/sateesh/DB0backup
2) Then I gone to BRTOOLS I changed to disk there I scheduled Online backup
3) Then I came to SAP DB13 I want to take daily backup. But the backup is not going properly what to do any mistake I had done
Try to give the valuable solution to take Online backup
Similar Messages
-
WIll cancel sql server database backup cause anything to be hurt?
I run full backup of one big database. After 20 seconds, I click "stop action now" to cancel this backup. Will it cause anything to hurt? Want to make sure that database is still safe.
ThanksI run full backup of one big database. After 20 seconds, I click "stop action now" to cancel this backup. Will it cause anything to hurt? Want to make sure that database is still safe.
No it will not cause any issue to SQL server database.Backup request reads data from disk using separate thread you just killed the thread.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
How to import sql server database into oracle
Hi,
i have a backup of database(complete) from sql server, Is there any way to import that backup database into oracle environment.
Please let me know the process
Thanks
Naren$No. You cannot simply import binary data files from a 3rd party database directly into Oracle.
You can use bcp on SQL-Server to unload the data to CSV and then use Oracle's SQL*Loader to load it.
You can run a SQL-Server database instance and an Oracle database instance, and use a heterogeneous database link from Oracle (working via ODBC) to connect to SQL-Server - and use SQL statements to pull object definitions and data from SQL-Server into Oracle. -
How to convert sql server database to SQL Server Express LocalDB??
How do I convert sql server database 2008 to SQL Server Express LocalDB??
Thanks
AruHello,
Please read the following article:
http://msdn.microsoft.com/en-us/library/hh873188.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Hi Team ,
I have SQL Cluster 2012 server running with Couple of Critical data base instance . Each instance installed in different drive.
One of my application database is having mdf of size 1 Gb and ldf is 250 GB . Database is set to full recovery model.
Now I want to change recovery model to simple and want to shrink the los also. before than I want to take database backup.
I have 50 GB space left in drive .
i want to take full database backup on same drive .please let me know how much space i need on that drive to take full backup.
thanks
RaviThere are two options for you here
1. Take transaction log backup and try shrinking the log file but you might have to take multiple transaction log backups to actually shrink the log file
2. If you are switching from full recovery to simple you dont need to take full backup reason is switching from full to simple breaks log chain so its better to have Transaction log backup and like Praveen suggested if you take transaction log backup with
compression it likely it would fit in free space. But you have to try.
3. This you have to do on your own risk: (If backup of log in point 2 fails) I dont think changing from full recovery to simple would cause any
data loss. So you can switch to simple shrink logs switch back to full and schedule frequent log backups
Reason why log grew so much because you did not took sufficient transaction log backups. So create maintenance plan which would take frequent log backups also if you dont want point in time recovery for this database let it be in simple recovery
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
SQL Server Database backup and restore issue
Hi
I am trying to take a backup of the database and using restore to create its copy on the same server
Basically I am following this approach
http://stackoverflow.com/questions/3912221/ms-sql-2008-create-a-copy-of-the-database-without-the-data
Using the restore command is giving me the following error
RESTORE DATABASE [TargetDB]
FROM DISK = N'D:\backup.bak' WITH FILE = 1,
MOVE N'OriginalDB' TO N'D:\sql data\TargetDB.mdf',
MOVE N'OriginalDB' TO N'C:\SQL Data\TargetDB_1.ldf',
NOUNLOAD, STATS = 33
Logical file "ORIGINALDB" is not part of database "TARGETDB" . Use RESTOREFILELIST only to list
plz suggest as I checked the syntax is fine too as per
https://technet.microsoft.com/en-us/library/ms190447%28v=sql.105%29.aspx
I am using SQL Server 2012LogicalName cant be same for mdf and ldf. verify again with FILELISTONLY. Also you have put wrong logical name
MOVE N'OriginalDB' TO N'D:\sql data\TargetDB.mdf'
Please paste the output of
RESTORE FILELISTONLY FROM DISK = 'D:\backup.bak' -
Collecting SQL Server Database Details from 32bit Instances Result in Error
Hello,
I am working with a customer to use the MAP toolkit to collection and SQL Server Instance and Database Details in their environment. At present we are testing the MAP toolkit against one server that has seven instances installed on it. One instance
is 64bit and the others are 32bit. All instances get discovered; however, the database details are only collected for the 64bit instance. All of the other instances are marked as failed. We ran MAP again with the tracing turned on and the
only errors for the six instances that failed appear to be WMI namespace errors showing up repeatedly (see below). This is just one example, but these invalid namespace errors are all over the log.
How can we resolve these errors?
Does MAP support collecting database details from 32bit instances?
<2015-02-17 13:59:05.77
WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Trying to connect to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12' while impersonating
the user 'USERACCOUNT'.
<2015-02-17 13:59:05.77
WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Caught ManagementException connecting to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12'.
Exception: System.Management.ManagementException: Invalid namespace
| at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
| at System.Management.ManagementScope.InitializeGuts(Object o)
| at System.Management.ManagementScope.Initialize()
| at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.ConnectToNamespaceAccessTest(WmiCollectionState stateRec, WindowsIdentity identity, SavedImpersonationContext sic, String wmiNamespace)This issue was resolved by updating to Windows Management Framework 4.0 on the server.
-
HOW TO RUN SQL SERVER DATABASE AS ONLINE
hi friends
i have developed an application front end is vb.net and back end is sql 2005. now my customer has required to run application on remote server because he have 5 business locations. for example my customer has 5 business locations in different cities now
he want to access single database for all these location and want to store data on bridge server.how can i do this actually i have no idea to connect and run online database with desktop application.
please give me step by step instruction in detailStep by Step guide: http://www.codeproject.com/Questions/433687/sql-server-connectity-over-the-internet
-
How to Secure SQL SERVER 2012 Backup without using TDE or any thirdparty backup solution
Hi Experts
Actually I was using backup set password feature for MS SQL SERVER 2008 but it is dropped in new versions (2012 & 2014). Please suggest some options to making the backups secure without using TDE or any third party tools.Hi khalil_pak,
The WITH PASSWORD feature didn't really encrypt your backup. It just made it difficult for someone to accidentally restore the backup when they were not allowed to. And as other post, the password option is weak and could be broken easily.
The only true way to protect the data is to encrypt the data at the source by encrypting the database with
TDE. Or you can choose to use
cell-level encryption to encrypt sensitive data.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
That' sql server 2008.
ThanksHi,
As I understand, you're basically interesting in the situation where users are connected to the database and they are using the database at the time you change the database recovery mode. It is highly recommended not to change the recovery mode while users
are using the database, especially do not use any bulk operation!
1. I highly recommend to read this link:
View or Change the Recovery Model of a Database (SQL Server)
http://technet.microsoft.com/en-us/library/ms189272.aspx
2. as mentioned by all previews post there is several consideration that you should know regarding the database itself during the operation, as (1) logs are truncated, (2) process breaks the log chain, and loose point in time recovery.
[Personal Site] [Blog] [Facebook] -
Dear All,
we are planning to upgrade SQL Server 2008 R2 Enterprise edition to SQL Server 2014 Enterprise edition.
please suggest the limitations for the up gradation.
Thanks in Advance
Vineet Srivastava
NIIT Technology Ltd.
New Delhi , IndiaHello,
Please note that we have 2 Enterprise Editions now:
(1) Enterprise Edition with Server + Client Access License (CAL) and (2) the Enterprise Edition licensed by core. “Enterprise Edition with Server + Client Access License (CAL) based licensing (not available
for new agreements) is limited to a maximum of 20 cores per SQL Server instance. There are no limits under the Core-based Server Licensing model”. Source:
https://msdn.microsoft.com/en-us/library/ms143760(v=sql.120).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
We are able to take backup of our database into blob storage using dacpac services, but we need to encrypt the blob data. Please suggest the efficient way to do it.
Hello,
As per my understanding, Windows Azure Storage does not transparently encrypt data or provide any special encryption mechanisms. Azure Blob Storage protect the data by using a storage key to control access to all data in that Storage Account.
If you want to encrypt data of file inside Azure Blob Storage Services , you can refer to the following thread about same requirement:
http://social.msdn.microsoft.com/Forums/windowsazure/en-US/23465a1e-1fce-481a-b375-6e2434186ea6/encrypt-sql-azure-blob-data?forum=windowsazuredata#bf6c9921-176e-4c76-b976-3b94c795cd16
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013. The development environment is found below at [A]. I am trying to make a clone of a SQL Server 2008 R2
database (.mdf) that exists online. I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file. Somewhere in my notes I have a way of creating a local copy from
an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems). So I'm looking for another way. What I did was create
(or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
is the format it seems). It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
So my question is:
1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data? What tool do I use? I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx
and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio? I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
3) same question as 2), but for Visual Studio 2013? I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework. Using EF I can of course do anything I want with the online database
(CRUD), but it remains online. Maybe there's a switch to make a local copy? I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
Any advice on any of the above questions is appreciated.
Thank you,
Paul
[A] Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51641
Microsoft Web Developer Tools 2013 2.0.40926.0
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services ToolsThanks but these links are too general to help.
"2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of. I can access my database using SQL Server Authentication, but nothing more.
Paul
What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
May be this will help you to understand better
http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How can I get the data array from SQL Server Database?
Hi,
I can write a data array(2D)into a table of my SQL Server Database. The data array was writen to a column with image type. I know a data array is transformed a binary string when writing into database, but I dont know how to get the data array when I fetch the binary string from database.
My question is:
How to transform the binary string into data array? which vi's should I use? I have tried unflatten from string but failed.
Any response is appriciated.
Redhappyxh0518 wrote:
> I can write a data array(2D)into a table of my SQL Server Database.
> The data array was writen to a column with image type. I know a data
> array is transformed a binary string when writing into database, but I
> dont know how to get the data array when I fetch the binary string
> from database.
>
> My question is:
> How to transform the binary string into data array? which vi's should
> I use? I have tried unflatten from string but failed.
In order to use Unflatten from string you first need to Flatten it
before writing it. Also depending on the database driver, the returned
data may actually not be binary but Hexadecimal encoded ASCII which you
would first have to decode to binray.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
How to call procedure in Java from SQL Server Database
Hello Every Body
i Have Question about
How to call procedure in Java from SQL Server Database
ThanksHi,
have you tried a Google search? I just gave it a 3 second try and already found: http://stackoverflow.com/questions/6113674/how-do-i-execute-a-ms-sql-server-stored-procedure-in-java-jsp-returning-table-d
Frank
Maybe you are looking for
-
Hi all, I'm trying to write a report with multiple one-to-many table links. The issue is I only want a single record from the linked tables. The main table is an item table and the linked tables are issue and receipt. I want to display information
-
My iphone does not recognize saved contact number while having incoming calls due to country and area code as auto prefix. How do i fix the problem. How do i ensure that the phone recognize calls with and without the country and area code. Please tex
-
Hello All, I would like to do sorting on time peroid objects(year,quarter,month,week) i can do it at report level using Ascending ,descending,custom sort but i would like do it at universe level only . i tried like this: List of values>>Year>>edit>>h
-
Arrow keys up and down no longer working NOT caret browsing.
I'm running the Nightly 64-bit build on Windows 7. Two or three nights ago one of the updates came down the pipes and my arrow keys stopped working correctly. When typing in either a url or search if you try to scroll through it will only hit the top
-
Is it possible to import a clarisworks spreadsheet in to Numbers
I have an old Clarisworks spreadsheet that I created prior to upgrading to Mavericks. I would like to open it into the newest Numbers application if possible. I'd appreciate any suggestions as to how to do so. Thanks