• 0 Posts
  • 166 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


  • atzanteol@sh.itjust.workstoSelfhosted@lemmy.worldLocal backup on TrueNAS
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    8 months ago

    For local backup I like rsnapshot. It’s a script that uses rsync and hard links to create incremental backups.

    The thing about it is that it’s super simple and easy to restore from since you just get a bunch of directories like “daily.0” and “daily.1”. To restore you just find the files you want with standard tools like find and locate and just copy files out.

    There are other more advanced tools like restic, borg, duplicacy, etc. I use things like that for the off-site backups (I backup the “daily.0” directory from my rsnapshot backups).








  • atzanteol@sh.itjust.workstoSelfhosted@lemmy.worldHow responsive is your Nextcloud?
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    edit-2
    8 months ago

    What is it you think the “metal” is in in the phrase “running on bare metal?”

    Your comment is irrelevant. Who cares in what directory or disk image the packages are installed? If I run in a “chroot jail” am I not “running on bare metal?” What if I include a library in /opt/application/lib? Does it matter if the binaries are on an NFS share? This is all irrelevant.

    The phrase means to be not running in any emulation. To answer my question above - the “metal” is the CPU (edit: and other hardware).

    edit2: I mean - it’s the defining characteristic of containers that they execute on bare metal unlike VMs and (arguably - I won’t get into it) hypervisors. There is no hardware abstraction at all. They just run natively.



  • You’ve told us nothing about your hardware.

    I’ve been running nextcloud for some time with this setup:

    KVM virtual machine with 4 cores / 8 GiB RAM
    docker image: `nextcloud:28.0.2-apache` with db: `mariadb:11.1`
    

    The UI has never been what one would call… “fast”. Especially on first load of a page or directory. It’s been adequate for me though. Once I click around a bit it caches enough things to feel fairly responsive. I also mount /var/lib/nextcloud off a network share so I’m sure that hits my performance some as well.

    Nextcloud leans on the database a lot so be sure to have a local and quick storage for it (no - don’t run it on your raspberry pi). There are also cleanup cron jobs and indexes that need to be updated when doing upgrades that help performance as well.