Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 46 online users. » 0 Member(s) | 46 Guest(s)
|
Latest Threads |
Uncle DT's Random Image T...
Forum: Random Image
Last Post: Blaze
04-18-2024, 10:39 PM
» Replies: 5,933
» Views: 601,933
|
Python Update Test
Forum: Misc.
Last Post: Kruger
06-22-2023, 03:25 PM
» Replies: 12
» Views: 43,973
|
Geek Stuff
Forum: Misc.
Last Post: Kruger
02-27-2023, 06:16 PM
» Replies: 4
» Views: 444
|
Stupid Spammers
Forum: Misc.
Last Post: Kruger
04-27-2020, 01:39 PM
» Replies: 6
» Views: 59,914
|
What happened?
Forum: Random Image
Last Post: Blaze
05-05-2017, 11:02 PM
» Replies: 18
» Views: 18,448
|
Sparkly unicorns poop fru...
Forum: Random Image
Last Post: Kruger
03-13-2017, 12:46 PM
» Replies: 10
» Views: 12,108
|
|
|
Geek Stuff |
Posted by: Kruger - 02-23-2023, 02:16 PM - Forum: Misc.
- Replies (4)
|
|
Hey, what process do you use for backups?
I screwed up, royally...
I use rsync -raz --partial --delete --log-file
I liked delete since it maintains the backup and deletes files that I delete from the source.
I had a hard drive start to fail about six months ago, it was my music library. After I did some patching and updated a new kernel then rebooted, I just didn't check for a few days and that drive didn't mount. I thought oh shit, but was able to mount it manually. I was thinking it just didn't spin up in time and just wasn't available. But restarting the server a few times and it was all good, no issues with that drive. I checked the backup logs and because it wasn't mounted the backup skipped over all of that media and left it alone. Ok cool, I thought. If/when the drive fails I'll be ok...
until....
It failed again on the 16th. I usually only notice it when I try to stream some music and that's usually just when I'm driving. So I check in on everything and that drive had a catastrophic failure, it's dead... dead... dead... Never coming back. Ok, no issues, I'll just order a new drive and restore, until I check the backup and all of that media is gone. Looking at the logs it saw the empty html folder (that, the subfolders for subsonic and plex, and the music were all on that failed drive) and deleted the backup. Oh crap...
So now, I'm not sure how rsync works and determines it should delete or not. The first time it left everything alone, maybe because the drive was there but it just wasn't mounted? But when it failed completely the mount point was truly empty and so guh-bye...
Anyway, I'm just curious. What process are you using to backup your server?
|
|
|
What happened? |
Posted by: Blaze - 02-28-2017, 04:15 AM - Forum: Random Image
- Replies (18)
|
|
So I updated the web server's PHP version and that caused a serious problem with the old forum software. Since I didn't want to revert back to the old version of PHP I decided to scramble and set up a new forum with a more up-to-date software package.
This took a little longer than expected since there's a ton of freaking options to go through.
Anyway, luckily I had the old forum stuff backed up because I plan on restoring the old random image thread in the next couple of days. And then I'll see if there'll be a way to merge the new one. Otherwise I'll just let the 3rd iteration continue on its own.
|
|
|
|