You are not logged in.
Hello all,
I have an headless server running few services (i.e. Plex, Jellyfin, pyLoad, etc) and have couple of questions.
I just added a third hard drive to it, the first one being a SSD for the system and home - the second one is for media, and now the third one is to back up the second one that contains all my photos, videos, music collection etc.
Now I have been reading about setting up RAID but I am concerned with the setup and the clear warning message on the wiki that the setup can lead to data loss.
And on top of that the server does not run all the time but only when someone is consuming media.
So my question is what is the best options to achieve that back up? Also, to add to that not all folder needs to be mirrored and files must be deleted on the back up when they are deleted on the original drive.
Also, I realised that my root drive was full last night - so I cleaned pacman cache folder and free up some space but it is still used above the level I would assume it needs.
Is there a tool that I can use to drill down and find those larger files? I used dh and du but it's not very useful to drill down.
Any help would be appreciated.
thank you for reading
Offline
Now I have been reading about setting up RAID but I am concerned with the setup and the clear warning message on the wiki that the setup can lead to data loss.
RAIDn != backup. Eg.: what if your machine caught on fire? In this scenario RAID is pretty useless.
If you'll have a look at the WIKI, you'll find out a lot of infos about Backups and a lot of ways of doing it: https://wiki.archlinux.org/title/Synchr … p_programs.
I am not a backup expert, so let's wait for someone more knowledgeable on the subject to jump in here. ![]()
Also, I realised that my root drive was full last night - so I cleaned pacman cache folder and free up some space but it is still used above the level I would assume it needs.
# du -h -s -x --exclude=/dev --exclude=/run --exclude=/mnt --exclude=/proc --exclude=/sys /*<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Is there a tool that I can use to drill down and find those larger files? I used dh and du but it's not very useful to drill down.
Try ncdu.
Offline
So my question is what is the best options to achieve that back up?
Put the drive in another machine that's in a different physical location and only connect it when you run a backup.
Otherwise it's not a backup, it's only a method of increasing your uptime when you have a single drive failure. A PSU failure, motherboard error, physical disaster etc could otherwise still take out all of your data.
Is there a tool that I can use to drill down and find those larger files?
ncdu
Moving to NC.
Offline
Sorry for the late reply - was quite busy the last couple of days.
Thank you for the replies - ncdu is perfect and was very useful to find the culprit.
I understand the point of have the two disk in the same unit and the risk involve, but for that I already have other back up. I will have a read of the wiki and go from there thank you.
Offline