Activity overview
Latest activity by JoshDBGuy
Splitting Up Backup and Copy Functions
Is there a way to split up the backup and copy functions using Redgate? I can do backups myself and then use SQL/Powershell to do copies to network locations but I'd rather use redgate. Is this pos...
That's perfect, thank you so much. / comments
That's perfect, thank you so much.
Multiple Network Shares
Hi All,
I'm sure this has been asked before but I'm unable to find it. I would like to add multiple network shares to the "Copy To" option but I am unsure of the syntax. Can someone help me out?
Th...
All,
I figured it out.
Thanks / comments
All,
I figured it out.
Thanks
Transaction Log Backups Failing
Hello,
This morning I started running into T-Log backup issues. Here is the information,
1. T-Log backups were working fine until 5:00 AM this morning.
2. At that time I started receiving errors wi...
Thanks epetro, I thought of something like that too. It's not super clean but it should work for our office. / comments
Thanks epetro, I thought of something like that too. It's not super clean but it should work for our office.
Sure, below is the code,
DECLARE @exitcode int
DECLARE @sqlerrorcode int
EXECUTE master..sqlbackup '-SQL "BACKUP DATABASES [DB1,DB2,DB3] TO DISK = ''C:\Backup\Full\<database>\<AUTO>.sqb'' WITH ERASEFILES_ATSTART = 1b, PASSWORD = ''<ENCRYPTEDPASSWORD>xxxxxxxxxxx</ENCRYPTEDPASSWORD>'', CHECKSUM, DISKRETRYINTERVAL = 30, DISKRETRYCOUNT = 10, KEYSIZE = 256, THREADCOUNT = 23"', @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
I also double checked and no tape backups are running or did run at the same time. / comments
Sure, below is the code,
DECLARE @exitcode int
DECLARE @sqlerrorcode int
EXECUTE master..sqlbackup '-SQL "BACKUP DATABASES [DB1,DB2,DB3] TO DISK = ''C:\Backup\Full\<database>\<AUTO>.sqb'' WITH ERAS...
Redgate Backup - Won't Delete All Files Before Backing Up
I am running backups to a location with limited storage. Because these backups aren't exactly critical, I only need one backup file. I am setting the program to run and delete existing backup files...
I'm guessing I might just have to accept this as a possible issue with restores? / comments
I'm guessing I might just have to accept this as a possible issue with restores?