-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to backup my sql files #184
Comments
sudo mysqldump -u root -p im_0 > PATH_TO_BACKUP_OF_IM0.sql If you used a user other than root while creating the databases, use that instead. The root user doesn't work without sudo. You can later restore those the same way you initialized the databases when setting up the bot. Just use your backup files instead of the .sql files provided in the scripts directory. |
and how to restore it?when i have new vps @BreezeQS |
BreezeQS answered you in his message above, |
Yeah. And just in case you break something and need to roll back to a backup, rather than moving to a different place; you can drop the broken databases, create the new ones and import your backup .sql files. |
hi sorry if im noob but how can i backup my sql files if i wanted to move to my new vps or pc.
or where the sql files and my database saves.
The text was updated successfully, but these errors were encountered: