Compressing Backup To Azure

Nov 10, 2014

I'm having problems backing up my databases to Azure blob storage with compression in that no matter what setting I try (i.e WITH COMPRESSION in T-SQL or enabling backup compression by default on the instance) the backup does not compress.

To test I tried the following:

I performed a backup of one of our smaller databases (that contains real data) without compression to disk - this came out at 13mb.
I performed the same backup (different media set) with compression enabled to disk - this came out at 458kb.
I performed the same backup to a blob in Azure without compression - this came out at 13mb.
I performed the same backup (different media set) to a blob in Azure with compression enabled - this came out at 13mb.

View 0 Replies


ADVERTISEMENT

SQL 2012 :: Backup Not Compressing

Jan 5, 2015

On a SQL 2012 Enterprise (SP2) instance, I have a database that is 12gb. The size of its backup file is 10gb. With compression I was expecting the backup size to be around 4gb. This database was migrated from SQL 2005 along with other databases that seem to be compressing ok. The instance is set to compression as the default. The database is not encrypted. It contains mainly character data. Compression is also specified in the maintenance plan. Have also trying running backup as a script. The instance is hosted on a virtual server (Windows Server 2012 R2).why this backup is not compressing?

View 9 Replies View Related

Compressing Backup Files In SQL 2005

Apr 3, 2008

Hello All,

I tried to backup my database in SQL Server 2005 (Express edition).

But the size of the backup file was the same as that of the database file.

Is there any means to compress and backup so that the size of the backup file is much smaller?

Regards,

Yuvanya

View 1 Replies View Related

Compressing Database

Aug 16, 2000

I have a SQL Server 6.5 sp5a database that is approximately 2.5 Gb in size. SQL Enterprise Manager indicates that I have (0) space available and only 58 Mb in data space available. After analyzing the database, there are tables that had many redundant rows of data in some cases 1.4 million records which could be deleted from certain tables. I have gone through the tables and removed all redundant or needless data and in doing so has caused those tables to be very fragmented. Using SHOWCONTIG on certain tables I was able to determine the amount of fragmentation. To correct the fragmentation problem on the tables I went through and dropped all non-clustered indexes and constraints (PK clustered index) and rebuilt them using SORT_DATA_REORG on the clustered Primary Key index. After rebuilding these tables I confirmed that the fragmentation had been corrected and the statistics indicated 100% on Scan Density.
However after defragmenting all tables within the database, the actual database size (or space consumed) has not changed. After deleting all of these records from the database, I should have alot more space available. I have tried "shrinking" the database but the size that it will allow me to shrink it to will not add much more than I currently have. My next thought was to create another "shell" database and then EXPORT the source database (data and all objects) into my "shell". My thinking was that by doing this, the transfer would compress the database into the new database "shell" and then I would probably have to shrink the "shell" database in order to recover data space. I would expect to see a much smaller "Shrink Size" that I could shrink the database down to since all information was transferred in a compressed format.
Here's my problem: Using the DTS Utilities I select my SOURCE Server/Source Database and the DESTINATION Server/Destination Database. The SOURCE and DESTINATION Servers are the same. I select to transfer all database objects, constraints,data. When I select to initiate the transfer routine, SQL Server reports an error stating that "SQL Server Error: SQL Server name format invalid". The name of my SQL Server is: FIRST-DB
Is SQL Server choking on the (-) in my server name?
This doesn't seem to be an issue in SQL Server 7.0. I can use the same naming convention in 7.0 and it works fine.
If or can I change the name of my SQL Server and if so, what repercussions could follow?

Any assistance with this would be greatly appreciated.
Thanks,
Brian McJilton

View 2 Replies View Related

COMPRESSING LARGE TABLES

Mar 19, 2001

Is it possible to compress the large tables in the database,

like COMPRESS, ARCHIVE options we use to reduce the size of files
stored on any operating system.

I know there is a difference between the file stored on disk and the table created in the database, but currently I am facing space problems wherein, I have to manage my database within the space available, so please advice me if the option is available in SQL Server 6.5 or 7.
I will be happy if I get the solution immediatly as currently I am facing this problem and waiting for your reply.
Thank you
Amol

View 1 Replies View Related

Azure-type Connectivity From Onsite Server?

Mar 4, 2014

I like most about SQL Azure is that my client apps can access it from anywhere. No tunneling, VPN, network conflicts, etc. If I can get to the internet, I can connect to my database (firewalls aside). The thing is, at my company, we don't really need or want all of the other features of SQL Azure (hosting, storage, backup, support, etc.). We have our own servers, storage, SQL Server licenses, web sites, etc.So what we'd really like is to be able to "publish" one of our databases to our website and then be able to access it from our ADO.net client applications, just like we do with SQL Azure.

To be clear, I am not talking about writing a bunch of custom WebServices or anything like that. I mean, being able to, say, take one of my Excel sheets that I have right now pulling data from one of our SQL Azure databases, and just changing the server address so that it can connect to one of the company's on-premise databases, while I am working from home or another site, but without me having to tunnel/VPN into the company network.

View 9 Replies View Related

Method For Compressing Varchar/nvarchar Columns?

Jul 20, 2005

I have an application with highly compressable strings (gzip encodingusually does somewhere between 20-50X reduction.) My base 350MBdatabase is mostly made up of these slowly (or even static) strings. Iwould like to compress these so that my disk I/O and memory footprintis greatly reduced.Some databases have the ability to provide a compressedtable, compressed column, or provide a user defined function tocompress an indvidual Field with a user defined function[ala. COMPRESS() and DECOMPRESS() ].I could right a UDF with an extended prodcedure if I need to but I'mwondering if there are any other known methods to do this in MS SQLServer 2000 today?--Frederick Staatsfrederick dot w dot staats at intel dot com (I hate junk mail :-)

View 6 Replies View Related

Query To Import Data From CSV To Azure Table

Sep 23, 2015

T-Sql query to import data from CSV to sql Azure table.

View 8 Replies View Related

Analysis :: Server Tabular And Power BI In Azure?

May 12, 2015

getting a complete Microsoft DW/BI (Tabular), Power BI and Office enviroment up running. I am a (Microsoft) DW/BI manager and want to learn about the latest Microsoft DW/BI (SQL Server Tabular) and Power BI (Power Pivot, Power View, ...). To save time & access from anywhere, I thought I could use Windows Azure but quickly got lost in the Azure preview and market place! I even contacted the Windows Azure team and that didn't clarify things.

So, how to get a SQL Server (2014) environment with all DW/BI (SSIS, SSAS, SSRS, Data Mining) technologies together with Power BI and Excel working? If so, how to get started.If this is not possible on Azure and it has to be done on Window, what do I need to install for the Power BI stuff (to work with Tabular)? I already have SQL Server 2014 and Office Pro Plus installed natively on my Windows machine.

View 6 Replies View Related

Integration Services :: Connecting To AZURE Storage Tables

Jan 25, 2011

I am trying to connect to AZURE Storage tables using SSIS.What is the Data flow source?Which Provider to select?

View 6 Replies View Related

SQL Server Admin 2014 :: Import Tables From Azure To Premise Database

Oct 26, 2015

We would like to import some tables from Microsoft azure data mart to our local database on the server of our premise for some purpose.

View 4 Replies View Related

DB Engine :: Time Testing Azure Point In Time Database Restores?

Sep 21, 2015

I need to do a time test for restoring an Azure SQL database from a point in time. Can I automate this through PowerShell.

View 3 Replies View Related

Compressing Multiple Rows With Null Values To One Row With Out Null Values After A Pivot Transform

Jan 25, 2008

I have a pivot transform that pivots a batch type. After the pivot, each batch type has its own row with null values for the other batch types that were pivoted. I want to group two fields and max() the remaining batch types so that the multiple rows are displayed on one row. I tried using the aggregate transform, but since the batch type field is a string, the max() function fails in the package. Is there another transform or can I use the aggragate transform another way so that the max() will work on a string?

-- Ryan

View 7 Replies View Related

BACKUP LOG Cannot Be Performed Because There Is No Current Database Backup. BACKUP LOG Is Terminating Abnormally.

Jan 31, 2008



Hi there

I'm getting this message on my third automated backup of the transaction logs of the day. Both databases are in full recovery mode, both successfully backed up at 01.00. The transaction logs backed up perfectly happily at 01:30 and 05:30, but failed at 09:30.

The only difference between 05:30 and 09:30's backups is that the log files were shrunk at 08:15 (the databases in question are the ones that sit under ILM2007, and keeping the log files small keeps the system running better).


Is it possible that shrinking the log files causes the database to think that there hasn't been a full database backup?

Thanks

Jane

View 3 Replies View Related

SQL 2012 :: Error (backup Failed To Complete The Command BACKUP LOG) In Event Viewer

Aug 23, 2013

On the SQL Server the Event Viewer shows the same messages and errors every evening between 22:05:00 and 22:08:00. The following information messages are shown for every database:

"I/O is frozen on database <database name>. No user action is required. However, if I/O is not resumed promptly, you could cancel the backup."

"I/O was resumed on database <database name>. No user action is required."

"Database backed up. Database: <database name>, creation date(time): 2003/04/08(09:13:36), pages dumped: 306, first LSN: 44:148:37, last LSN: 44:165:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'{A79410F7-4AC5-47CE-9E9B-F91660F1072B}4'}). This is an informational message only. No user action is required."

After the 3 messages the following error message is shown for every database:

"BACKUP failed to complete the command BACKUP LOG <database name>. Check the backup application log for detailed messages."

I have added a Maintenance Plan but these jobs run after 02:00:00 at night.

Where can I find the command or setup which will backup all databases and log files at 22:00:00 in the evening?

View 9 Replies View Related

SQL Server 2008 :: Backup Running Long And Backup Threads Show Suspended

Feb 18, 2015

SQL Server 2008 r2 - 6 GB memory...I attempted a backup on a 500GB database but it was taking way too long. I checked the resources on the box and saw the CPU at 100%. I checked the SQL Server activity log and saw a hung query (user was not even logged on) that had multiple threads so I killed it and now the CPU utilization is back to normal.

Trouble is, now all of the threads in the activity monitor for the backup show 'suspended' and the backup appears to be not doing anything.

View 3 Replies View Related

Backup Failed (Error 3041) While Try To Issue A BACKUP Statement In Local

Feb 9, 2004

Hi,

I use the Transact-SQL BACKUP statement in Visual Basic to backup my local MSSQL Database. It give me this error

Error 3041

BACKUP failed to complete the command BACKUP DATABASE [BCFPC] to BCFPCBKP

I already created a backup device called BCFPCBKP and it is backup to the disk.

I tried to run the same BACKUP statement in SQL Query Analyzer and it worked fine. I tried to run my VB application in another PC. It worked fine when i use this command remotely. Can anyone tell me what's the problem?

Thanks in advance

regards,
M.Y. Yap

View 2 Replies View Related

SQL 2012 :: Backup Cleanup Of Differential And Log Backups Based On Full Backup?

Feb 19, 2015

Using Ola Hallengren's scripts I do a full backup of a database on a Sunday. Then differential backups every 6 hours and log backups every hour. I would like to keep a full week of backups based off the full backup done on Sunday. Is there a way for me to clear out the diff and log folders after the successful full backup on Sunday nights?

View 2 Replies View Related

SQL Server Admin 2014 :: Restore DB With Full Backup And Transactional Log Backup

Aug 3, 2015

Need to restore database,here's the scenario:

Data got deleted on Friday evening, need to have database restored to FRiday afternoon and also some data has been entered on Monday, which needs to be there.

View 8 Replies View Related

Can Windows 2003 Server Backup Utility Be Used To Backup A SQL 2000 Dbase

Dec 28, 2007

Windows 2003 backup utility uses the shadow copy option that allows it to copy open files.
Therefore, can I use this utility to backup the .mdf and .ldf files for my SQL 2000 database?
I can then attach the .mdf files if I need to restore the database to another server.
Can anyone tell me if this is safe? I've tried it and it worked but I'm worried there maybe some lurking danger in using this approach.

View 4 Replies View Related

SQL Security :: Full Backup Needed After Restoration Of Database Before Transaction Log Backup

Jul 15, 2015

We take a full backup in the early morning and hourly transaction log back during the working hours for one database in the production server. The application team made certain changes to the design of the said database in their development server. The backup from the development server was restored to the production server during working hours. After the restoration should we take a full backup before next transactional logbackup? Would the transactional log backup with out a full backup after the restoration of a database be valid?

View 5 Replies View Related

SQL Server 2008 :: Count Number Of Backup Files Deleted From A Default Backup Location

Mar 13, 2015

I've written a custom script to delete backup files from location. But unable to modify now to count the number of files are deleted. How to modify the script...

/* Script to delete older than N days backup from a specific directory */

USE [db_admin]
GO
IF OBJECT_ID('usp_DeleteBackup', 'P') IS NOT NULL
DROP PROC usp_DeleteBackup
GO

[Code] .....

View 2 Replies View Related

Backup Failed: System.Data.SqlClient.SqlError: Backup And File Manipulation... Must Be Serialized

Jul 11, 2007

Using SQL Server 2005 Server Management Studio, I attempted to back up a database, and received this error:

Backup failed: System.Data.SqlClient.SqlError: Backup and file manipulation operations (such as ALTER DATABASE ADD FILE) on a database must be serialized. Reissue the satement after the current backup or file manipulation is completed (Microsoft.SqlServer.Smo)



Program location:

at Microsoft.SqlServer.Management.Smo.Backup.SqlBackup(Server srv)
at Microsoft.SqlServer.Management.SqlManagerUI.BackupPropOptions.OnRunNow(Object sender)



Backup Options were set to:

Back up to the existing media set

Overwrite all existing backup sets



I am fairly new to SQL 2005. Can someone help me get past this issue? What other information do I need to provide?

View 11 Replies View Related

SQL 2012 :: Schedule Backup / Copy Backup And Rename To Other Folder

Dec 29, 2014

I'm looking to schedule a maintenance plan for my databases which I have done.I'd like this database to be copied to another folder and the name altered to include the file name and the current date time stamp.Is this possible in the scheduled maintenance plan?

View 4 Replies View Related

Difference Between Partial Backup (SQL 2005) And File Group Backup

Dec 5, 2006

What is the difference between "Files aned File Groups" backup and Partial Backup?

Looks like both are same.. Please comment.

View 3 Replies View Related

Recovery :: Differential Backup Much Larger Than Database / Full Backup

Nov 16, 2015

I have a database that is just over 1.5GB and the Full backup that is 13GB not sure how this is since we have compression on for full backups and my other full backups are much smaller than there respective databases...Now my full backup is taken every Sunday night and the differentials are taken every 6 hours after the full backup. Now I have been thrown into this DBA role with little to no experience just what I have picked up and read. So my understanding of backups are limited but what I think I understand is that we take a full backup and the differential only captures what changes in the database so my question is why is my database 1.5GB but my differential is 15.4GB? I have others database that are on the same instance and don't seem to have this problem. I also just noticed that we do not rebuild the index before a full backup like we do on other instances...

View 13 Replies View Related

Newbie Question Regarding Backup Device And Backup Foile

May 10, 2001

This is probably a simple question but I have to ask it anyway. When backing up I can backup to a file on my local drive but I also can create a device to the same location on my local drive. Is this doing the same thing. If I so desire to backup to the local drive(bear with me) what is the difference between creating a device and a file called mybackup or just choosing to backup to a file called mybackup? Should I always create a device? I know these are dumb question but....

Jason

View 1 Replies View Related

How To Get The Backup History Details From A Backup Device?URGENT!!

Dec 7, 2001

How do we know the list of all the backups that are present in a particualr backup device like file# and time of backup taken etc for the purose of restore?

When I run :
RESTORE HEADERONLY FROM BackupDeviceName

it doesn't give that info. Can anyone tell me the exact command to list all the files of a backup device so that I can restore the right one??
Thanks.
Shalini.

View 2 Replies View Related

Does A Full Backup Include Data Changes Made During The Backup?

Nov 29, 2007

If my backup starts at 8PM and take 1 hour to complete, will the changes made to the database during that hour be captured in the full backup?

Stated another way, will my backup be a snapshot of:
a) 8PM when the backup started
b) 8PM with some of the changes made between the hour
c) 9PM when the backup finished?

Anybody know the exact way SQL Server handles that logic?

Thanks,

Marc

View 2 Replies View Related

Differential Backup Fails Because Of Erroneous Full Backup

Jul 19, 2007

Hi

I am using the Simple recovery model and I'm taking a weekly full backup each Monday morning with differentials taken every 4 hours during the day.

On Wednesday afternoon, a programmer ran a process that corrupted the db and I had to restore to the most recent differential. It was 5pm in the afternoon and a differential backup had just occured at 4pm. No problem, I figured.

I restored the full backup from Monday morning and tried to restore the most recent differential backup. The differential restore failed. Since I had used T-SQL for the initial attempt, I tried using Enterprise Manager to try again.

When viewing the backup history, I see my initial full backup taken on Monday plus all the differentials. BUT, on closer inspection, I noticed another full backup in the backup history that was taken early Tuesday morning. I can't figure out where this Tuesday morning full backup came from. It wasn't taken by me (or scheduled by me) and I'm the only one with access to the server. My full backups are usually named something like HCMPRP_20070718_FULL.bak. This erroneous full backup was named something like HCMPRP_03a_361adk2k_dd53.bak. It seemed like it was a system generated name. Not something I would choose. To top it off, I could not find this backup file anywhere on the server and when I tried to restore using this full backup, it failed.

Does anyone have any clues as to where this full backup might come from? Does SQL Server trigger a full backup on its own if some threshold is reached?

I ended up having to restore using the differential taken just before this erroneous full backup and lost a day of transactions.

Any insight is greatly appreciated.

View 3 Replies View Related

How SQL SERVER 2005 Backup &&amp; ArcServe Backup Coexist ??

Apr 15, 2008

I have only one tape drive.
My server is using the SQL server 2005 backup tool and arcserve backup tool to backup different files .

Everytime I need to disable and enable the tape device driver (in device manager /windows) before I can use SQL server 2005 backup tool.

Everytime I need to disable and enable the tape device driver (in device manager /windows) before I can use arcserve backup tool.

It seems that the tape device resource is held by softwares even the tape drive is not in use.

What should I do to make the tape drive shared by different softwares?


Regards,
Manuel

View 2 Replies View Related

DB Engine :: Compressed Backup While Restoring Backup File

Sep 8, 2015

I got full backup on daily schedule its taking more space on Drive because each file has more than 25GB.I am using SLQ server 2008R2 so I'm looking to take the backup with compression instead of uncompressed Backup. What are the impacts of compressed backup. Is there any problems with compressed backup while restoring the backup file.

View 8 Replies View Related

Backup Failed To Complete The Command Backup Database

Aug 4, 2007

Backup failed to complete the command backup database [ ] TO VIRTUAL DEVICE = ' { 853D3FC0 - 45EA -85B1 - 54F0EA379CAC } 24 ' WITH SNAPSHOT , BUFFERCOUNT = 1 , BLOCKSIZE = 1024

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved