You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
I'm curious what mechanism do you use to append? i.e. what is the content of the SQL Agent job that does this? (i.e. the T-SQL being used). Do you get an error when trying to append? All I could see was that Append might need a different API (that mightn't be supported by SQL Agent)Nick.Mc– Nick.Mc2023-09-17 23:20:31 +00:00Commented Sep 17, 2023 at 23:20
-
@Nick.Mc The filename for the t-log backup contains the date, and is generated as the final step of the nightly full backup job "WITH INIT". Then, the hourly job uses the same filename format (meaning the filename will be the same until the date changes) but using "WITH NOINIT". When backing up to disk, since NOINIT is specified and the backup file already exists, it will append. When backing up to blob storage I get: The file [blob url to file] exists on the remote endpoint, and WITH FORMAT was not specified. Backup cannot proceed. BACKUP LOG is terminating abnormally.OKreboots– OKreboots2023-09-18 13:23:08 +00:00Commented Sep 18, 2023 at 13:23
-
Reading around, apparently this might work if you pre create an empty append blob beforehand. This might have some useful powershell that will let you do it 4sysops.com/archives/…Nick.Mc– Nick.Mc2023-09-18 23:51:07 +00:00Commented Sep 18, 2023 at 23:51
-
1@Nick.Mc Thanks, that looked promising. I tried creating the empty blob in advance as an Append Blob, and could see it in the storage explorer listed as an Append Blob but unfortunately when I try to write the t-log to it, I still get the same errror, "The file t-log-test.bak exists on the remote endpoint, and WITH FORMAT was not specified. Backup cannot proceed." I have gone back to writing the hourly t-log backup to disk for now.OKreboots– OKreboots2023-09-25 23:44:28 +00:00Commented Sep 25, 2023 at 23:44
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. sql-server), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-sql