| Post Reply | RetroFed Forum Forum Index » Recommendations |
| Author | Message | ||
|---|---|---|---|
|
calcoline582
programming.dev
calcoline582@programming.dev Joined: 2026-02-16 |
Hello, I have a bunch of personal data - videos, pictures, documents, PDFs etc. that I want to backup. I am wondering what is the best way to do this? Requirements -
Questions -
Please feel free to suggest any alternatives or improvements to my plan? |
||
| 11 Original | |||
|
rumschlumpel
feddit.org
rumschlumpel@feddit.org Joined: 2024-06-23 |
How comfortable are you with commandline and scripting? I just made a couple of scripts that use rsync for backup and luks for encrypting that backup, plus cron for backups to always-attached drives (this is on Linux, would probably be significantly harder if you use Windows). |
||
| 2 | |||
|
kuroshido
ani.social
kuroshido@ani.social Joined: 2023-07-22 |
Not sure if your intention is to keep things local or not, but I’ve previously used backblaze personal backup. It’s really good and checks a lot of boxes. I don’t know if it fits your use case, but it’s a great solution at a decent price. |
||
| 2 | |||
|
Slapplebags
lemmy.world
Slapplebags@lemmy.world Joined: 2023-06-09 |
ZFS + zfs_autobackup on one or more external drives. Does encryption, can be imported to a new machine, even offers versioning via snapshots. For long term spinning disks generally does better than flash. |
||
| 1 | |||
Björn
swg-empire.de
bjoern_tantau@swg-empire.deJoined: 2023-07-08 |
Never had any problems accessing a Borg backup either from the device where it was created or the device where it was stored. I could easily add new folders to my backup script. Mounting a backup is a user friendly way of restoring some or all files. Borg is especially nice because it retains a history of file changes. I always backup my configuration and backup script as well. Maybe backing those up as a separate clear text copy can help you with restoring later in case of catastrophic loss. |
||
| 4 | |||
|
H Ramus
piefed.social
h_ramus@piefed.social Joined: 2025-06-07 |
Use Vorta GUI for Borg backup on a network drive. Runs a weekly backup and it's been fine so far. On another machine use an external HDD to backup periodically. Have restored from it without issues. You can mount each of the snapshots and copy individual or the whole backup to your selected directory. |
||
| 2 | |||
|
Daisy (she/her)
lemmy.ml
TechieDamien@lemmy.ml Joined: 2021-06-26 |
I used Borg to migrate my setup from one machine to another. Worked like a charm. Since it was a complete backup, I just needed to change machine specific files, like fstab and removal of nvidia drivers. Beyond that, it just worked. |
||
| 2 | |||
|
calcoline582
programming.dev
calcoline582@programming.dev Joined: 2026-02-16 |
Never had any problems accessing a Borg backup either from the device where it was created or the device where it was stored. I could easily add new folders to my backup script. Mounting a backup is a user friendly way of restoring some or all files. Borg is especially nice because it retains a history of file changes. I always backup my configuration and backup script as well. Maybe backing th...
What do you mean by configuration and backup script? Configuration as in dotfiles? What does a backup script look like? Like a list of borg commands - one for each directory + repo which you want to backup? Or something more? |
||
| 0 | |||
|
calcoline582
programming.dev
calcoline582@programming.dev Joined: 2026-02-16 |
How comfortable are you with commandline and scripting? I just made a couple of scripts that use rsync for backup and luks for encrypting that backup, plus cron for backups to always-attached drives (this is on Linux, would probably be significantly harder if you use Windows).
Yeah I use Linux and am comfortable with command line. I am not looking for continuous backup though. I would occasionally add stuff to backup - like every few months or so. I also want the incremental backup part - not sure if encrypting backed up data using luks would allow incremental addition later on. I will check rsync and luks. If you have any resources, please feel free to post here. |
||
| 1 | |||
|
calcoline582
programming.dev
calcoline582@programming.dev Joined: 2026-02-16 |
ZFS + zfs_autobackup on one or more external drives. Does encryption, can be imported to a new machine, even offers versioning via snapshots. For long term spinning disks generally does better than flash.
This would require me to have a ZFS partition first and transfer my data on it, right? Right now I am not using ZFS, but for next OS reinstall, I might try it. Thank you. |
||
| 0 | |||
Björn
swg-empire.de
bjoern_tantau@swg-empire.deJoined: 2023-07-08 |
What do you mean by configuration and backup script? Configuration as in dotfiles? What does a backup script look like? Like a list of borg commands - one for each directory + repo which you want to backup? Or something more?
The configuration is whatever borg saved in ~/.config. A script would have commands to
I have my backups set up to retain a two year old archive, a one year old one, one for the last twelve months, last four weeks and last seven days. |
||
| 1 | |||
|
rumschlumpel
feddit.org
rumschlumpel@feddit.org Joined: 2024-06-23 |
Yeah I use Linux and am comfortable with command line. I am not looking for continuous backup though. I would occasionally add stuff to backup - like every few months or so. I also want the incremental backup part - not sure if encrypting backed up data using luks would allow incremental addition later on. I will check rsync and luks. If you have any resources, please feel free to post here.
It does, luks just adds an extra command for mounting the drive, after that it's a normal mounted filesystem where you can add, delete, edit as you see fit. Here is a sensible guide to setting up an external drive with luks: https://comfy.guide/client/luks/ Here's a resource that explains rsync's exclude option and many of the core workings of rsync: https://linuxvox.com/blog/using-rsync-filter-to-include-exclude-files/ Have an example from my own backup script:
Here's a resource that helped me refresh what rsync's "filter" option does: https://superuser.com/questions/161766/how-to-exclude-rsync-excludes-from-delete. TBH I need to look into that more, it's been a long while since I wrote that script and there's probably more things you can do with the filter option. |
||
| 2 | |||
| Post Reply |
Back to top |