Comments (3)
Would it be possible to provide some sort of post-snapshot hook or native integration of btrfs send? I'd like to push a copy of my .snapshots folder to a server with a btrfs-formatted hdd (similar to what I've done with 'backintime' before, only more efficient).
Edit: this seems to do something similar, only less advanced than snapper (no pre-post snapshots).
from snapper.
Is the error on the sending or the receiving side?
I have done some tests and have it working for me. The setup is more complicated that explained in the btrfs wiki since .snapshots itself is a subvolume. So you have to create the directories yourself (or somehow also make snapshots of .snapshots, esp. if you also want snappers metadata for the snapshots to be synced).
bootstrap
btrfs subvolume create /backup/.snapshots
mkdir /backup/.snapshots/1
btrfs send /btrfs/.snapshots/1/snapshot | btrfs receive /backup/.snapshots/1
sync diff from 1 to 2
mkdir /backup/.snapshots/2
btrfs send -p /btrfs/.snapshots/1/snapshot /btrfs/.snapshots/2/snapshot | btrfs receive /backup/.snapshots/2
Does that help?
from snapper.
Hook are handled in #28. Unfortunately nobody had time to implement them yet.
from snapper.
Related Issues (20)
- continue cleanup in case of failure HOT 5
- "Illegal snapshot" error during list HOT 1
- IO Error (fcntl(F_DUPFD_CLOEXEC) failed error:24 (Too many open files)). HOT 6
- Snapper does not find config file after a lot of modifications HOT 13
- Change default cleanup timer interval to 1h, to match default LIMIT_HOURLY HOT 2
- Small doubt/problem with submodules on / and /home HOT 4
- Feature request: Lock snapshots
- Snapper log spam, increasing log size 0.5-1GB a minute HOT 1
- BTRFS Snapshots failing since kernel 6.8.4rc1, still working on 6.8.2 HOT 14
- Get new on kde plasma 6 not working HOT 1
- Snapper is failing to create snapshots HOT 4
- snapper.io is not secure HOT 2
- build fails due to moved libstdc++.la HOT 6
- snapper cleanup garbage
- create snapshot failed - pre-num X-1 for post-num X does not exist HOT 1
- Where do I declare custom $SNAPSHOTS path? HOT 1
- Source tarball on release page
- timezone error HOT 3
- After snapper rollback/restore marks packages as explicitly installed which were autoinstalled previously HOT 2
- using snapper with samba and vfs_snapper HOT 18
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 snapper.