Comments (6)
Implemented (all except rotation of incremental backups) in: e177ae1
Seems to work fine, see updated btrbk.conf(5) man-page for details.
from btrbk.
implemented (mostly) in btrbk-0.21.0
from btrbk.
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.
All i need is to remove this parameter in this line
https://github.com/digint/btrbk/blob/master/btrbk#L1042
correct?
from btrbk.
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.
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)
- Configure Cleaning HOT 1
- Clean interrupted ssh transfers
- Prevent incomplete backups from blocking progress
- Is it safe to dedupe snapshots on the server and the client?
- Is my configuration wrong? I keep getting snapshots in the wrong folder HOT 6
- Failed to fetch subvolume detail for snapshot_dir HOT 1
- Double daily backups sometimes... HOT 1
- understanding target_preserve_min
- Is 650 GB per day between hard disks connected by 1 GBit ethernet ok? HOT 1
- Feature request : BTRBK + grub-btrfs - Restore the snapshot currently booted - like Timeshift
- Why is btrbk only creating snapshots and not transfering?
- dry-run ignores lock
- whatever default shell is used despite it is not a posix compatible shell
- Not optimal behavior for low quality network connections
- [Question] How to specify clone sources from snapshots of other unrelated subvolumes?
- ERROR: ... unable to destroy quota group: Device or resource busy
- ERROR: clone: did not find source subvol HOT 4
- Question: duplicated instance when /etc/crontab set to run hourly at 00 minute HOT 1
- [Question] Quarterly retention
- [Feature Request] configurable timestamps / names for snapshots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrbk.