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@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    13 hours 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.

    • penquin@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      12 hours 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@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 hours 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.

        • penquin@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          ·
          3 hours 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.