andreaskielkopf / backsnap Goto Github PK
View Code? Open in Web Editor NEWBackup btrfs snapshots made by snapper / timeshift to external storage
License: GNU General Public License v3.0
Backup btrfs snapshots made by snapper / timeshift to external storage
License: GNU General Public License v3.0
After first installing and running it did do a full backup of my btrfs system to an external drive (btrfs).
However, after that it would just error every time i try to run it.
❱sudo backsnap -gi
BackSnap Version 0.6.7.10 (2023/11/02)
args > -gi
java [version=22, major=22, minor=null, patch=null]
using ThreadPerTaskExecutor
Pc[sudo ] & Id:4ac04e63-d68d-47d1-a6c5-f33d9f7c29de
OneBackup[srcPc=Pc[sudo ], srcPath=/, backupLabel=manjaro18, flags=null]
OneBackup[srcPc=Pc[sudo ], srcPath=/home, backupLabel=manjaro18.home, flags=null]
sudo mkdir --mode=000 -p /tmp/BtrfsRoot;sudo mount -t btrfs -o subvol=/ /dev/nvme0n1p5 /tmp/BtrfsRoot
Backup snapshots from sudo :/
sudo mkdir --mode=000 -p /tmp/BackupRoot;sudo mount -t btrfs -o subvol=/,compress=zstd:9 /dev/sda3 /tmp/BackupRoot
Try to use backupDir sudo :/tmp/BackupRoot
Snap: snapshots 2024-06-09_18-00-00 2024-06-10_16-10-54 2024-06-10_18-00-00 2024-06-11_18-00-00 2024-06-12_04-27-01
2024-06-12_20-00-01 2024-06-13_20-00-01 2024-06-14_07-31-41 2024-06-14_07-32-06 2024-06-14_20-00-00 2024-06-15_11-00-00
2024-06-15_20-00-00 2024-06-15_21-00-00
Skip: 2024-06-09_18-00-00 2024-06-10_16-10-54 2024-06-10_18-00-00 2024-06-11_18-00-00 2024-06-12_04-27-01
2024-06-12_20-00-01 2024-06-13_20-00-01 2024-06-14_07-31-41 2024-06-14_07-32-06 2024-06-14_20-00-00 2024-06-15_11-00-00
manjaro18: Backup of snapshots based on 2024-06-15_11-00-00
java.io.FileNotFoundException: Could not create dir: /tmp/BackupRoot/@BackSnap/manjaro18/snapshots
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.mkDirs(Backsnap.java:309)
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.backup(Backsnap.java:249)
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.main(Backsnap.java:167)
Mount passt nicht für: Mount [sudo :/dev/nvme0n1p5 -> /home(/@home:0)] -> Snapshot[mount=Mount [sudo :/dev/nvme0n1p5 -> /(/@:14)], id=802, gen=20477, cgen=20475, parent=351, top_level=351, otime=null, parent_uuid=35dbf6d2-33cf-7d44-914e-39556b0a73ac, received_uuid=-, uuid=a02fd339-91dc-ec4c-b951-4ad4a933d409, btrfsPath=/@/mnt/snapshots/home-2024-06-15_14-30-00, readonlyL=readonly[null]]
Backup snapshots from sudo :/home
Try to use backupDir sudo :/tmp/BackupRoot
Snap: snapshots 2024-06-09_18-00-00 2024-06-10_16-10-54 2024-06-10_18-00-00 2024-06-11_18-00-00 2024-06-12_04-27-01
2024-06-12_20-00-01 2024-06-13_20-00-01 2024-06-14_07-31-41 2024-06-14_07-32-06 2024-06-14_20-00-00 2024-06-15_11-00-00
2024-06-15_20-00-00 2024-06-15_21-00-00
Skip: 2024-06-09_18-00-00 2024-06-10_16-10-54 2024-06-10_18-00-00 2024-06-11_18-00-00 2024-06-12_04-27-01
2024-06-12_20-00-01 2024-06-13_20-00-01 2024-06-14_07-31-41 2024-06-14_07-32-06 2024-06-14_20-00-00 2024-06-15_11-00-00
2024-06-15_20-00-00 2024-06-15_21-00-00
manjaro18.home: Backup of snapshots based on 2024-06-15_21-00-00
java.io.FileNotFoundException: Could not create dir: /tmp/BackupRoot/@BackSnap/manjaro18.home/snapshots
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.mkDirs(Backsnap.java:309)
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.backup(Backsnap.java:249)
at de.uhingen.kielkopf.andreas.backsnap.Backsnap.main(Backsnap.java:167)
sudo umount -v /tmp/BtrfsRoot;sudo rmdir /tmp/BtrfsRoot
sudo umount -v /tmp/BackupRoot;sudo rmdir /tmp/BackupRoot
ende:X ready⏎
I deleted the folder that it was complaining about. @BackSnap/manjaro18/snapshots & @BackSnap/manjaro18.home/snapshots and it kinda worked another time (just with different errors).
after closing and opening again the same error as above was back again.
Hope you can help, thx.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.