plakar icon indicating copy to clipboard operation
plakar copied to clipboard

Question: BTRFS support?

Open izelnakri opened this issue 6 months ago • 4 comments

Does plakar support or intends to support BTRFS snapshots and incremental restores & backups while providing all other nice features like the web UI browsing, cloud provider integrations etc?

I've briefly skimmed the documentation and issues here and couldn't find anything related to BTRFS and CoW support. Would appreciate if you could point me to the right direction and/or perhaps mention it in the README & docs.

Thank you for this innovative work!

izelnakri avatar Jul 08 '25 08:07 izelnakri

It doesn't currently support it but we definitely want to support FS-provided snapshotting mechanisms when available, so this falls in the "intends to" category :-)

poolpOrg avatar Jul 08 '25 09:07 poolpOrg

Are you on our discord server by any chance ?

I have implemented support for BTRFS snapshots and it would be useful to have a BTRFS user around for my testing :-)

poolpOrg avatar Jul 25 '25 00:07 poolpOrg

Thank you @poolpOrg ! I'm not on the discord server but in 3-4 months I do consider building a new NAS for myself. I can test it then if thats not a problem, currently I'm traveling a bit 😅

izelnakri avatar Jul 25 '25 04:07 izelnakri

work in progress:

root@scw-great-tereshkova:~/plakar# ./plakar backup -quiet btrfs:/root/mnt/etc
info: backup: created unsigned snapshot 1a3935ab of size 2.4 MB in 242.742142ms (wrote 526 kB)

root@scw-great-tereshkova:~/plakar# ./plakar backup -quiet btrfs:/root/mnt/etc
info: backup: created unsigned snapshot 5c240f1b of size 2.4 MB in 243.115893ms (wrote 419 kB)

root@scw-great-tereshkova:~/plakar# ./plakar backup -quiet btrfs:/root/mnt/etc
info: backup: created unsigned snapshot 7abb4f2b of size 2.4 MB in 254.737302ms (wrote 525 kB)

root@scw-great-tereshkova:~/plakar# ./plakar ls
2025-07-25T13:11:47Z   7abb4f2b    2.4 MB        0s /root/mnt/etc.369bde73-9228-46ec-9c62-1e1842588fe1
2025-07-25T13:11:46Z   5c240f1b    2.4 MB        0s /root/mnt/etc.1979c7bc-ce96-41a0-a43e-5d889c35db09
2025-07-25T13:11:45Z   1a3935ab    2.4 MB        0s /root/mnt/etc.644f6750-a16b-4999-8413-bd8f2a9ab6d8
2025-07-25T13:11:43Z   5b321cf4    2.4 MB        0s /root/mnt/etc.759556ee-4174-42c9-a578-9a3c04f56945
2025-07-25T13:11:38Z   5914d427    2.4 MB        0s /root/mnt/etc.ef363512-a60e-49a1-82ff-8f48efdfb5df
2025-07-25T13:11:37Z   052f9af5    2.4 MB        0s /root/mnt/etc.c2fff1c1-ce12-46ce-8e8e-9d509219e3fb
2025-07-25T13:11:15Z   764acbe4    2.4 MB        0s /root/mnt/etc.adbe2a94-ea17-4f12-9b37-17f08c21713c

poolpOrg avatar Jul 25 '25 15:07 poolpOrg