Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. How do you backup?

How do you backup?

Scheduled Pinned Locked Moved Linux
linux
61 Posts 50 Posters 370 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • strit@lemmy.linuxuserspace.showS [email protected]

    My systems are all on btrfs, so I make use of subvolumes and use brkbk to backup snapshots to other locations.

    A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #18

    Same! This works really well.

    1 Reply Last reply
    0
    • Z [email protected]

      Thanks for your hint towards borgbackup.

      After reading the Quick Start of Borg Backup they look very similar. But as far as I can tell, borg can be encrypted and compressed while restic is always. You can mounting your backups in restic to. It also seems that restic supports more repository locations such as several cloud storages and via a special http server.

      I also noticed that borg is mainly written in python while restic is written in go. That said I assume that restic is a bit faster based on the language (I have not tested that).

      D This user is from outside of this forum
      D This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #19

      It was a while ago that I compared them so this may have changed, but one of the main differences that I saw was that borg had to backup over ssh, while restic had a storage backend for many different storage methods and APIs.

      1 Reply Last reply
      0
      • Z [email protected]

        I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
        It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

        But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

        D This user is from outside of this forum
        D This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #20

        There’s nothing saved on my system I couldn’t afford to lose. All my work stuff is saved in Google Drive for better or worse. I have a few small files in a personal Proton Drive that I backup manually. I wipe my own system a few times a year and I rarely ever save anything first. Honestly very refreshing to live your life like that. Other than my cat, pretty much all my possessions could disappear tomorrow and I’d get over it pretty quickly.

        1 Reply Last reply
        0
        • Z [email protected]

          I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
          It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

          But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

          I This user is from outside of this forum
          I This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #21

          Backup? What?

          T 1 Reply Last reply
          0
          • G [email protected]

            I'm curious, is there a reason why noone uses deja-dup? I use it with an external SSD on Ubuntu and (receently) Mint, where it comes pre-installed, and did not encounter Problems.

            M This user is from outside of this forum
            M This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #22

            What do you backup with dejadup? Everything under /home?

            G 1 Reply Last reply
            0
            • Z [email protected]

              I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
              It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

              But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

              R This user is from outside of this forum
              R This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #23

              I use borg the same way you describe. Part of my nixos config builds a systemd unit that starts a backup on various directories on my machine at midnight every day. I have 2 repos: one to store locally and on a cloud backup provider (borgbase) and another thats just stored locally. That is, another computer in my house. That local only is for all my home media. I havent yet put the large dataset of photos and videos on the cloud or offsite.

              1 Reply Last reply
              0
              • Z [email protected]

                I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                pika@sh.itjust.worksP This user is from outside of this forum
                pika@sh.itjust.worksP This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #24

                for my server I use proxmox backup server to an external HDD for my containers, and I back up media monthly to an encrypted cold drive.

                For my desktop? I use a mix of syncthing (which goes to the server) and windows file history(if I logged into the windows partition) and I want to get timeshift working I just have so much data that it's hard to manage so currently I'll just shed some tears if my Linux system fails

                1 Reply Last reply
                0
                • I [email protected]

                  Backup? What?

                  T This user is from outside of this forum
                  T This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #25

                  Your car.

                  1 Reply Last reply
                  0
                  • Z [email protected]

                    I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                    It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                    But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                    hallettj@leminal.spaceH This user is from outside of this forum
                    hallettj@leminal.spaceH This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #26

                    My conclusion after researching this a while ago is that the good options are Borg and Restic. Both give you incremental backups with cheap timewise snapshots. They are quite similar to each other, and I don't know of a compelling reason to pick one over the other.

                    Z 1 Reply Last reply
                    0
                    • Z [email protected]

                      I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                      It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                      But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                      D This user is from outside of this forum
                      D This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #27

                      rsync 😪

                      1 Reply Last reply
                      0
                      • Z [email protected]

                        I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                        It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                        But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                        ? Offline
                        ? Offline
                        Guest
                        wrote on last edited by
                        #28

                        I rsync ~/ to a USB nub. A no brainer.

                        1 Reply Last reply
                        0
                        • V [email protected]

                          I've found that the easiest and most effective way to update is with an rsync cron job. It's super easy to setup (I had no prior experience with either rsync or cron and it took me 10 minutes) and to configure. The only drawback is that it doesn't create differential backups, but the full task takes less than a minute every day so I don't consider that a problem. But do note that I only backup my home folder, not the full system.

                          For reference, this is the full line I use:
                          sync -rau --delete --exclude-from='/home/<myusername>/.rsync-exclude' /home/<myusername> /mnt/Data/Safety/rsync-myhome

                          ".rsync-exclude" is a file that lists all files and directories I don't want to backup, such as temp or cache folders.

                          E This user is from outside of this forum
                          E This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #29

                          only drawback is that it doesn't create differential backups

                          This is a big drawback because even if you don't need to keep old versions of files, you could be replicating silent disk corruption to your backup.

                          S 1 Reply Last reply
                          0
                          • hallettj@leminal.spaceH [email protected]

                            My conclusion after researching this a while ago is that the good options are Borg and Restic. Both give you incremental backups with cheap timewise snapshots. They are quite similar to each other, and I don't know of a compelling reason to pick one over the other.

                            Z This user is from outside of this forum
                            Z This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #30

                            As far as I know, by definition, at least restic is not incremental. It is a mix of full backup and incremental backup.

                            1 Reply Last reply
                            0
                            • Z [email protected]

                              I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                              It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                              But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                              lattrommi@lemmy.mlL This user is from outside of this forum
                              lattrommi@lemmy.mlL This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #31

                              I want to say I'm glad you asked this and thank you for asking. In this day and age there are a lot of valid concerns for privacy and anonymity and the result is that people do not share how their system(s) work, not openly or very often. I'm still fairly new to Linux (3.5 years) and at times, I feel like I am doing everything wrong and that there is probably a better way. Posts like these help me learn about possible improvements or mistakes I might have made.

                              I previously used Vorta with Borgbackup locally, automatically backing up my Home (sans things like .cache and .mozilla) to a secondary internal drive every other day. I also would manually back up a smaller set of important documents (memes and porn #joke) to a USB flash drive, to keep on my person, which also would be copied across several cloud storage providers (dropbox, mega, proton), depending on how much space their free versions provided, with items removed according to how much I trusted the provider.

                              Then I built a new system. In the process of setting it all up, I had a few hiccups. It took longer than I expected to have a stable system. That was over a year ago (stat / ...Birth: 2024-02-05 04:20:53...) and I still haven't gotten around to setting up any backup system on it. I want to rethink my old solution and this post is useful for learning about the options available. It's also a reminder to get it done before it is too late. Where I live, tornado season in starting. I lost a lot in 2019 after my city had 4 tornados in one day.

                              1 Reply Last reply
                              0
                              • Z [email protected]

                                I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                                It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                                But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                                B This user is from outside of this forum
                                B This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #32

                                Borg to a NAS.

                                500GB of that NAS is "special" so I then rsynx that to another Drive, of which is is duplicated again.

                                Same 500GB rsync'd to Cloud Server.

                                1 Reply Last reply
                                0
                                • V [email protected]

                                  I've found that the easiest and most effective way to update is with an rsync cron job. It's super easy to setup (I had no prior experience with either rsync or cron and it took me 10 minutes) and to configure. The only drawback is that it doesn't create differential backups, but the full task takes less than a minute every day so I don't consider that a problem. But do note that I only backup my home folder, not the full system.

                                  For reference, this is the full line I use:
                                  sync -rau --delete --exclude-from='/home/<myusername>/.rsync-exclude' /home/<myusername> /mnt/Data/Safety/rsync-myhome

                                  ".rsync-exclude" is a file that lists all files and directories I don't want to backup, such as temp or cache folders.

                                  ? Offline
                                  ? Offline
                                  Guest
                                  wrote on last edited by
                                  #33

                                  Rsync can do incremental backups with a command-line switch and some symlink jugglery. I'm using it to back up my self-hosted stuff.

                                  1 Reply Last reply
                                  0
                                  • Z [email protected]

                                    I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                                    It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                                    But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                                    C This user is from outside of this forum
                                    C This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #34

                                    I use BorgBackup with Vorta for a GUI, and I keep the 3-2-1 backup rule for important stuff (IE: 3 copies, 2 on different media, 1 off-site.)

                                    1 Reply Last reply
                                    0
                                    • Z [email protected]

                                      I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                                      It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                                      But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                                      L This user is from outside of this forum
                                      L This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #35

                                      My kmymoney file goes on an old compact flash memory card.

                                      My home directory (including that file), /etc, databases, and a few other things get backed up weekly on to a USB stick.

                                      Media raid array is automatically backed up to a large drive in another computer each evening. (The raid5 array isn't that large. It was when I built it, but now I can buy a single drive that is nearly as large as the array...)

                                      Pictures are backed up to Amazon's glacier deep freeze. I pay about $1/month to back up all of my pictures. I intend to put other important things there too but haven't gotten there yet.

                                      1 Reply Last reply
                                      0
                                      • E [email protected]

                                        only drawback is that it doesn't create differential backups

                                        This is a big drawback because even if you don't need to keep old versions of files, you could be replicating silent disk corruption to your backup.

                                        S This user is from outside of this forum
                                        S This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #36

                                        It’s not a drawback because rsync has supported incremental versioned backups for over a decade, you just have to use the --link-dest flag and add a couple lines of code around it for management.

                                        E 1 Reply Last reply
                                        0
                                        • Z [email protected]

                                          I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
                                          It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

                                          But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

                                          S This user is from outside of this forum
                                          S This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #37
                                          1. My KVM hosts use “virsh backup begin” to make full backups nightly.

                                          2. All machines, including the KVM hosts and laptops, use rsync with --link-dest to create daily incremental versioned backups on my main backup server.

                                          3. The main backup server pushes client-side encrypted backups which include the latest daily snapshot for every system to rsync.net via Borg.

                                          4. I also have 2 DASs with 2 22TB encrypted drives in each. One of these is plugged into the backup server while the other one sits powered off in a drawer in my desk at work. The main backup server pushes all backups to this DAS weekly and I swap the two DASs ~monthly so the one in my desk at work is never more than a month or so out of date.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups