this post was submitted on 18 Aug 2023
61 points (95.5% liked)

Linux

48090 readers
743 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
 

I am currently using EndeavourOS for my laptop. Is there a backup solution that is easy to use, and can be run from the EndeavourOS install media without internet? (RSync is included, but no other backup tools are included, to my knowledge.) I don't want to use another ISO due to space constraints on my USB.

all 33 comments
sorted by: hot top controversial new old
[–] ikidd@lemmy.world 26 points 1 year ago (3 children)

Borg backup. You should be able to install it on your Live session, then restore to the target mount point.

[–] captainfeeny@lemmy.world 7 points 1 year ago (2 children)

And use Vorta if you want a gui for Borg backup.

[–] climateserver8538@infosec.pub 3 points 1 year ago (1 children)
[–] lemmyvore@feddit.nl 1 points 1 year ago* (last edited 1 year ago)

Pika Backup is the most user-friendly GUI for Borg. Vorta UI is powerful but complex. Pika only shows you the absolute basics: where to keep the backups, what to include, what to exclude, list of snapshots, and schedule options.

[–] ikidd@lemmy.world 1 points 1 year ago

Vorta looks very powerful. I know all that functionality is in Borg, but it's tricky to do it right. I'll give Vorta a try on my next install.

[–] Quazatron@lemmy.world 3 points 1 year ago

BorgBackup is the answer. Stopped creating stupid shell scripts with rsync and whatever and thinking I was so clever.

[–] donut4ever@lemm.ee 1 points 1 year ago (2 children)

Are you serious? It actually does that? So you have a usb stick with the live environment, then you boot into that environment, then from there you install borg, plug in the other stick that has the back then just restore onto the internal drive and restart? Is that correct?

[–] ikidd@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

As long as you don't reboot, your live sessions act like a fully installed OS. At least with any of the LiveUSB sessions I've ever used over the last decade.

You can install, mount a backup image, then push it on to a mountpoint for your actual install to be restored.

[–] donut4ever@lemm.ee 1 points 1 year ago

Nice. Thank you

[–] lynny@lemmy.world 3 points 1 year ago

Technically you are able to to do with any live environment and backup data, so the answer would be "yes".

[–] Minty95@lemm.ee 15 points 1 year ago* (last edited 1 year ago)

Timeshift. Easy to set up. Easy to use, only takes a couple of minutes to 're-set' your system back, if you break it. If you want just to backup files, documents etc then Cron. I use both. They are standard Linux programs and easy to use

[–] lynny@lemmy.world 6 points 1 year ago

Restic is my favorite, but you really would need to be familiar with the terminal, cron tasks, etc. to consider it a viable option.

[–] Shdwdrgn@mander.xyz 5 points 1 year ago

Have you looked to see if rdiff-backup is included? It works off of rsync but provides incremental backups and restores. On my servers I set up a script that excludes system folders like /dev, network mounts, and the log files, but it grabs pretty much everything else. Once the script works just set up a cron job and forget about it.

[–] BaconIsAVeg@lemmy.ml 4 points 1 year ago

I don’t want to use another ISO due to space constraints on my USB.

What? A 32GB thumb drive is under $10...

[–] dataprolet@lemmy.dbzer0.com 3 points 1 year ago (2 children)

Timeshift for system files, Backintime for user data.

[–] lemmyvore@feddit.nl 1 points 1 year ago

I tried Backintime and Timeshift recently.

In Backintime I added the dirs I wanted to backup and where to make the backups, pressed "run" and it said there's nothing to do. Uninstalled. Later on I found out it had added stuff to my crontab even though I never asked it for a recurring schedule.

Timeshift started by asking for the root password right off the bat. Uninstalled. Like, I know it will want root access eventually but at least buy me dinner first. How do I know what a program I've never used before wants to do to my system?

[–] Atemu@lemmy.ml 1 points 1 year ago (1 children)

Neither of those are backup tools. They're snapshotting tools.

[–] dataprolet@lemmy.dbzer0.com 2 points 1 year ago (1 children)
[–] Atemu@lemmy.ml 2 points 1 year ago (1 children)

They are often incremental but they're still not a backup.

They are local restore points. That's better than nothing at all as a local copy can protect against a very limited kind of data hazard and quite handy indeed but not a backup. A backup is always an independent copy.

If your entire machine was to blow up, a backup must be able to retain your data. A copy on the same disks will not.

[–] dataprolet@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

Now I get your point, sorry. You can use both Timeshift and BackInTime as snapshot tools, but also configure them to create snapshots on a different drive, making it an actual backup.

I for example use Timeshift in Rsync mode for that reason even though I'm also using Btrfs, which Timeshift supports, but only for non-backup snapshots.

Sorry for the confusion, I guess when suggesting both those tools one always has to specify that you need to save snapshots on a secondary drive for it to be a backup.

[–] dbx12@programming.dev 2 points 1 year ago

Not a recommendation per se, but you can use any backup software as long as you can edit your live iso. For example puting the restic binary into /opt

[–] randomname01@feddit.nl 2 points 1 year ago

I use Kopia, and I’ve successfully restored multiple backups with it.

[–] MyNameIsRichard@lemmy.ml 2 points 1 year ago

I use backintime and have for a number of years. It is incremental with unchanged files being hard-linked and makes it easy to restore files if needed.

[–] zkikiz@lemmy.ml 2 points 1 year ago

Idk about Endeavour but I use Duplicity and don't currently regret it.

[–] mvirts@lemmy.world 1 points 1 year ago

Testdisk 😹 jk don't be like me

[–] nottelling@lemmy.world 1 points 1 year ago

I'd imagine tar is included with the install media.

[–] emhl@feddit.de 1 points 1 year ago

Are you already using something like ventoy, or do you refrain from using another usb stick?

[–] some_guy@lemmy.sdf.org 1 points 1 year ago
[–] westyvw@lemm.ee -1 points 1 year ago

I hate being that guy that says "why are you doing that" instead of providing solutions, but since you already have Nswers, I am just too curious.

Arch does not seem like the kind of distro to run from a live state (or a static state of the install media). Talk about an OS that really works best with updating.

So, what am I missing here?