Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
I upgraded my server and it made no change. Should I just make a fresh install? (Not my first choice unless restoring campaigns etc is not too tricky)
so if I want to re-install and restore everything as it was I do the following (can you kindly tell me where I am wrong or missing information )
sure! i love to help
2. put the back up files on another computer (but I don't know where they are...)
1. cd /home
2. mysqldump -u [uname] -p[pass] asterisk | gzip -9 > [backupfile.sql.gz]
Note: file will be save to the current folder you are on which now /home
3. cd /home
4. gunzip < [backupfile.sql.gz] | mysql -u [uname] -p[pass] asterisk
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
mysqldump -u root -prootpassword asterisk | gzip -9 > backupfileapril7.sql.gz
mysqldump -u root asterisk | gzip -9 > backupfileapril7.sql.gz
and nothing appeared in my home directory... wondervwhat I am doing wrong.
ls
mysql
mysqldump -u root asterisk | gzip -9 > backupfile.sql.gz
Does this really backup everything? campaigns, lists, users, etc? And do I really just have to do this: "mysqldump -u [uname] -p[pass] asterisk | gzip -9 > [backupfile.sql.gz]
gunzip < [backupfile.sql.gz] | mysql asterisk
gunzip < backupfile.sql.gz | mysql -u root asterisk
Users browsing this forum: Google [Bot] and 122 guests