Comments (8)
Is /media/Storage3/@HomeSnaps
already present on your filesystem? Note that btrbk does not create the backup target subvolume (as well as the snapshot directory specified by snapshot_dir
).
If it is not, run btrfs subvolume create /media/Storage3/@HomeSnaps
prior to running btrbk.
If it is already present, you might have found a bug. Could you please re-run btrbk with debug output enabled:
btrbk -l debug -c /etc/btrbk/btrbk.conf.example dryrun > /tmp/btrbk_debug.log
from btrbk.
haha i was already running with debug on when you posted your reply. Here is the output:
btrbk -c /etc/btrbk/btrbk.conf.example -l debug dryrun
btrbk command line client, version 0.13 (Fri Mar 20 12:53:54 2015)
config: parsing file: /etc/btrbk/btrbk.conf.example
config: adding option "snapshot_dir=@Backups/" to root context
config: adding option "snapshot_create_always=yes" to root context
config: adding option "incremental=no" to root context
config: adding option "preserve_day_of_week=sunday" to root context
config: adding option "snapshot_preserve_daily=all" to root context
config: adding option "snapshot_preserve_weekly=4" to root context
config: adding option "snapshot_preserve_monthly=1" to root context
config: adding option "target_preserve_daily=all" to root context
config: adding option "target_preserve_weekly=4" to root context
config: adding option "target_preserve_monthly=1" to root context
config: adding option "btrfs_commit_delete=after" to root context
config: adding option "receive_log=no" to root context
config: context forced to: root
config: adding volume "/mnt/btrfsroot" to root context
config: adding subvolume "@Home" to volume context: /mnt/btrfsroot
config: adding target "/media/Storage3/@HomeSnaps" (type=send-receive) to subvolume context: /mnt/btrfsroot/@Home
/sbin/btrfs subvolume show /mnt/btrfsroot 2>/dev/null
Command execution successful
found btrfs root: /mnt/btrfsroot
/sbin/btrfs subvolume list -a -c -u -q -R /mnt/btrfsroot
Command execution successful
parsed 3 total subvolumes for filesystem at: /mnt/btrfsroot
/sbin/btrfs subvolume show /media/Storage3/@HomeSnaps 2>/dev/null
Command execution successful
parsed 10 subvolume detail items: /media/Storage3/@HomeSnaps
/sbin/btrfs subvolume list -a -c -u -q -R /media/Storage3/@HomeSnaps
Command execution successful
parsed 1 total subvolumes for filesystem at: /media/Storage3/@HomeSnaps
No subvolumes found in: /media/Storage3/@HomeSnaps
WARNING: Skipping target: Failed to read btrfs subvolume list for "/media/Storage3/@HomeSnaps"
Creating subvolume snapshot for: /mnt/btrfsroot/@Home
[btrfs] snapshot (ro):
[btrfs] source: /mnt/btrfsroot/@Home
[btrfs] target: /mnt/btrfsroot/@Backups/@Home.20150320
/mnt/btrfsroot/@Backups/@Home.20150320
(dryrun) /sbin/btrfs subvolume snapshot -r /mnt/btrfsroot/@Home /mnt/btrfsroot/@Backups/@Home.20150320
WARNING: Skipping cleanup of snapshots for subvolume "/mnt/btrfsroot/@Home", as at least one target aborted earlier
Completed within: 0s (Fri Mar 20 12:53:54 2015)
Backup Summary (btrbk command line client, version 0.13)
Date: Fri Mar 20 12:53:54 2015
Config: /etc/btrbk/btrbk.conf.example
/mnt/btrfsroot/@Home
+++ /mnt/btrfsroot/@Backups/@Home.20150320
!!! Target "/media/Storage3/@HomeSnaps" aborted: Failed to read btrfs subvolume list for "/media/Storage3/@HomeSnaps"
NOTE: Some errors occurred, which may result in missing backups!
Please check warning and error messages above.
NOTE: Dryrun was active, none of the operations above were actually executed!
And the output of the command that executes just before the failure in case it is to blame...
http://pastebin.com/GW6taHKh
Had to put it in pasetbin since git was removing part of the output...
from btrbk.
Thanks, I identified a bug introduced in commit: 14e675b
btrbk now has problems with empty backup subvolumes. As a workaround, simply create a dummy subvolume:
btrfs subvolume create /media/Storage3/@HomeSnaps/dummy
...while I'm fixing...
from btrbk.
great thank you
from btrbk.
fixed in d17d0ab
from btrbk.
fixed in btrbk v0.14
from btrbk.
Thank you for moving so quick on this.
from btrbk.
It's always nice to see that other people are also using btrbk. I hope it turns out to be useful for you as it is for me! Don't hesitate to create feature requests or ask for help, every feedback helps me improving this project.
Also don't forget to "star" this project if you like it, so that other people can find it more easily.
from btrbk.
Related Issues (20)
- 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 3
- 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
- snapshot_dir required even when `snapshot_create` set to `no`
- btrbk doesn't append a command with "sudo -n" if ssh is used and backend_local_user=btrfs-progs-sudo
- [Bug Report] "btrbk diff" without "sudo" throws error (backend_local_user=btrfs-progs-sudo)
- Backup of backups HOT 1
- send to a raw target which does not support output redirection
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.