I remade my backup script in Java to get a finer grain control over what was happening with the filesystem and am still gettting the same issues with regards to incremental backups:
Not sure what I'm doing wrong, but this time I executed the code that the program produced by hand in the terminal, and I still get the same error.
Not sure why a freshly created snapshot can't clone it's extents, but that's what's happening aparrantly.
Am I doing something wrong in the script? The essential process is:
*Later*
The incremental bacup always fails with some cryptic error message like unable to clone extents. I can post the Java code that does this, but all it really does is just pass it to terminal and it runs this way.
Running the raw bash string in terminal doesn't work either!
I'm not sure what to do here. Is it a bug in BTRFS? How can i get answers? Is there a mail chain I can ask?
Code:
sarah@LesserArk:/media/sarah$ sudo btrfs send -p "/media/Wandering_Echo/Snapshots/@home___2019-08-10T15:58:53.373754" "/media/Wandering_Echo/Snapshots/@home___2019-08-13T00:02:13.841344" | sudo btrfs receive "/media/sarah/NihilisticAutomaton/Snapshots" At subvol /media/Wandering_Echo/Snapshots/@home___2019-08-13T00:02:13.841344 At snapshot @home___2019-08-13T00:02:13.841344 ERROR: failed to clone extents to sarah/.cache/plasmashell/bookmarkrunnerfirefoxfavdbfile.sqlite: Invalid argument
Not sure why a freshly created snapshot can't clone it's extents, but that's what's happening aparrantly.
Am I doing something wrong in the script? The essential process is:
Code:
sudo btrfs subvolume snapshot -r NAME sudo btrfs send NAME | sudo btrfs receive EXTERNALDISK
Code:
sudo btrfs subvolume snapshot -r NAME2 sudo btrfs send -p NAME NAME2 | sudo btrfs receive EXTERNALDISK
Running the raw bash string in terminal doesn't work either!
I'm not sure what to do here. Is it a bug in BTRFS? How can i get answers? Is there a mail chain I can ask?
Comment