As you give me the steps i proceed with the same.
1) i uploaded files into the new server
for sql i ran below commnad in new server and its asking for password so which password i have to write here?? (new password)??
mysql -u root -p bitnami_moodle < backup.sql
1) #Uncompress the old installation in /tmp
its done with unziping process
2) # Save the current directories
sudo mv /opt/bitnami/apps/moodle/htdocs /opt/bitnami/apps/moodle/htdocs.bak
sudo mv /opt/bitnami/apps/moodle/moodledata.bak
for this i am getting :
system_colscol@vm-moodle-coachingcolscol-vm:~$ sudo mv /opt/bitnami/apps/moodle/htdocs /opt/bitnami/apps/moodle/htdocs.bak
**mv: cannot stat '/opt/bitnami/apps/moodle/htdocs': No such file or directory **
system_colscol@vm-moodle-coachingcolscol-vm:~$ sudo mv /opt/bitnami/apps/moodle/moodledata /opt/bitnami/apps/moodle/moodledata.bak
mv: cannot stat '/opt/bitnami/apps/moodle/moodledata': No such file or directory
3: # Copy the old directories to the current installation
sudo cp -ra /tmp/opt/bitnami/apps/moodle/htdocs /opt/bitnami/apps/moodle/
sudo cp -ra /tmp/opt/bitnami/apps/moodle/moodledata /opt/bitnami/apps/moodle/
its also not working
please help me because i am not able to run it.
nothing is working ...please guide us...