bupstash
bupstash copied to clipboard
Panic unwrap SqliteFailure Err
Using bupstash for the first time so could be an error on my part. While backing up data I run into this error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("cannot rollback - no transaction is active"))', src/sendlog.rs:361:55
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: core::ptr::drop_in_place<bupstash::sendlog::SendLogSession>
4: bupstash::put_main
5: bupstash::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Abort trap
using this cmd:
RUST_BACKTRACE=1 bupstash put \
--send-log /backups/backup.sendlog \
hostname=$(hostname) \
name=backup.tar \
/src_folder/
To add more context it seems the error was happening when the disk I was backing up to ran out of space.
Thanks for the report - this should definitely be a nicer error message, I will look into improving it.
The error message has been improved and will be in the next release.
@andrewchambers thank you!