Post #1889539
2026-02-15 18:45 UTC
That's a copy, not a backup. But you could easily wrap it all up with tar.
Edit: does btrfs support exporting snapshots? In any case, you should probably just use a dedicated backup tool.
Replies (4)
-
@sbeak@sopuli.xyz 2026-02-16 01:28
Wait, should I use just tar or include -g for compression (.tar vs .tar.gz)
-
@sbeak@sopuli.xyz 2026-02-16 01:25
Oh yeah, it looks like using a tar archive would retain symlinks. I will try that once I figure out how to use the tar command
-
@sbeak@sopuli.xyz 2026-02-16 01:46
Also, what flags shoukd I use for the tar command? Would it just be -cvf, or do I need -p (for permissions: would these work after a reinstall?) and -z (for compression)?
-
@sbeak@sopuli.xyz 2026-02-16 02:25
Yes, doing a tar file does work! Thanks person!