This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jesusthekiller's profile picture

Jbackup - Tiny Hdd Backup Utility!

Started by jesusthekiller, 25 July 2013 - 05:38 AM
jesusthekiller #1
Posted 25 July 2013 - 07:38 AM
jBackup


I made it to see how small backup utility I can make, it ended up being 77 lines (headed for 50 lines, :/).


It has 2 modes: pack (p) and unpack (u)

Pack: Zips all files together and uploads to pastebin

Unpack: Download from pastebin and recreate computer


Download: pastebin get QCcTizHN backup


Screens:









Mitchfizz05 #2
Posted 25 July 2013 - 05:37 PM
I just read your post on the ghosty thread.
:D/>

Quite neat though…

But quick question… would pastebin like heaps of clumped data that doesn't even make sense be uploaded? (Not your program, the uploaded backups).
UMayBleed #3
Posted 25 July 2013 - 05:43 PM
" it ended up being 77 lines (headed for 50 lines, :/)"
The amount of lines do not matter, it could have like 2 characters per line, so really it doesn't matter, I could modify the code to be a single line.

Very useful though.
Mitchfizz05 #4
Posted 25 July 2013 - 06:02 PM
" it ended up being 77 lines (headed for 50 lines, :/)"
The amount of lines do not matter, it could have like 2 characters per line, so really it doesn't matter, I could modify the code to be a single line.

Very useful though.

He was challenged to create something like this in under 100 lines, and I guess he decided to go further.
jesusthekiller #5
Posted 26 July 2013 - 07:53 AM
I just read your post on the ghosty thread.
:D/>

Quite neat though…

But quick question… would pastebin like heaps of clumped data that doesn't even make sense be uploaded? (Not your program, the uploaded backups).
It makes sense - you can move your backups cross-server
PinYin #6
Posted 26 July 2013 - 11:21 AM
Nice!
NeptunasLT #7
Posted 28 July 2013 - 03:59 AM
Oh nice! Dude make the Formater it will use OS
btw how to move all files?
jesusthekiller #8
Posted 28 July 2013 - 06:45 PM
I smell logic in your post…
Oh, nope, sorry, it was my dinner. Reading your post for 5th time, it still makes no sense at all…
jesusthekiller #9
Posted 13 August 2013 - 05:26 PM
My HDD failed few days ago, lost all data - thanks god I still had pastebin code which, luckily, contained backup with all my CC work.

This project, essentially, saved me :D/>
Sxw #10
Posted 13 August 2013 - 05:30 PM
What about non-cc backups? :P/>
jesusthekiller #11
Posted 13 August 2013 - 05:54 PM
ShutupIdidnotmadeanybackups… eee makarena!