this post was submitted on 22 Jul 2024
116 points (96.8% liked)

Linux

48314 readers
377 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
116
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

Either self-hosted or cloud, I assume many of you keep a server around for personal things. And I'm curious about the cool stuff you've got running on your personal servers.

What services do you host? Any unique stuff? Do you interact with it through ssh, termux, web server?

you are viewing a single comment's thread
view the rest of the comments
[–] Veraxis 13 points 4 months ago* (last edited 4 months ago) (5 children)

Two old HP thin client PCs configured as 4TB SFTP file servers using vsftpd on Debian. Each one uses software RAID 1 with both an NVMe and SATA SSD internally, and are in two separate locations with a cron job which syncs one to the other every 24 hours.

People who actually know what they are doing will probably find this silly, but I had fun and learned a lot setting it up.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago) (3 children)

tell me about the cron thing. im thinking of doing just that on mine for backup.

are you scping them together?

[–] Veraxis 2 points 4 months ago* (last edited 4 months ago) (1 children)

I am using lftp and mirror. One server functions as the "main" server, which mirrors the backup server to itself once per day at a specific time (they both run 24/7 so I set it to run very early in the morning when it is unlikely to be accessed).

In my crontab I have:

# # * * * /usr/bin/lftp -e "mirror -eRv [folder path on main server] [folder path on backup server]; quit;" sftp://[user]@[address of backup server]:[port number]

[–] [email protected] 2 points 4 months ago (1 children)

til about lftp. i'm gonna be testing that one out thanks

[–] Veraxis 2 points 4 months ago

No problem! Glad I could be of help, and best of luck on your project.

load more comments (1 replies)
load more comments (2 replies)