this post was submitted on 22 Jul 2024
120 points (96.9% liked)

Linux

48038 readers
762 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
120
submitted 3 months ago* (last edited 3 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
[–] [email protected] 13 points 3 months ago* (last edited 3 months ago) (2 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] 5 points 3 months ago

If it works reliably who cares?

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

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

are you scping them together?

[–] [email protected] 2 points 3 months ago* (last edited 3 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 3 months ago (1 children)

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

[–] [email protected] 2 points 3 months ago

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