Quantcast
Channel: Red Gate forums: SQL Backup 7
Viewing all 713 articles
Browse latest View live

Small jaw crusher sells successfully in Indonesia

$
0
0
In order to progress in the development of production technology industry , machinery industry production technology is constantly engaged in technological innovation and development . Crusher in national economic development has a very important role in many mechanical devices can be called a "number one " in the development of all walks of life with a wide range of applications . Environmental protection crusher equipment has become a worldwide crushing equipment, Henan Daswell produced small jaw crusher fully equipped , the daily output of up to 30-400 tons, loved and trust by the users .

Henan Daswell Machinery is a professional manufacturer of mining machine for almost 30 years in China. We are dedicated to supplying our customers with best service and products, our major products include:grinding machine,If you are interested in our products, please contact us freely: sales@daswell.com

Jaw crusher has the following features:1 , the whole structure and the materials excellent , ensuring long life and easy maintenance. 2 small crusher, crusher crushing cavity is the main technical indicators. 3, it has has a flexible , compact structure and promote large output notable features. 4, for a wide range of machine made of stainless steel , can meet the multi- industry standards, crushing chamber equipped with water-cooled jacket , suit most heat-sensitive materials crushing requirements.Jaw crusher

Henan Daswell builds crusher , small jaw crusher , sand making machine , small jaw crusher which was wide used , energy efficient, exported to South Africa , the Middle East and other regions, the majority of customers of all ages. We accelerate technological innovation , improve industrial concentration , accelerate the transformation of development mode .

--- Article Removed ---

$
0
0
***
***
*** RSSing Note: Article removed by member request. ***
***

Backup and restore db from SQL 2012 to SQL 2008

$
0
0
Hi,
Can RedGate Backup restore a SQL 2012 Backup db onto SQL 2008?
We have a need of set up transactional replication via backup and restore for SQL 2012 database to SQL 2008 and currently MS backup does not support restore db onto lower version of SQL.
Thanks

RE: Need to restore Multiple Databases on the same SQL Instance

$
0
0
Now I get this error
Syntax error: '\\kprod-nas03\sqlbackups\FULL_DB009_superbill_2039_prod_20140321_112322_encr.sqb''' after ''


-SQL "RESTORE DATABASE superbill_2039_prod FROM DISK = ''\\kprod-nas03\sqlbackups\FULL_DB009_superbill_2039_prod_20140321_112322_encr.sqb'' WITH PASSWORD=''fjfelejl'' SOURCE = '' + @DatabaseName + '', MOVE DATAFILES TO ''D:\SQLData'' , MOVE LOGFILES TO ''D:\SQLLogs'' ,
MAILTO = ''pam.ozer@kareo.com'', RECOVERY,
CHECKDB = 'ALL_ERRORMSGS, DATA_PURITY, EXTENDED_LOGICAL_CHECKS'

Thanks for helping me with this. I'm at my wits end with this ConfusedConfused

RE: Need to restore Multiple Databases on the same SQL Instance

$
0
0
Try

SET @sql = '-SQL "RESTORE DATABASE ' + @databasename + ' FROM DISK = ''''\\kprod-nas03\sqlbackups\' + @sitename + ''''' WITH PASSWORD=''''fjfelejl'''' SOURCE = ''''' + @DatabaseName + ''''', MOVE DATAFILES TO ''''D:\SQLData'''' , MOVE LOGFILES TO ''''D:\SQLLogs'''' ,
MAILTO = ''''pam.ozer@kareo.com'''', RECOVERY,
CHECKDB = ''ALL_ERRORMSGS, DATA_PURITY, EXTENDED_LOGICAL_CHECKS'''

RE: Backup and restore db from SQL 2012 to SQL 2008

$
0
0
Quote:
Can RedGate Backup restore a SQL 2012 Backup db onto SQL 2008?

No it can't.

Multiple COPYTO with different delete timeframes

$
0
0
I'm looking to do something like this:

Daily backups held for 14 days
BiMonthly backups held for 6 months
Yearly backups held for 4 years

DECLARE @exitcode int
DECLARE @sqlerrorcode int
Declare @backupCMD varchar(4000) = ''
,@biMonthly varchar(500) = ''
,@yearly varchar(500) = ''

Select @biMonthly = case when datepart(day, getdate()) in (1,15) then ', COPYTO = ''Link NAS'', ERASEFILES = 190, FILEOPTIONS = 5' else '' end
,@yearly = case when DATEPART(dayofyear, getdate()) = 1 then ', COPYTO = ''LINK NAS'', ERASEFILES = 1825, FILEOPTIONS = 5' else '' end

set @backupCMD = '-SQL "BACKUP DATABASE [MyDB] TO DISK = ''L:\Backup\<AUTO>.sqb'' WITH ERASEFILES_ATSTART = 7' +
', FILEOPTIONS = 4, CHECKSUM, DISKRETRYINTERVAL = 30, DISKRETRYCOUNT = 10, COMPRESSION = 4' +
', COPYTO = ''\\SERVER\SQLBACKUP\'', ERASEFILES = 14, FILEOPTIONS = 5' +
@biMonthly +
@yearly +
', INIT, THREADCOUNT = 23"'

Select @backupCMD

EXECUTE master..sqlbackup @backupCMD, @exitcode OUT, @sqlerrorcode OUT
IF (@exitcode >= 500) OR (@sqlerrorcode <> 0)
BEGIN
RAISERROR ('SQL Backup failed with exit code: %d SQL error code: %d', 16, 1, @exitcode, @sqlerrorcode)
END

Is this supported? Should I approach this by a differnt means?

Issue with SQL Backup Pro jobs not honouring delete switch

$
0
0
In an environment using SQL Backup Pro 7.6.0.26 to perform backups over 30+ instances and 180+ DBs. We have been using the product for almost 2 years now (various versions) and have not had any issues we were not able to resolve.

This one has me stumped though.

Nothing has changed in the setup of any of the jobs however in the last two weeks, ALL of the jobs have not been honouring the ERASFILES command. A sample of the one of the jobs is as below - all of them use the same command - ERASEFILES = xx


EXECUTE master..sqlbackup '-SQL "BACKUP LOGS [xxxxxx] TO DISK = ''xxxxx\<AUTO>.sqb''
WITH ERASEFILES = 5,
MAILTO_ONERROR = ''xxxxxxxxx.com'',
PASSWORD = ''<ENCRYPTEDPASSWORD></ENCRYPTEDPASSWORD>'',
CHECKSUM, DISKRETRYINTERVAL = 30, DISKRETRYCOUNT = 10, COMPRESSION = 4, KEYSIZE = 256, THREADCOUNT = 4"'

The issue is that despite having this flag set and despite the jobs completing successfully (ie. the correct new back file being created), not all of the files that ought to meet the criteria for deletion are being removed.

A sample (with confidential details redacted) for one of the jobs shown in the example above :


SQL Backup log file 7.6.0.29

----------------------- PROCESSES COMPLETED SUCCESSFULLY --------------------

14/04/2014 7:30:00 AM: Backing up xxxxx (transaction log) on xxxxx instance to:
14/04/2014 7:30:00 AM: xxxxxxx.sqb

14/04/2014 7:30:00 AM: BACKUP LOG [xxxx] TO VIRTUAL_DEVICE = 'SQLBACKUP_2D00135A-E6AE-4EFD-9389-25EA23D8C06F', VIRTUAL_DEVICE = 'SQLBACKUP_2D00135A-E6AE-4EFD-9389-25EA23D8C06F01', VIRTUAL_DEVICE = 'SQLBACKUP_2D00135A-E6AE-4EFD-9389-25EA23D8C06F02',
VIRTUAL_DEVICE = 'SQLBACKUP_2D00135A-E6AE-4EFD-9389-25EA23D8C06F03' WITH BUFFERCOUNT = 24, BLOCKSIZE = 65536, MAXTRANSFERSIZE = 1048576, NAME = N'Database (xxxxx), 14/04/2014 7:30:00 AM', DESCRIPTION = N'Backup on 14/04/2014 7:30:00 AM Server:
xxxxxx Database: xxxxxx', FORMAT, CHECKSUM

14/04/2014 7:30:00 AM: Backup data size : 2.500 MB
14/04/2014 7:30:00 AM: Compressed data size: 20.000 KB
14/04/2014 7:30:00 AM: Compression rate : 99.22%

14/04/2014 7:30:00 AM: Processed 0 pages for database 'xxxxxx', file 'xxxxxx' on file 1.
14/04/2014 7:30:00 AM: BACKUP LOG successfully processed 0 pages in 0.193 seconds (0.000 MB/sec).
--------------------------------------------------------------------------------
14/04/2014 7:30:04 AM: Deleting old backup file: xxxxxx.sqb
14/04/2014 7:30:04 AM: Deleting old backup file: xxxxxx.sqb

14/04/2014 7:35:16 AM: SQL Backup process ended.

14/04/2014 7:35:16 AM: Deleted msdb entries older than 16/10/2013 7:35:16 AM
14/04/2014 7:35:16 AM: Deleted local history entries older than 16/10/2013 7:35:16 AM


So you will note that is has removed some old files. However, if I look in the folder that holds these log backups, I can see that it has not removed all of the files that ought to have been removed. The circled files are a sample of those that should have been deleted.




So there is not a permissions issues - the account running the job is both able to create and delete files, no errors are appearing in log file for the jobs, and yet still, files are not being deleted.

This is causing us headaches for capacity management as we are being constantly pinged with various LUNs going over their thresholds and in some cases (where the backup files are very large) running out of space. With this many SQL instances and databases this is not something that any one of us on my team have bandwidth to be able to look at each day manually.


Can someone please help to explain why this is happening and let me know if any extra information that might help to identify what is going on here ?

RE: Email when restore process fails

$
0
0
Use the MAILTO_ONERROR option e.g.

Code:
EXEC master..sqlbackup '-sql "RESTORE DATABASE ... WITH MAILTO_ONERROR = [dba@myco.com]"'

You will need to first set up your email server settings in the GUI. Then run a test, from within the GUI, and from an extended stored procedure e.g.

Code:
EXEC master..sqlbackup '-sql "BACKUP DATABASE model TO DISK = [<AUTO>] WITH MAILTO = [dba@myco.com]"'

RE: Log Shipping - Other source

$
0
0
Thank you for your forum post.

I assume TSM stands for Tivoli Storage Manager and not Taiwan Semiconductor Manufacturing.

SQL Backup has its own file format for the backup files it creates, therefore will only restore backup files created using SQL Backup.

The choice is yours, insist to your hosting company that they use SQL Backup to backup you source log shipping database or databases. Or switch to using TSM or native SQL Server backups files for your log shipping solution.

Many Thanks
Eddie

RE: Log Shipping - Other source

$
0
0
Yes your assumption is correct, when talking backup software and TSM you can almost always assume that it is Tivoli.
Not to be confused with TSMC (Taiwan Semiconductor Manufacturing) that have absolutley nothing to do with backup software.

The choice made was to go with database mirroring and snapshots so that we do not have to mess with backup/restore SLA's and resonsibilities.

Thanks for your reply.
Rade

For Log Shipping, what's the shortest time schedule?

$
0
0
Hi,

When scheduling Log Shipping, what's the shortest amount of time it can be scheduled?

I'm looking for 1 to 5 minutes. Is this doable?

Thanks.

Tim

Backward compatibility

$
0
0
Can SQL Backup 7 help with restoring a backup from SQL2012 to SQL2008/2005?

RE: Backward compatibility

$
0
0
No. SQL Backup only takes the backup data as provided by SQL Server and compresses/encrypts it during a backup before writing it to disk. During a restore, SQL Backup uncompresses/decrypts the data and passes the backup data to SQL Server. Thus, all limitations on backwards compatibility remain.

RE: For Log Shipping, what's the shortest time schedule?

$
0
0
You can certainly do that, depending on your hardware capabilities. You might also want to consider replication and AlwaysOn availability groups if you need near real-time duplication.

SQL Backup Hangs

$
0
0
We have several SQL Backup jobs, to back up our databases both full and differentials, as well as transaction logs. Several times, the jobs have hung. When this happens, the SQL Backup GUI does not show the job active, but SQL Agent does and there is a SQL process. The only way I have found to end the job is to restart the SQL Agent service. The only way I have found to end the process is to restart the SQL Service. Has anyone seen this issue before? Any ideas on how to fix it?

RE: SQL Backup Hangs

$
0
0
When SQL Backup encounters a critical error, it generates a stack trace of events leading up to the error. This stack trace is then stored in a file named SQBCoreService_<instance name>_bugreport.txt, and is located in 'C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Log\' on Windows 2003 and older, and 'C:\ProgramData\Red Gate\SQL Backup\Log\' on Windows Vista and newer.

Could you please check if that file exists on your system? If it does, could you please send it to me (peter.yeoh@red-gate.com)? If the file does not exist, it may be because the SQL Backup Agent service startup account does not have rights to create the file in that folder. You can test this by manually creating the stack trace file by running the following command from Query Analyzer/Management Studio when connected to the SQL Server instance:

EXEC master..sqbutility 9997

If the file is not created, try granting read/write permissions on the abovementioned folder to the SQL Backup Agent service startup account.

restore database status still in progress after failure

$
0
0
after a failed restore, I can see status of the restore of the database to be still active in the "In Progress" tab.

How do I remove this status?

I'm using SQL Backup 7.6.0.26 on a 2008 R2 database.
[/img]

Restore Error

$
0
0
Hi,

I'm trying to estore from production to Dev environment i get the following error.

----------------------------Error Start------------------------------------

Restoring full backup - Failed
------------------------------

This operation failed with errors.

Restoring CRM (database) from:
C:\Mydblocationo\FULL_(local)_CRM_20140508_094339.sqb
Thread 0 error:
Failed to service command. Error code: -2139684860
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
Thread 1 error:
Failed to service command. Error code: -2139684860
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
Thread 2 error:
Data decompression error: ZLib decompression error: buffer error
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
SQL error 3013: SQL error 3013: RESTORE DATABASE is terminating abnormally.
SQL error 3241: SQL error 3241: The media family on device 'SQLBACKUP_4385AEBF-2808-4045-9CEE-D837716BD52202' is incorrectly formed. SQL Server cannot process this media family.
SQL error 3203: SQL error 3203: Read on "SQLBACKUP_4385AEBF-2808-4045-9CEE-D837716BD522" failed: 995(The I/O operation has been aborted because of either a thread exit or an application request.)
SQL Backup exit code: 790
SQL error code: 3203



Updating SQL Server information - Pending
-----------------------------------------

Operation pending.


----------------------Error End----------------------------
Version - 7.6.0.26

I've tried both application and converter no dice..

Thank you

Can I setup multiple databases for log shipping at one time?

$
0
0
For SQL Servers with many databases (20+), is there a way to quickly setup multiple databases for log shipping at one time where they would all share the same settings (except destination database, of course) rather than having to do this one database at a time?

Thanks!
Viewing all 713 articles
Browse latest View live




Latest Images