this post was submitted on 03 Jul 2026
45 points (97.9% liked)

Selfhosted

60482 readers
1188 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Language warning.

Documented my journey backing up my Oracle Cloud server. With their latest changes to always free, I don’t think my instance will last very long. This isn’t a tutorial, there are probably many much better ways to do this.

top 12 comments
sorted by: hot top controversial new old
[–] TheHolm@aussie.zone 8 points 3 days ago (1 children)

nfs over the internet is usually bad idea. Network delays is killer for NFS. You can use ssh instead. And add some mbuff for better results.

[–] naeap@sopuli.xyz 1 points 3 days ago (1 children)

I'm completely with you regarding ssh/scp
But I don't know what you mean with mbuff (guess, memory buffer?)
Haven't found anything with a quick search, but as I often need ssh/scp to work through customer VPNs, everything that makes that faster or more stable is a very welcomed thing :⁠-⁠)

[–] TheHolm@aussie.zone 3 points 2 days ago (1 children)

Sorry, not mbuff but mbuffer. It just adding a memory buffer between STDIN and STDOUT. Useful to smooth data flow, so reading from disk do not need to wait for SSH to transmit and other way around. In you case it cold be something like that. ( I'm writing command from memory, do not use it unless checked)

dd if=/dev/sda bs=16M | mbuffer -s 128k -m 2G -o - | ssh remoteuser@remote.host.com dd of=/storage/backup.img

[–] naeap@sopuli.xyz 1 points 2 days ago

Ah, thank you!

[–] ramius345@sh.itjust.works 3 points 3 days ago* (last edited 3 days ago)

I've done similar things with ssh pipe tunneling and dd ala:

,,, dd if=/dev/sda | ssh user@host "dd of=/some/other/file/or/disk" ,,,

Should really do it while the root is ro, but in a pinch this will mostly be ok on a quiet machine.

You might be able to run rsync afterwards to spot check if you are paranoid.

If you didn't need block level I would have suggested just using rsync or rclone.

[–] irmadlad@lemmy.world 1 points 3 days ago

I've never had an Oracle Cloud server. However, I do image backups of the server once a month, then test them in a VM, After hearing so much about Borg, I finally pulled the trigger and ran it from the cli for a while. Then I deployed Borg UI, and that's pretty amazing. I used to use Duplicati, but while Duplicati seems great at making backups, it's not so keen about doing restores. At least, that's my experience.

[–] gajahmada@awful.systems 1 points 3 days ago (1 children)

Way over my head for filthy casual like me, but I get the gist.

I also have OCI instance (it just run wireguard), so what is the proper way of doing this?

[–] german@pawb.social 1 points 3 days ago

Not sure, I would guess paying Oracle for another instance, attaching the target boot drive as a separate one to it and backing it up non-live, and to a better storage provider than NFS over Tailscale.

Or someone also said their custom images thing has a download option. That also needs payment.

[–] fightforlife@lemmy.world 1 points 3 days ago

I only use this really to get a free public ipv4. (Since not all clients support ipv6 only) Is there any other free/better way to get an ipv4?

[–] AbidanYre@lemmy.world 1 points 3 days ago (1 children)

What changes are they making to always free?

[–] frongt@lemmy.zip -1 points 3 days ago

Yeah that's a reasonable way to take a backup. I mean I would have recommended an actual backup tool, but dd is perfectly good. Especially since you zeroed as much as you can, since you didn't have a tool skipping unused blocks.

But the Wi-Fi bit was pretty gross, yeah. Fine to test but never ever for something I actually wanted to use.