This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Jbackup - Tiny Hdd Backup Utility!
Started by jesusthekiller, 25 July 2013 - 05:38 AMPosted 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:
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).
: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).
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.
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.
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.
Posted 26 July 2013 - 07:53 AM
It makes sense - you can move your backups cross-serverI 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).
Posted 26 July 2013 - 11:21 AM
Nice!
Posted 28 July 2013 - 03:59 AM
Oh nice! Dude make the Formater it will use OS
btw how to move all files?
btw how to move all files?
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…
Oh, nope, sorry, it was my dinner. Reading your post for 5th time, it still makes no sense at all…
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/>
This project, essentially, saved me :D/>
Posted 13 August 2013 - 05:30 PM
What about non-cc backups? :P/>
Posted 13 August 2013 - 05:54 PM
ShutupIdidnotmadeanybackups… eee makarena!