| 6 May 2024 |
K900 | I am mostly doing this for Conduit | 17:12:06 |
K900 | Which is rocksdb | 17:12:08 |
K900 | So I 100% need a snapshot | 17:12:12 |
raitobezarius | i don't remember if you can mount snapshots | 17:12:18 |
@linus:schreibt.jetzt | In reply to @raitobezarius:matrix.org are snapshots considered as backups? if they're sent to a different pool (or equivalent thing) I'd say yes | 17:12:43 |
raitobezarius | there's no pool concept yet | 17:13:01 |
raitobezarius | i think this is a good time to get started on userspace CLI dev in bcachefs K900 | 17:13:15 |
hexa | just hack your own tool | 17:13:38 |
@linus:schreibt.jetzt | In reply to @raitobezarius:matrix.org i don't remember if you can mount snapshots well you can bind mount it, right? | 17:13:49 |
raitobezarius | or just add the feature to the bcachefs CLI | 17:14:06 |
raitobezarius | it's possible there's missing kernel APIs too | 17:14:13 |
raitobezarius | In reply to @linus:schreibt.jetzt well you can bind mount it, right? yes | 17:14:29 |
raitobezarius | i guess you could do bcachefs subvolume snapshot $directory /.snapshots/$date/$theme | 17:14:47 |
K900 | In reply to @raitobezarius:matrix.org i think this is a good time to get started on userspace CLI dev in bcachefs K900 I do not want to be nerdsniped | 17:14:52 |
K900 | I want to have backups | 17:14:54 |
raitobezarius | and mount bind this whether you want | 17:14:54 |
raitobezarius | * and mount bind this wherever you want | 17:15:03 |
raitobezarius | Linux Hackerman: can you link your nifty tool again? | 17:15:14 |
raitobezarius | I think this is relevant to the discussion | 17:15:19 |
raitobezarius | (for snapshots) | 17:15:21 |
@linus:schreibt.jetzt | this one? https://github.com/lheckemann/prune-rs | 17:17:15 |
raitobezarius | yes | 17:18:34 |
raitobezarius | this is bcachefs official pruning tool | 17:18:54 |
K900 | I don't actually intend to keep any snapshots on the box being backed up | 17:18:58 |
K900 | I just need snapshots to get an atomic view of rocksdb | 17:19:16 |
K900 | So my backup plan was snapshot, borg, yeet snapshot | 17:19:36 |
K900 | * So my backup plan was snapshot, borg snapshot, yeet snapshot | 17:19:45 |
raitobezarius | then bcachefs subvolume snapshot just work | 17:19:54 |
K900 | Or maybe I should look into restic | 17:20:04 |
K900 | But that just changes the setup to snapshot, restic snapshot, yeet snapshot | 17:20:33 |