Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
DB Backup for vanilla
I have the cleanup extension and i've used the database backup function in there. But how can I check it has worked? I'm paranoid about losing my data.
Is there a surefire way to backup, even a way to be able to do it automatically for me?
Any help much appreciated.
Is there a surefire way to backup, even a way to be able to do it automatically for me?
Any help much appreciated.
0
This discussion has been closed.
Comments
mysqldump -u DBUSERNAME --password=DBPASSWORD DBNAME
i simply replaced the details in caps and then I selected the options for choosing the schedule it would run that command on. I now get an email with all the sql in it every day. Obviously this will vary depending on your own host.
alternatively you can run a .php file using the following command...
wget -q http://yourdomain.com/phpmysqlautobackup/run.php
it doesn't matter where you upload the file to. but using this method you could get the php page to create an attachment to send to you via email rather than all the sql being posted into it directly.
hope this helps someone along the line.
Keep the default option, click on "select all" (table), tick "Add DROP TABLE" and "Save as file", and click on "go".
Keep in mind that the import fonction in phpmyadmin is limited to files with a size < 2 Mo (that the php limit for upload by default).
mysql -u DB_user -p User_password -D Vanilla_db_name < /path/to/Vanilla_backup.sql