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

Persist splitter position between database/schedule panels

0
0
Am I the only one with this problem?

Currently, every time you open the SQL Backup screen, the database names on the left are truncated and ellipses are added to the truncated name. This is confusing when names start with the same text. I would like to see the position of the splitter that is between the database names panel and the schedule panel saved and restored when the program is next opened.

If you like the idea, maybe you could vote for it at:
http://sqlbackup.uservoice.com/forums/91737-sql-backup-/suggestions/3510259-save-splitter-position-between-database-names-pane

odd behaviour with network CopyTo function

0
0
Hi all.
anyone come across this before?
running SQL Backup 7.2.1.4 on a Windows 2008 R2 server.
doing a differential backup, every hour.
part of the process copies the backups to a network share, on a Buffalo Terastation also running W2008R2.
at 0900 (and earlier) it works, saying:
03/01/2013 09:00:01: Copied H:\SQLBackup\Differential\DIFF_(local)_model_20130103_090000.sqb to \\crdbackup2\crdecms3\differential\DIFF_(local)_model_20130103_090000.sqb

at 1000, it gives a warning saying it can't create a folder:
Warning 141: COPYTO error: Unable to copy H:\SQLBackup\Differential\DIFF_(local)_model_20130103_100000.sqb to \\crdbackup2\crdecms3\differential\DIFF_(local)_model_20130103_100000.sqb ().
03/01/2013 10:05:31: COPYTO error: Failed to create folder: \\crdbackup2\crdecms3\differential
there is a quota on the share folder, of 100Gb, of which 2.18Gb is used.

i'm stumped.

John

RE: odd behaviour with network CopyTo function

0
0
It looks like SQL Backup could not find the folder, and attempted to create the folder. Note that it attempted to do this 10 times, at 30 second intervals. Is it possible that the network share was unreachable during that time?

RE: odd behaviour with network CopyTo function

0
0
Hi Pete
no, the backup share was there all the time.
what's really confusing me is that it WAS working and then stopped.
and, in fact, the copy has continued not working every hour since.
pretty sure it's some permissions issue, but machine a (where the share is) will not recognise local accounts on machine b (where the database and backup is) despite them being on the same domain.
John

RE: odd behaviour with network CopyTo function

0
0
Do you get a similar error if you try to back up directly to the network share e.g.

Code:
EXEC master..sqlbackup '-sql "BACKUP DATABASE model TO DISK = [\\crdbackup2\crdecms3\differential\<AUTO>] WITH DIFFERENTIAL, DISKRETRYCOUNT = 0"'

RE: odd behaviour with network CopyTo function

0
0
Hi Pete

get
Backing up model (differential database) to:
\\crdbackup2\crdecms3\differential\DIFF_(local)_model_20130104_170256.sqb

Thread 0 error:
Error 605: Error creating backup file(s). No files could be created.
Warning 200: Thread 0 warning:
04/01/2013 17:02:56: Warning 480: Failed to create output folder: \\crdbackup2\crdecms3\differential\.
Warning 480: Failed to create output folder: \\crdbackup2\crdecms3\differential\.

SQL error 3013: SQL error 3013: BACKUP DATABASE is terminating abnormally.
SQL error 3271: SQL error 3271: A nonrecoverable I/O error occurred on file "SQLBACKUP_CC61755A-3E31-442E-8050-7015028E1BE3:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).
SQL error 3202: SQL error 3202: Write on "SQLBACKUP_CC61755A-3E31-442E-8050-7015028E1BE3" 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: 3202

John

Failed Restore - Failed to disconnect existing connections

0
0
Hello,

A restore last night failed with an error message that contained the following information,

"Failed to disconnect existing connections to database."

This is the first of this failure I have seen. I am using the "DISCONNECT_EXISTING" command and from what I can tell there was no connection to that specific database at the time the restore ran. Subsequent restores of different databases worked fine after this restore failed. Any ideas?


Thanks,

J

RE: odd behaviour with network CopyTo function

0
0
What is the result that's returned if you run the following from SSMS:

Code:
EXEC master..sqbutility 999, 'RWE', '\\crdbackup2\crdecms3\differential\'

This command tests for read, write and deletion rights on the network share.

RE: Failed Restore - Failed to disconnect existing connections

0
0
Could you please post the contents of the SQL Backup log for the restore process that failed?

The default folder where the logs are stored is C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Log\<instance name> on Windows 2003 and older, and C:\ProgramData\Red Gate\SQL Backup\Log\<instance name> on Windows Vista and newer.

RE: odd behaviour with network CopyTo function

0
0
Hi Pete

result
<SQBUTILITYRESULT>:0:Folder does not exist : \\crdbackup2\crdecms3\differential
although the folder does exist and can be seen through network share

John

RE: odd behaviour with network CopyTo function

0
0
Hi Pete
have restarted SQl Backup service using account which occurs on both database server and backup filestore server (which wasn't the case before) and the network copy function now works as I want it to.
**!!$$%% permissions!
thanks for your time.
John

RE: Failed Restore - Failed to disconnect existing connections

0
0
I took care of that issue but maybe you can look at this one? Another failure, different DB (failed after 20 seconds), this restore does have kill connections enabled and it looks like this was set up with another script that runs prior to the restore that also kills connections,


----------------------------- ERRORS AND WARNINGS -----------------------------


1/5/2013 10:00:01 PM: Restoring XXXX_XXXX (database) from:
1/5/2013 10:00:01 PM: \\XXXX\XXXX.sqb

1/5/2013 10:00:05 PM: ALTER DATABASE [XXXX] SET ONLINE RESTORE DATABASE [XXXX] FROM VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX', VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX',
VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX', VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX', VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX', VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX', VIRTUAL_DEVICE = 'SQLBACKUP_XXXXX' WITH BUFFERCOUNT = 28, BLOCKSIZE = 65536, MAXTRANSFERSIZE = 1048576 , RECOVERY, MOVE 'XXXXX' TO 'D:\XXXXX\XXXXX', MOVE 'XXXXX_log' TO
'D:\XXXXX_log', REPLACE

1/5/2013 10:00:38 PM: Thread 0 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 1 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 2 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 3 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 4 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 5 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:38 PM: Thread 6 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
1/5/2013 10:00:38 PM:
1/5/2013 10:00:39 PM: SQL error 3013: SQL error 3013: RESTORE DATABASE is terminating abnormally.
1/5/2013 10:00:39 PM: SQL error 3101: SQL error 3101: Exclusive access could not be obtained because the database is in use.

RE: Failed Restore - Failed to disconnect existing connections

0
0
JoshDBGuy,

We have used SQLBackup for a number of years but don't use the DISCONNECT_EXISTING because it might take longer than 20 seconds to rollbackup any active transactions. We try an ALTER DATABASE xxxx SET SINGLE_USER with ROLLBACK IMMEDIATE and wait for this to finish. Most servers now run with multiple CPU's but rollback is single threaded. So if you try and rollback a transaction that has run for 5 minutes on say 4 CPU's in parallel it could take 20 minutes to rollback.

My 2 cents

Chris

RE: Failed Restore - Failed to disconnect existing connections

0
0
Actually just had this problem happen. My alter database set single_user had not finished in over 6 minutes so I cancelled it and tried it again. I am not sure what was holding the database but it can take time under some circumstances.

Chris

RE: Limit on number of databases per Instance

0
0
hi. i like it thanks for sharing this site.this is very informative post .

130 error (access is denied.)

0
0
Hi all,

Thank you in advance.

I am in the process of moving all native SQL logshipping to backuppro and at the very first attempted I am getting warning error 130 <sharefolder> (access is denied.) during the restore. The restore is successful just the moveto is failing. I can manually move the files to the proccessed folder with the same windows login.
The share folder is not the same as the processed folder. See below.

Any ideas why the files are not moving?


Code:
EXECUTE master..sqlbackup '-SQL "RESTORE LOG [AutoCheckIntegration]
FROM DISK = ''\\sql-host\logshipping\autocheck\LOG_AutoCheckIntegration_V5_*.sqb''
 WITH STANDBY = ''G:\MSSQL\Backups\UNDO_AutoCheckIntegration.dat'',
  DISCONNECT_EXISTING, moveto = ''G:\MSSQL\Backups\''"', @errorcode OUT, @sqlerrorcode OUT;

RE: 130 error (access is denied.)

0
0
Does the SQL Backup Agent service startup account have rights to write to the G:\MSSQL\Backups folder?

RE: Failed Restore - Failed to disconnect existing connections

0
0
I'm guessing I might just have to accept this as a possible issue with restores?

RE: 130 error (access is denied.)

0
0
Thank Petey.
Right on the money. The backup agent was using the local system account once changed the warnings disappeared.

Network Copy to Multiple locations

0
0
Hello
I am using SQL back up 7 to do our backups, part of that is we use the copy to network location functionality. Is it possible to copy the backup to more than one location within the same backup task ? for example do backup then copy to location \\servername\dbbackups\ and the copy to \\otherservername\dbbackupsThanks
Viewing all 713 articles
Browse latest View live




Latest Images