Windows to Linux Transfer

fsgl wrote on Tuesday, July 15, 2014:

Thanks, Kevin, for the correction.

I re-read CVerk’s old post for mysqldump in Windows:

CD C:\

C:\xampp\mysql\bin\mysqldump -u root -pyourpassword openemr > dumpfile.sql

If the password is supplied, there is no space after the p.

Yes, one space after the p, in either Windows/Linux; if the password is absent. Password will be asked subsequently with this alternate method of mysqldump.

I hope no one is using “openemr” as the mysql root password. Almost as insecure as using “password”.

Learning the Terminal is very slow as syntax is extremely exact and unforgiving. Will feel like summiting Mount Everest when competence has been achieved. It’s good to remember that even the pros use the man command.

What is the command for copying and replacing the openemr web directory?

cmswest wrote on Tuesday, July 15, 2014:

in the unix world you can use mv to move the whole directory

mv /var/www/openemr /var/www/openemrold

or cp -R to recursively copy the directory

cp -R /mynewopenemr /var/www/mynewopenemr

i think for windows use the commands copy and move

fsgl wrote on Tuesday, July 15, 2014:

Thank you, Stephen (if you’ve been on vacation, hope it was fun).

Still struggling with mv & cp commands; getting error messages that the file in question does not exist, despite the fact that I’m in the correct directory staring at that file.

It’s the reason for attending Linux Summer School, which begins next month.

blankev wrote on Tuesday, July 15, 2014:

fsgl,

I know it does not belong to this topic. But I tried to use the Backup-restore software as proposed by MINT17. But the Backup I mad does not want to restore. Hanging at 58 of 25758.

I will make a fresh MINT17 install an see if Git-OpenEMR does the correct install and see if OpenEMR backup feature makes a backup somewhere. In the Mint 17 version and Github-OpenEMR version I could not find anything to happen. After this Mint17 is out and Ubuntu is back in or if it works cross my fingers… I am in for Mint17, I let you know.

I also might need to take the Summer Course…

fsgl wrote on Tuesday, July 15, 2014:

Hi Pimm,

Mintbackup does not work well for me. Seems like a lot of trouble.

Harley has a good idea by keeping a home partition for the personal stuff and using the root partition for new versions of Mint.

Because I’m still uncomfortable with GParted, it’s easier for me to get a system image of the dual-boot from C-drive.

It seems like overkill to backup via a system image on a daily basis just to backup OpenEMR. Good thing I don’t need the backup utility in LM 17 because it contains only the test copy. Don’t concern yourself with it. Next time Harley posts again, I’ll ask him about the backup utility. He has the same setup as myself.

cravaus wrote on Tuesday, July 22, 2014:

I used
mysql -u root -p[password] openemr < backup.sql

And it worked great. much faster. No more of this error code: Enter password: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)

Thank you all for this great forum.