r/github • • Jun 08 '24

How to really backup your code!

Post image
232 Upvotes

30 comments sorted by

40

u/[deleted] Jun 08 '24

Just memorise it

2

u/edin202 Jun 08 '24

And dissect the brain to recover the information once you die

1

u/[deleted] Jun 09 '24

Ah, so like Albert Einstein

15

u/TimJoijers Jun 08 '24

Print it.

1

u/SuggestionOk8578 Jun 09 '24

Then scan and  OCR it when you need it again, bulletproof.

14

u/[deleted] Jun 08 '24

Write down the 1s and 0s

12

u/Zielakpl Jun 08 '24

Take pictures

Print em

Scan em

Fax them to my grandma

Off site backup achieved

21

u/apnorton Jun 08 '24 edited Jun 08 '24

Take pictures

Ah, so this is why Microsoft built Windows Recall.

2

u/1cubealot Jun 08 '24

Microsoft ❤️ open source

More like

Microsoft ❤️ other people's code

2

u/rumble_you Jun 08 '24

For their AI training.

7

u/Clearandblue Jun 08 '24

Asked a partner to send over some XMLs once. Thought they were a bit slow to respond until the bloody things arrived in hard copy in the post.

3

u/srodinger18 Jun 08 '24
  • Take pictures

  • use genAI to extract code from the picture and make it write the code into actual text editor

  • "the future is genAI folks, human no need to write code again"

3

u/Dogemuskelon Jun 08 '24

Copy paste it on WhatsApp and send it to yourself.

2

u/jyling Jun 08 '24

Post it on twitter or x the entire source code, file by file

3

u/nekokattt Jun 08 '24 edited Jun 08 '24

base64 encode it, then print the base64 string. You can then buy a fax machine-style scanner where you can feed multiple sheets of paper in a stack into the scanner bed. Write some OCI software to read it back into a base64 string and decode it.

For extra points, use GZ or LZMA encryption on the data prior to base64-encoding it, and when you make extra changes on top of the original, just base64-encode the diff.

Edit: assuming whoever downvoted this has an HP printer.

3

u/rumble_you Jun 08 '24

Nah bro, they got an IBM 5152 dot matrix printer. (though I love that printer).

(Upvoted your comment :D)

1

u/Smartskaft2 Jun 08 '24

Take pictures

So, docker save?

1

u/Hackerm4n6969 Jun 08 '24

write it on a paper

1

u/rumble_you Jun 08 '24

Create a song of that code and save it in as a FLAC audio for preservation for future generations.

1

u/rumble_you Jun 08 '24

Or encode the code using Morse code.

1

u/ferriematthew Jun 08 '24

Even more galaxy brain, physically write it down on a piece of notebook paper and lock it in a safe

1

u/hemophiliac_driver Jun 08 '24

"Save your data in QR images and then upload it to YouTube"

1

u/spacehold Jun 08 '24

write it down on a post it

1

u/InfergnomeHKSC Jun 08 '24

Is fortnite font the new impact?

1

u/Beryllium69 Jun 09 '24

Speak it outloud and save it in mp3 format

1

u/sauerkimchi Jun 09 '24

GitHub and git are not for backups! I wish this was emphasized more

1

u/haikusbot Jun 09 '24

GitHub and git are

Not for backups! I wish this

Was emphasized more

- sauerkimchi


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

1

u/7heblackwolf Jun 09 '24

In the uni, we used to zip and send via mail. No pun intended.

1

u/[deleted] Jun 12 '24

Print it on paper every day