I want to mirgrate my Nextcloud instance from a VPS to server in my home. I run the Nextcloud AIO Docker container, which uses Borg backup. The backup repo is about ~70 GB.

How would I best go about transferring it? Is using scp a good solution here (in combination with nohup so that I don’t have to keep my ssh session active)? Or is there some other best practice way of doing this?

  • cyberwolfieOP
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    Nice, need to check out mscp! Thanks for the tip!

    If I had a stationary computer running, I would probably keep it running in a terminal window. I could connect a monitor to the server, but I don’t think it will be necessary. I will need to verify the backup before I restore it anyway, and it is not time urgent, so that if something goes wrong I can restart.

    • solrize@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 months ago

      For some reason scp has long delays between file transfers. Rsync is a lot better. I didn’t know about mscp but rsync has sufficed for me.

    • taaz@biglemmowski.win
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      I would definitely screen it too, just to shield against my own errors (like closing the term window) bar that, I think any typical transfer tool would work, scp, rsync, …

    • solrize@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Write a trivial shell script that does your scp or rsync or whatever, then run it in the background with nohup, and you won’t have to worry about disconnects unless the box crashes. You can view progress by looking at nohup.out.