23
submitted 4 months ago by cyberwolfie@lemmy.ml to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] cyberwolfie@lemmy.ml 3 points 4 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 5 points 4 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 4 points 4 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 2 points 4 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.

this post was submitted on 20 Jul 2024
23 points (96.0% liked)

Linux

48349 readers
643 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS