Open gfody opened 6 years ago
This is a really great idea. I'll try to merge this before too long while checking backwards compatibility.
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.
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?
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.