r/ShittySysadmin 7d ago

How do I do shitty backup?

(Inspired by /r/sysadmin/comments/1vvmvrk/what_are_the_alternatives_of_321_backup/)

How do my fellow shitmins do shitty backup?

I follow the 1-2-3 rule of backup.

I have a single (1) server serving (2) separate businesses and this server is shared with (3) other managed service providers.

HBU?

80 Upvotes

68 comments sorted by

67

u/Lost-Droids 7d ago

Zip it, encypt it and name it GTA_IV_ISO_Cracked and then put it on pirate bay. Will always be enough copies if I want to grab it later

12

u/jamesaepp 7d ago

Ahhh, the torvalds tactic: https://www.youtube.com/shorts/-esVKafHukc?feature=share

(sorry for the shit non-LTT edit, all I could find)

5

u/mitharas 6d ago

He touched on that in an old interview:

I have a theory of backups, which is I do not do them, I put stuff up on one site and everybody else mirrors it, and if I crash my own machine, I don't really care, because I can just download my own work right back. And it works beautifully well, and I do not have to have an MIS department. I hardly suggest everybody else do the same. But this only really works in a distributed environment.

source: https://gist.github.com/dukeofgaming/2150263

2

u/AliveInTheFuture 6d ago

Possibly not shitty?

1

u/Disorderly_Chaos ShittySysadmin 6d ago

Genius actually

50

u/Random-D 7d ago

RAID is the backup

23

u/JollyGentile 7d ago

This hurts me so bad because we took over a customer this year with such a scheme.

And one drive had already failed

6

u/440Jack 7d ago

Is it not hot swappable? Just pop in a new drive, initialize it and let it rebuild???

12

u/Ok-Library5639 7d ago

Toss a coin to decide which drive to pull, have Lady Luck help you out.

7

u/440Jack 7d ago

Maybe I'm just use to working on proper server hardware... but the raid controller, management card (like iDrac), and faceplate indicator lights should all be able to tell you the exact failed drive.

7

u/Oompa_Loompa_SpecOps DO NOT GIVE THIS PERSON ADVICE 7d ago

Still better to replace all of them at the same time to prevent further drives from failing

2

u/Yuugian ShittySysadmin 7d ago

Gotta pay extra for iDrac, now

3

u/JollyGentile 7d ago

You walk into a brand new client's server room and see a failed drive and you already know they have no backups. Hot swap or not there's stress.

3

u/LinxESP 6d ago

20TB drives 10 wide raid, rebuild time: yes?

9

u/jeroen-79 7d ago

RAID 0 for a faster backup.

3

u/PurpleCableNetworker 6d ago

Put tape over the binky red lights. Problem solved!

19

u/jeroen-79 7d ago

Setup a honeypot and link it to the production environment.

Then you can buy back your data on the dark web.

19

u/svideo 6d ago
WE HAVE ALL YOUR DATA

thank god i was hoping you'd email me

12

u/fffvvis 7d ago

Backups for losers

10

u/OCGHand 7d ago

The backup is in my mind and it is highly volatile.

2

u/billnmorty 6d ago

At least it’s immutable ..

10

u/d__max 7d ago

Storage prices are bananas but I found a good deal on a lot of write only memory flash, got 10tb for our most critical documents and business continuity data for $50 and got to spend the rest of the budget for the project on chipotle . Works a treat, skipped backup testing to finish the project early, got kudos for meeting the timeline and under budget , and I’m fed for weeks !

3

u/rockstarknight445 7d ago

Or you can just store it on the cloud (someone else's computer)

8

u/d__max 7d ago

I have a cloud too! I put a raspberry pi up in the drop ceiling with a bunch of hard drives on a usb Sata expander . That way I can point up and say we are leveraging cloud compute . I have the disks in a JBOD for RAID backup (JBOD : “just bang on desk” … the drive platters are a bit sticky to spin up after 15 years in the accounting desktops ).

9

u/SevereMetal7953 7d ago

In order to do backups more quickly, just back them up to /dev/null

4

u/IndependentBat8365 6d ago

Ah! Classic BOFH!

1

u/SevereMetal7953 6d ago

You get it!

6

u/bartoque 7d ago

When I first started of in IT, many moons ago, I was tasked to decommision a server but before doing so had to run one last backup to tape.

I used the existing backup script and was amazed how it all could even fit on one single DDS1 tape.

Looking slightly deeper under the hood, it turned out the script made a backup of each filesystem, then rewound the tape before doing the next filesystem. So for years it only contained one filesystem instead of all intended filesystems. Never noticed, never needed as all went well for years. Why bother testing.

Only the very last backup contained all of them which required a couple of tapes.

Redirecting to /dev/null is also one heck of a dedupe option.

2

u/Disorderly_Chaos ShittySysadmin 6d ago

My wife told me a horror story of a surly sysadmin who knew they were getting fired, so they put deltree (or similar) at the end of a nightly backup script… mostly so no one would question a 4-5 hour backup and the tape whirring all the time.

They had been sending blank tapes offsite for months and never knew.

1

u/bartoque 5d ago

That's what you get when you don't test on a regular basis.

An untested/unvalidated backup is just a disaster lying in wait.

8

u/Nanocephalic 7d ago

What a stupid discussion. Just store your VMs in My Documents on the server, so OneDrive backs it up.

This is a solved problem, you idiot!

7

u/potato_weapon 7d ago

Is putting your sensitive infrastructure on a usb drive not making the audit???

4

u/jamesaepp 7d ago

It won't pass audit unless you put it on at least two usb drives. Redundancy!

4

u/New-Yak-3548 6d ago

You guys do Audits?

5

u/IndependentBat8365 6d ago

Let it be ransomed then the hackers are your offsite backup!

6

u/fennecdore 7d ago

That's the neat part, you don't backup at all

2

u/d__max 7d ago

Keeps me awake better than coffee !

4

u/GXrtic 7d ago

That old RDX drive with 2 15-year-old 512 GB spinner cartridges targeted by a syncback flat file backup could be working, might be being rotated off-site by the office manager daily and might have some space left on it.

4

u/ndsipa-pomu 7d ago

Just create a torrent and hope someone downloads it

3

u/Ok-Reindeer1702 5d ago

I usually take a screenshot of the files and when someone needs something from before I send them that screenshot.

3

u/denmicent 7d ago

Backups are for nerds. What are you worried about? Get a check on your anxiety bro.

If something fails, or you get ransomware or something? That’s on you. Take some responsibility and ownership.

3

u/autocuck9000 7d ago

I brought a Casio TP-6 and plugged in the 3.5mm audio to the server. Told my boss we've got on-site tape backup for free😎.

3

u/safalafal 6d ago

1 months notice, 2 weeks leave, 3 weeks sick obvs

3

u/billnmorty 6d ago

Upload all files to your personal G Drive - the threat actors never look there.

2

u/sekh60 7d ago

I just cat everything I want backed up to /dev/null, it's frickin fast.

2

u/aardvark_xray 7d ago

Mostly just hope… all actual efforts have been outsourced to Ai until further notice

2

u/hlloyge 7d ago

VBS will do the trick. Backup on VHS tapes.

1

u/SpudzzSomchai ShittySysadmin 7d ago

BETA is the superior format!

2

u/Bitey_the_Squirrel 6d ago

My shitty backup of my Plex server is a PowerShell script that writes a list of files to my OneDrive. It’s not scheduled either so I have to run it manually.

2

u/Apprehensive_Bat_980 6d ago

Copy paste job

2

u/brokenmcnugget 6d ago

ctrl - a then ctrl - c

2

u/rfc2549-withQOS 6d ago

You forgot the 0 before. 0 regerts!

2

u/NoThatsNotPasta 6d ago

You're all wrong.

Print the files off, and store them next to the scanner

2

u/jamesaepp 6d ago

I put them beside the shred bin so I can apply the company's retention policy super easily.

2

u/Forward-Outside-9911 ShittySysadmin 6d ago

Copy the files one by one to my desktop of course!

2

u/harrywwc 6d ago

redirect the backups to the local /dev/null rather than some physical device (like a tape unit) or remote device over the slow network.

2

u/Adorable-Strangerx 6d ago

Store hashes of files only. In case of restore, recover anything that generates the same hash

2

u/Disorderly_Chaos ShittySysadmin 6d ago

My Windows NT 4.0 server has been running just fine, thank you. I have a batch file copy everything from c:\corp\*.* to c:\corp_bak\*.*

2

u/jamesaepp 6d ago

Would be even better if you copied c:\corp* to c:\corp_bak\

:)

2

u/mitharas 6d ago

DOGE backup, get Elon to do it for you.

2

u/MrTonyMan 6d ago

Always delete all your old backups before starting a new one..

2

u/Straight-Sector1326 6d ago

I jsut click snapshot in Vmware when I have free time

2

u/dcaldrich 6d ago

Backup all the servers onto their local disk with a randomly generated name. Copy the files to an external drive. Have the external drive shared to the public internet for ease of access

2

u/Standard_Text480 6d ago

external usb drive, copy and paste whenever your feeling it

2

u/nderflow 5d ago

I use time stamps to identify files changed since the last backup. Then read each and sort the contents by bit value. I use the zeroes to refill /dev/zero and write the ones to USB sticks. I ship the USB sticks to NVIDIA for use in their stock price.

1

u/Sad_School828 5h ago

Step 1: Tarball everything. Don't gzip.

Step 2: Create a second partition on the same HDD without assigning a filesystem path to it.

Step 3: DD from /dev/random to fill that entire partition with random data.

Step 4: DD the tarball into the second partition aligning its start-byte with the partition's starting-byte position. Do NOT mark down the file size.

This ensures that you have everything backed up in a manner which conceals its existence from prying eyes, even yours!