Hi all,
I have a smaller nvme for my root and home partitions, and I wanted to upgrade to a 1TB. I have several drives on my machine and have been backing up in different ways. One way is I just copied all of my home folder and pasted it on one of the drives. Another way is I copied that folder to my NAS. I also have Pika backup setup to do automatic backups daily to one of the drives. My question is, how do I go about the process of restoring my backup with Pika? Do I reinstall the whole system, install Pika, point it at its old backup folder and have it restore? If so, what does it actually restore? Does it originally back up apps, their data and whatever I have in my home folder, then it restores all of that to the new system? Or does it only back my config files and home folder? Sorry if this is an obvious and dumb question, but I really don’t want to do things from scratch since I’ve had this same install for a long time and I’ve set it up the way I like it.
Running Endeavour OS with KDE plasma. Thanks in advance.
P. S for this who wonder why I didn’t separate root and home partitions since I have many drives It’s a long story and it would be off topic and I don’t want to bore you all with it.

  • @SomeWeeb
    link
    61 month ago

    Do I reinstall the whole system, install Pika, point it at its old backup folder and have it restore? If so, what does it actually restore? Does it originally back up apps, their data and whatever I have in my home folder, then it restores all of that to the new system? Or does it only back my config files and home folder?

    Pika backup is made for backing up files, rather than a full system. By default it only includes your home folder, and excludes things like cache folders. Per their Github: “Pika Backup is designed to save your personal data and does not support complete system recovery.”

    The file restoration feature is more like plugging in a USB drive with files stored on it. Pika backup mounts your backup as if it were an external drive, then allows you to copy your files from it.

    You might want to consider a system backup tool like Timeshift instead. That seems like a closer match for what you’re describing.

    • @[email protected]OP
      link
      fedilink
      31 month ago

      So you’re telling me what Pika is doing is the same I’m doing by copying my home folder into an external drive? Ha! I do use timeshift. Does timeshift take a whole system backup that includes the whole system, its apps and their data? If so, which files/folder do I need to copy of timeshift so I can put them on one of the external drives so I can use them after a reinstall. Since it backs up on the same drive it’s installed on and reinstalling would delete timeshift and its backup files.

      • @SomeWeeb
        link
        31 month ago

        Pika is slightly different in how it stores data (since it does incremental backups, can do encryption, etc.) but as far as restoring data is concerned it’s pretty much the same as copying files to a different drive.

        I haven’t used Timeshift for a while. On closer inspection they do say “Timeshift is designed to protect system files and settings. It is NOT a backup tool and is not meant to protect user data.”

        So I guess it’s the opposite of Pika. Timeshift backs up your system, Pika backs up your user data.

        Timeshift can do both if you want it to though, by going into Users tab and selecting Include Everything, then removing any Filters.

        I haven’t used Timeshift to restore data, but going by their Github page it looks like it restores everything to where it was before. So the restore process (in case your OS drive dies, for instance) might be to install your OS, install Timeshift, then select Restore. It’ll restore your previous user, settings, etc. Then you reboot for the restored data to appear.

        • @[email protected]OP
          link
          fedilink
          11 month ago

          I can make it back up data, too? I do snapshots on btrfs. Not sure if that’s the same as their regular backup, is it? Damn, man. Why is it hard to make a backup? Lol
          I might just look into clonezilla or something then.

          • @SomeWeeb
            link
            21 month ago

            You can make Timeshift backup data too by selecting the Include Everything option as mentioned. The developers say that you shouldn’t, because ideally OS backups should be separate from data backups, but you can if you want.

            If they’re separate, then it’s easier to restore your OS (eg. if you edit a system config file and can’t boot afterwards) without also reverting any documents and such you’ve been working on since then. Or to restore data from a backup (eg. a file you deleted) without also reverting your OS to that earlier state. Keeping your OS backup (for system restore purposes) separate from your data backup (for retrieving old files) makes that easier.

            Still, there’s no reason why you can’t use Timeshift to do both in one. If your goal is to make a full backup of your computer in its current state, data and all, to restore in case your SSD dies (like Clonezilla would), then the Include Everything option will give you that.