this post was submitted on 15 Jun 2025
42 points (97.7% liked)

Linux

55310 readers
884 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 6 years ago
MODERATORS
 

For example, iOS has these features:

  • iCloud backup restore or peer-to-peer transfer, very early in the device setup process
  • Two ways for things to be stored in iCloud, each with a corresponding list of per-app (not per-folder) toggle switches in iCloud Settings
    • "Saved to iCloud" normal syncing
      • Requires apps to use the right APIs and to handle conflicting changes
      • Allows same data to be read and modified by multiple devices
    • iCloud backup
      • Available for all apps
      • Separate backup per device
      • Only downloaded when setting up a new device
      • In app sandboxes, only excludes tmp (Flatpak equivalent is somewhere in /run) and Library/Caches (equivalent to cache directory in Flatpak sandbox) by default
      • Allows apps to set isExcludedFromBackup attribute for specific files (useful for things that are easy to recreate via download but are expected by the user to not be automatically deleted)
      • Includes system configuration such as home screen layout
      • Backs up a list of installed apps without backing up their executables and assets
  • Synced list of previously installed apps, not separate per-device
you are viewing a single comment's thread
view the rest of the comments
[–] hexagonwin@lemmy.sdf.org 3 points 1 day ago (1 children)

For backup, one can simply rsync their entire home directory.

NFS for shared directory, maybe syncthing to have locally synced stuff, scp for sharing files?

[–] pmk@lemmy.sdf.org 1 points 1 day ago (2 children)

I've had this idea a few times over the years, but I always get stuck at figuring out: what is it actually I want to happen? If I remove a local file, should it be removed from the backup too? If I edit a file, should the newer version replace the old in the backup, or be saved separately, or just the delta between the files? I could never decide what I wanted.

[–] pemptago@lemmy.ml 1 points 1 day ago

Not that I have it all figured out, but it sounds like it would help to decouple backup from sync. I have syncthing keep a two-way sync, including deletes, but have syncthing's trash as a "backup" (items deleted after n-days) on each device in case I accidentally delete something. Then I have a nightly, encrypted backups with versions stored offsite (eg borg) which is only meant to be used if there's major failure like a flood or fire. HDD failure is covered by RAID10 NAS. Somewhere in there I have or need a data integrity/hash check, but at least it's a start.

[–] hexagonwin@lemmy.sdf.org 2 points 1 day ago

Same. I still haven't figured out so my setup is a horrible mess with nfs, rsync and a bunch of symlinks.. and no structured backup