Skip to content

Conversation

@gfody
Copy link

@gfody gfody commented Aug 22, 2018

instead of trying to wrap all the various options for backup and restore, just allow a backup or restore statement and replace {device} with the virtual device name. e.g.:

mssqlPipe backup "backup log mydb to virtual_device='{device}' with differential, encryption algorithm=aes_128"

this is a lot easier to use from a SQL Agent job than using pipe to and a separate query, at least I couldn't figure out how to get SQL Agent to start a query after starting a command that doesn't return.

@adzm
Copy link
Owner

adzm commented Aug 5, 2020

This is a really great idea. I'll try to merge this before too long while checking backwards compatibility.

@gfody
Copy link
Author

gfody commented Aug 5, 2020

fwiw I've been running this version in prod for ~2yrs with no issues. we're shipping logs to/from s3 every 5min and streaming nightly diffs and weekly full backups to s3 and restoring them each morning on a staging environment all thru mssqlPipe.

@avonwyss
Copy link

fwiw I've been running this version in prod for ~2yrs with no issues.

@gfody Since this was not yet merged, would you happen to have a binary to share?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants