Backup of a whole Linux system

97 views
Skip to first unread message

Albert Zeyer

unread,
Jan 2, 2019, 8:19:16 AM1/2/19
to Perkeep
I want to backup my whole Linux system (or rather: the whole file system, excluding only things like /tmp), such that I can recover it later and get back a fully functional Linux system (after installing a boot loader).

Is this doable with Perkeep? Or rather not recommended because of too much overhead for all the thousands of tiny files which a Linux system usually has?

Simon B.

unread,
Jan 2, 2019, 8:09:09 PM1/2/19
to per...@googlegroups.com
For fast full system backup / restore you should pick some other tool. Maybe one that also cares for partitioning, boot loaders etc.

If you want to keep old versions, then you can save the system backup images (full + deltas) with Perkeep. Timestamps are searchable, but also make sure to tag or name the system backup file such that you can find it with a search later.

Maybe you'd be interested in linux systems built for reproducibility: https://medium.com/@alex285/fedora-silverblue-29-vs-endless-os-3-4-fe7d65aa8c9c

Albert Zeyer

unread,
Jan 4, 2019, 4:30:43 AM1/4/19
to Perkeep
I don't care about the boot loader. That is just a single call to grub-install (or so), to recover that. And the partitioning might be different on my new PC anyway, or in any case I would want to decide that customly when recovering. So these are no reasons for me.

Are there other reasons not to use Perkeep for a full system backup? E.g. speed? Overhead in size?

I'm interested in the history only for some subset of the files, though. Is it possible to remove the history later on for certain directories (e.g. all in /usr)?

Simon B.

unread,
Jan 4, 2019, 5:35:30 AM1/4/19
to per...@googlegroups.com
Perkeep targets permanent storage, and using it for temporary working files and backups might feel slow.

My setup: I like https://wiki.archlinux.org/index.php/Rsnapshot then I exclude (best effort) folders that I already have in perkeep or git. Before ditching an old computer, I might .tar.gz or .zip some folders from it and dump into perkeep, as a just-in-case while still not blowing up the perkeep index with old and not really necessary stuff (aka "Maybe I'll index or run in an emulator sometime, but not this year.")

I suggest you try out adding /usr/bin (or similar ~1GB structure) into a temporary perkeep that you don't mind wiping just to get a feeling for the speed with your current machine(s).

Albert Zeyer

unread,
Jan 4, 2019, 5:38:37 AM1/4/19
to per...@googlegroups.com
Yes, this is what I expect, but only being slow would not necessarily rule Perkeep out. I imagine having a single backup solution (Perkeep) might be simpler instead of having two backup solutions (Perkeep + Rsnapshot or whatever). Or actually that is what I want to figure out by my question here.



--
You received this message because you are subscribed to a topic in the Google Groups "Perkeep" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/perkeep/Z_utKIPe2o0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to perkeep+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages