this post was submitted on 15 Nov 2024
15 points (100.0% liked)

Linux

53540 readers
1231 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 8 comments
sorted by: hot top controversial new old
[–] SomeWeeb@lemmy.world 6 points 5 months ago (1 children)

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.

[–] data1701d@startrek.website 2 points 5 months ago (1 children)

Honestly, rather than reinstalling, I’d suggest you boot into a live disk and use dd to copy your old disk over to the new one, then use Gpsrted or something to expand your partition. This worked very well when I upgraded the drives for my Debian install - I think it’s been two years since at thid point without any issues.

If you don’t have an extra drive slot, you might need to get an external adapter.