DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Need undo!!  (Read 5,831 times)

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Need undo!!
« on: December 04, 2008, 06:04 PM »
I just accidentally deleted my entire tree, and there's no undo to recover.  I looked at all the backup files, but I can't seem to figure out how to open them.  I go to "open" and double-click on one of the dated backup files and nothing happens.  I'm a little worried.  Please help, thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Need undo!!
« Reply #1 on: December 04, 2008, 06:30 PM »
you could have simply exited and said NO to saving.

but anyway, for recovery:
  • exit LBC.
  • make copies of your backup files and your main file (copy your whole directory or whatever)
  • ok now move your bad .mcf file (thats the file with the real content) to a safe place.
  • and copy one of your backup .mcf.bak or .mcf.bk2 to filename.mcf
  • of if you've made *explicit* backups using the maintenance menu, they will be anmes FILE_date_.mcf
  • and then restart.

now the main danger with recovering from backup is that you will mess up and overwrite your backup files in the process, so please do make a copy of everything safely before trying to restore stuff.

keep in mind something that may confuse you.  LBC uses 2 files, a .mcp and a .mcf
the .mcp is what tells it which .mcf files are loaded.  the .mcp file gets backed up but it's really pretty insignificant.
the files you care about are .mcf files.  usually you have only one .mcf file open at a time but you can have multiples.

let me know how it goes.
email me at mouser@donationcoder.com if you need more help.

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Re: Need undo!!
« Reply #2 on: December 04, 2008, 07:30 PM »
Thank you!

Original address: https://www.donationcoder.com/forum/index.php?topic=16023.0