selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

ShortN0te, in Should I use Restic, Borg, or Kopia for container backups?

I started out with borg. Basically had no problems with it. Then i moved to Restic. For the past few years i am using it, i never experienced any issue with it. Can only recommend Restic.

SeeJayEmm,
@SeeJayEmm@lemmy.procrastinati.org avatar

Going to second the restic recommendation. I’m using it for most of my backup needs and find it easy, fast, and reliable.

mik,

What backend do you use for restic?

mlaga97,

I backup to an external drive and then rclone copy that up to backblaze B2

ShortN0te,

Restic connects via SSH to my Backup Storage.

droolio, (edited ) in Should I use Restic, Borg, or Kopia for container backups?

IMHO, Duplicacy is better than all of them at all those things - multi-machine, cross-platform, zstd compression, encryption, incrementals, de-duplication.

oDDmON,

The subscription model is a wee bit off putting. I employ old hardware and don’t wish to be frog marched into an update/grade that could break that.

Have seen it happen before, been in IT too fucking long not to.

droolio,

Yes, I also work in IT.

The paid GUI version is extremely cautious on the auto-updates (it’s basically a wrapper for the CLI) - perhaps a bit too cautious. The free CLI version is also very cautious about making sure your backup storage doesn’t break.

For example, they recently added zstd encryption, yet existing storages stay on lz4 unless you force it - and even then, the two compression methods can exist in the same backup destination. It’s extremely robust in that regard (to the point that if you started forcing zstd compression, or created a new zstd backup destination, you can use the newest CLI to copy data to the older lz4 method and revert - just as an example). And of course you can compile it yourself years from now.

oDDmON,

Thanks for the info, may look into it further.

Atemu,
@Atemu@lemmy.ml avatar

Note that while they’re disingenuously proclaiming themselves to be a “free” tool, the license is actually an unfree proprietary custom license.

droolio,

The licence is pretty clear - the CLI version is entirely free for personal use (commercial use requires a licence, and the GUI is optional). If you don’t like the licence, that’s fine, but it’s hardly ‘disingenuous’ when it is free for personal use, and has been for many years.

hersh,

Thank you for saving me the trouble of investigating this as an option.

No reason to tolerate proprietary licenses when there are so many viable FLOSS solutions out there.

Nyfure,

I mean the tools mentioned also support these features, how does duplicacy and its prorpietary software make them better?

epyon22, in Should I use Restic, Borg, or Kopia for container backups?

I setup a script to backup my lvm volumes with kopia. About to purchase some cloud storage to send it off site. Been running for a while de duplication working great. Encryption working as far as I can tell. The sync to other repo option was the main seller for me.

rambos,

Daily backup to backblaze b2 and also to local storage with kopia. Its been running for a year I think, no issues at all. I didnt need a real backup yet, just did some restore tests so far

mlaga97, in Should I use Restic, Borg, or Kopia for container backups?

I use restic with a local external drive that is then synced to backblaze b2 via rclone.

qaz, (edited )

Why did you choose this option instead of directly syncing it with restic’s rclone backend?

mlaga97,

An external hard drive is a lot faster than my internet connection and helps fulfill 3-2-1 requirements.

qaz,

So no reliability issues with the rclone backend then?

mlaga97,

Not actually used it. I started off doing local backups, B2 was an add-on way later down the road.

Unchanged3656, (edited )

Does it though? I had a similar setup in the past, but I did not feel good with it. If your first backup corrupts that corruption is then synced to your remote location. Since then I have two separate backup runs for local and remote. But restic as well with resticprofile. Remote is a SFTP server. For restic I am using the rclone backend for SFTP since I had some connection issues with the internal SFTP backend (on connection resets it would just abort and not try to reconnect, but I think it got improved since then)

mlaga97,

I only do automated copy to B2 from the local archive, no automated sync, which as far as I understand should be non-destructive with versioning enabled.

If I need to prune, etc. I run will manually sync and then immediately restic check --read-data from a fast VPS to verify B2 version afterwards.

SeriousBug, in Should I use Restic, Borg, or Kopia for container backups?

I’ve been using Kopia for all my backups for a couple years, both backing up my desktop and containers. It’s been very reliable, and it has nice features like being able to mount a backup.

qaz,

Have you ever used Restic before?

SeriousBug,

No.

Nyfure, (edited ) in Should I use Restic, Borg, or Kopia for container backups?

Was using borg, was a bit complicated and limited, now i use kopia.
Its supposed to support multiple machines into a single repository, so you can deduplicated e.g. synced data too, but i havent tested that yet.

TurboLag,

What were the limitations of borg that you ran into?

Nyfure,

Index of repositories is held locally, so if you use the same repository with multiple machines, they have to rebuild their index every time they switch.
I also have family PCs i wanted to backup too, but borg doesnt support windows, so only hacky WSL would have worked.
But the worst might be the speed of borg.. idk what it is, but it was incredibly slow when backing up.

lemmyvore,

if you use the same repository with multiple machines, they have to rebuild their index every time they switch

I’m a beginner with Borg so sorry in advance if I say something incorrect l. I backup the same files to multiple distinct external HDDs and my solution was to use distinct repos for each one. They have different IDs so the caches are different too. The include/exclude list is redundant but I can live with that.

Lem453, (edited ) in Should I use Restic, Borg, or Kopia for container backups?

Borg (specifically Borg Matic) has been working very well for me. I run it on my main server and then on my Nas I have a Borg server docker container as the repository location.

I also have another repository location my on friends Nas. Super easy to setup multiple targets for the same data.

I will probably also setup a Borg base account for yet another backup.

What I liked a lot here was how easy it is to make automatic backups, retention policy and multiple backup locations .

Open source was a requirement so you can never get locked out of your data. Self hosted. Finally the ability to mount the backup as a volume / drive. So if I want a specific file, I mount that snapshot and just copy that one file over.

loganb, in Should I use Restic, Borg, or Kopia for container backups?

Highly recommend restic. Simple and flexible. Plus I’ve actually used it on two occasions to recover from dead boot drives.

m, in Should I use Restic, Borg, or Kopia for container backups?
@m@tthi.as avatar

I’m using Autorestic, a wrapper for Restic that lets you specify everything in a config file. It can fire hooks before/after backups so I’ve added it to my healthchecks instance to know if backups were completed successfully.

One caveat with Restic: it relies on hostnames to work optimally (for incremental backups) so if you’re using Autorestic in a container, set the host: option in the config file. My backups took a few hours each night until I fixed this - now they’re less than 30 minutes.

cosmic_slate, in What happens to my instance if my domain expires?
@cosmic_slate@dmv.social avatar

If someone else buys the domain, then your instance likely won’t exist anymore and you’ll have to get a new domain.

Spend the $12/yr on a .com, it’s a lot less of a headache in the long-run.

accidentalloris,

Yes! I got a cheap .tech domain, and it kept increasing price year after year. Eventually it got a lot cheaper to just grab a .com.

Cloudflare has the best prices for domain names, they sell them at cost

HotChickenFeet,

Is .com fixed in some way to prevent the same scaling? I thought it was basically the domain sellers increasing the prices year over year

axzxc1236,

Pick one of the address between 000000.xyz to 999999999.xyz they are sold and renewed at dirt cheap prices.

HKayn, in What happens to my instance if my domain expires?
@HKayn@dormi.zone avatar

Your instance will still exist, and federation should continue as normal if you manage to reclaim the original domain.

If you have to switch to a new one, however, federation will be very awkward. Other instances will essentially treat you as a brand-new instance, and mirrors of old content will be “orphaned” and no longer sync.

lemann, in What happens to my instance if my domain expires?

When your domain is close to running out, you should either get an email from your registrar asking you to renew, or a payment notification telling you that your domain will be renewed for whatever price automatically.

If the payment fails, the domain will be temporarily suspended. There is a grace period where nobody can buy that domain, allowing you to settle the missed payment. If you do not settle the payment, the domain will be put back up for sale

None of this affects whatever services you’re running on your Pi, people just won’t be able to connect to it if your domain is suspended.

I’d suggest looking into SSL certificates (Letsencrypt is free) as well as Cloudflare for masking your Pi (your home) IP address from users of your instance - do note this has privacy implications: cloudflare becomes a MITM for your site

Freenom is being sued by Meta (Facebook) at the moment for supposedly not dealing with spam domains. I would not recommend using a Freenom domain if/when they reopen registrations: FMHY had their old Freenom lemmy instance domain seized by Mali’s government

redcalcium, in What happens to my instance if my domain expires?

I don’t think you can change your lemmy instance’s domain yet. Afaik there is no official way to do it. FMHY lost their domain (they are using a free domain and lost it) and was attempting to switch to a new domain for their instance and developing a tool to migrate to a new domain, but somehow decided to start fresh and discard their old data instead. No idea what happen with the migration tool they were working on (is it actually working? did they actually released the code?), so save yourself some headache and make sure to never lost your domain, which means don’t use free domain because that domain isn’t actually yours and can be yanked without any notice.

russjr08,

Yeah, AFAIK ActivityPub itself heavily relies on the domain being part of your identity - so its not really possible to change the domain on any of them, along with other federation implementations such as Matrix.

This is why while Mastodon allows for profile transfers, it doesn’t transfer your post content - it simply just sends a signal to your followers to unfollow your old account and follow your new one. The actual content itself is intrinsically tied to your identity on the old domain.

CrimeDad, (edited )

That seems like an oversight. ActivityPub should rely on some sort of certificate or cryptographic signature instead of a domain which might have to occasionally change.

russjr08,

ActivityPub does use cryptographic keys for Actors (“users” in this case) - so even in theory if you were to destroy your instance and then set it up on the same domain and recreate the user, things would be quite broken still… But unfortunately it still does rely on the domain name itself, so I agree.

I think the problem is, without the domain name, there is no way for you to lookup who @russjr08 would be, or where to send data to them. The domain effectively acts as a mailing address (a well suited analogy considering that ActivityPub also uses inboxes/outboxes) so that Instance A always knows that User B can be found on Instance B.

I doubt its an impossible challenge to solve, but probably quite a difficult one I’m sure.

SmashingSquid, in What happens to my instance if my domain expires?

I would spend the money on a domain. There’s lots of new TLDs to choose from and some are cheap. A .stream domain is $3.99 at namesilo as is .link.

cmnybo,

The .stream domains renew at almost twice the cost of a .com after the first year. Most of the cheap domains renew at a much higher price.

SmashingSquid,

I was going by sorting tldlist by renewal price but I see now the price doesn’t match. .link is cheap to renew.

zzzz, in Take CONTROL Of Your EV with Home Assistant! (A Nerdy Show and Tell)

Sorry, the video takes too long to get to the subject it claims to be about.

ChaoticEntropy,
@ChaoticEntropy@feddit.uk avatar

I think the worst I watched was someone speaking for 5-10 minutes about their bitter divorce before getting to the subject matter.

DreadPotato,
@DreadPotato@sopuli.xyz avatar

The thumbnail alone is reason to avoid the video entirely.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #