Giter Club home page Giter Club logo

Comments (6)

digint avatar digint commented on August 17, 2024

Implemented (all except rotation of incremental backups) in: e177ae1

Seems to work fine, see updated btrbk.conf(5) man-page for details.

from btrbk.

digint avatar digint commented on August 17, 2024

implemented (mostly) in btrbk-0.21.0

from btrbk.

Micha-Btz avatar Micha-Btz commented on August 17, 2024

Hi there,

thanks for the great script. I have tried yesterday to set it up. Backup Target is my linux receiver
http://linux-tv.com/receiver/vu-uno-review/ over ssh.

> [btrfs]   target: vuplus:/media/hdd/sysiphus/btrbk
### 'btrfs' 'send' '-v' '/mnt/homealt/btrbk_snapshots/btrfs_vuuno.20160411' | 'xz' | 'gpg' '--batch' '--no-tty' '--trust-model' 'always' '--no-default-keyring' '--keyring' '/etc/btrbk/pubring.gpg' '--default-recipient' '[email protected]' '--encrypt' | '/usr/bin/ssh' '-C' '-i' '/root/.ssh/id_rsa' 'root@vuplus' 'dd' 'status=none' 'of=/media/hdd/sysiphus/btrbk/btrfs_vuuno.20160411--06cf54d6-354b-1f48-bbc1-994b27a3bea3.btrfs.xz.gpg'
At subvol /mnt/homealt/btrbk_snapshots/btrfs_vuuno.20160411
BusyBox v1.23.2 (2016-01-19 01:28:06 CET) multi-call binary.

Usage: dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N]
    [seek=N] [conv=notrunc|noerror|sync|fsync]

Copy a file with converting and formatting

    if=FILE     Read from FILE instead of stdin
    of=FILE     Write to FILE instead of stdout
    bs=N        Read and write N bytes at a time
    ibs=N       Read N bytes at a time
    obs=N       Write N bytes at a time
    count=N     Copy only N input blocks
    skip=N      Skip N input blocks
    seek=N      Skip N output blocks
    conv=notrunc    Don't truncate output file
    conv=noerror    Continue after read errors
    conv=sync   Pad blocks with zeros
    conv=fsync  Physically write data out before finishing
    conv=swab   Swap every pair of bytes

N may be suffixed by c (1), w (2), b (512), kD (1000), k (1024), MD, M, GD, G

gpg: [stdout]: write error: Datenübergabe unterbrochen (broken pipe)
gpg: DBG: deflate: iobuf_write failed
gpg: build_packet failed: Dateischreibfehler
gpg: [stdout]: write error: Datenübergabe unterbrochen (broken pipe)
gpg: DBG: deflate: iobuf_write failed
gpg: [stdout]: write error: Datenübergabe unterbrochen (broken pipe)
gpg: iobuf_flush failed on close: Dateischreibfehler
gpg: [stdin]: encryption failed: Dateischreibfehler
Command execution failed (exitcode=1): "'btrfs' 'send' '-v' '/mnt/homealt/btrbk_snapshots/btrfs_vuuno.20160411' | 'xz' | 'gpg' '--batch' '--no-tty' '--trust-model' 'always' '--no-default-keyring' '--keyring' '/etc/btrbk/pubring.gpg' '--default-recipient' '[email protected]' '--encrypt' | '/usr/bin/ssh' '-C' '-i' '/root/.ssh/id_rsa' 'root@vuplus' 'dd' 'status=none' 'of=/media/hdd/sysiphus/btrbk/btrfs_vuuno.20160411--06cf54d6-354b-1f48-bbc1-994b27a3bea3.btrfs.xz.gpg'"
ERROR: Failed to send btrfs subvolume to raw file: /mnt/homealt/btrbk_snapshots/btrfs_vuuno.20160411  -> vuplus:/media/hdd/sysiphus/btrbk/btrfs_vuuno.20160411--06cf54d6-354b-1f48-bbc1-994b27a3bea3.btrfs.xz.gpg
ERROR: Error while resuming backups, aborting
Resumed 0/3 missing backups
WARNING: Skipping cleanup of snapshots for subvolume "/mnt/homealt/btrfs_vuuno", as at least one target aborted earlier
Completed within: 2s  (Mon Apr 11 20:57:13 2016)
Closing transaction log

The problem I think is that the busybox dd command the parameter "status=none" don't understand.
As far as i see this is only to suppress everything but error messages.

from btrbk.

Micha-Btz avatar Micha-Btz commented on August 17, 2024

All i need is to remove this parameter in this line
https://github.com/digint/btrbk/blob/master/btrbk#L1042
correct?

from btrbk.

digint avatar digint commented on August 17, 2024

Yes, correct.

+1 for making backups to a tv-receiver!

Good to know that busybox does not understand this, if possible I'll make some adaptions that also work with busybox.

from btrbk.

Micha-Btz avatar Micha-Btz commented on August 17, 2024

don't know if it is for all receivers. i use the vti image. would be great, if you can modify it.
thanks

from btrbk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.