Having Restore Issues

anonymous wrote on Monday, July 18, 2011:

I’m in the process of testing the restore function in our newly installed system and I’m running into an issue.

The other threads on this topic suggest moving the “openemr” web directory before a restore, so I moved it to the desktop. I also placed the “emr_backup.tar” file and a copy of the “restore” script onto the desktop. When I execute the “restore” script through the terminal (running Ubuntu 10.10), I receive a flash of error messages that does not cease until I close the terminal session.

The message displayed reads as follows:

"Extracting …
tar: option requires an argument - ‘f’
Try ‘tar -help’ or ‘tar -usage’ for more information
Error: tar could not extract ’ '.

read: 163: Illegal option -e"

Other than this, my system has been running fine. I’m using v4.0.0 with the most recent patch. I have manually entered approximately 200 patients worth of data/encounters and need an emergency restore plan in place before I can proceed any further. I’m certain the mistake I’m making is something small. Can one of you experienced OpenEMR users bail me out here? Any help would be much appreciated.

anonymous wrote on Wednesday, July 20, 2011:

Turns out I was using the wrong command to execute the script. I was using “sh restore” instead of “./restore” :\