We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Lucas Schatz (arvanus)
Ref. Google groups: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/firebird-support/Jawf9dc-lg0/T2qQfgZlAgAJ
Hi, I read that nbackup can use "stdout" to backup files, is it possible to enable stdout too for restore operation? like this:
> nbackup -R stdout db_0.nbackup db_1.nbackup db_2.nbackup
The ideia is to output to "pv" to monitor its state at runtime, something like this:
> nbackup -R stdout db_0.nbackup db_1.nbackup db_2.nbackup | pv > monitored_restore.fdb
Today I use "pv" to monitor gbak/restore (fairy incorrect because the streamed data isn't de same of the final database file, but for me its OK)
> /opt/firebird/bin/gbak -z -b -g -v -st t -y gbaklogfile db.fdb.old stdout|\ > pv --name="Res dbfile" --size $(stat -c %s db.fdb.old)|\ > /opt/firebird/bin/gbak -z -c -v -PAGE_SIZE 16384 -st t -y restorelogfile stdin db.fdb.new ;
Thanks!
The text was updated successfully, but these errors were encountered:
security: Managers [ 10013 ] =>
Sorry, something went wrong.
No branches or pull requests
Submitted by: Lucas Schatz (arvanus)
Ref. Google groups: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/firebird-support/Jawf9dc-lg0/T2qQfgZlAgAJ
Hi, I read that nbackup can use "stdout" to backup files, is it possible to enable stdout too for restore operation?
like this:
> nbackup -R stdout db_0.nbackup db_1.nbackup db_2.nbackup
The ideia is to output to "pv" to monitor its state at runtime, something like this:
> nbackup -R stdout db_0.nbackup db_1.nbackup db_2.nbackup | pv > monitored_restore.fdb
Today I use "pv" to monitor gbak/restore (fairy incorrect because the streamed data isn't de same of the final database file, but for me its OK)
> /opt/firebird/bin/gbak -z -b -g -v -st t -y gbaklogfile db.fdb.old stdout|\
> pv --name="Res dbfile" --size $(stat -c %s db.fdb.old)|\
> /opt/firebird/bin/gbak -z -c -v -PAGE_SIZE 16384 -st t -y restorelogfile stdin db.fdb.new ;
Thanks!
The text was updated successfully, but these errors were encountered: