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.
Routine backup
ercatli
✭
I wanted to ask a question about whether and how people do routine backups of their Vanilla forums.
In the pre v1 days, there was somewhere a way to backup the database from within Vanilla. I couldn't get it to work, but there was a note explaining why that would be, so I didn't worry much, and waited for v1. Now I don't see any sign of such a process, and I couldn't find anything when I searched the documentation.
Was this an add-on that hasn't been updated to v1?
Does anyone see any value in providing for backup within Vanilla?
What do most people do - risk data loss, use phpMyAdmin, or what?
Has anyone saved via phpMyAdmin, lost their data and restored it fully successfully so we know there are no hidden traps?
I hope these aren't stupid questions, but I'm not very knowledgable about these things, so what may be obvious to most of you won't necessarily be so clear for me.
In the pre v1 days, there was somewhere a way to backup the database from within Vanilla. I couldn't get it to work, but there was a note explaining why that would be, so I didn't worry much, and waited for v1. Now I don't see any sign of such a process, and I couldn't find anything when I searched the documentation.
Was this an add-on that hasn't been updated to v1?
Does anyone see any value in providing for backup within Vanilla?
What do most people do - risk data loss, use phpMyAdmin, or what?
Has anyone saved via phpMyAdmin, lost their data and restored it fully successfully so we know there are no hidden traps?
I hope these aren't stupid questions, but I'm not very knowledgable about these things, so what may be obvious to most of you won't necessarily be so clear for me.
0
This discussion has been closed.
Comments
Theres a lot of brackets in there and it's probably senseless but hopefully you'll get something useful out of it. Long day.
But I have used phpmyadmin many times, and still do on my local server. I have made many many backups/restores of DB's 100% successfully.
I believe phpmyadmin had a 2mb "upload" limit, if your file is over that I think you can just paste the text into the phpmyadmin window, I think.
My cron job is:
/usr/local/bin/mysqldump -DATABASEDOMAIN.com -uUSERNAME -pPASSWORD DATABASE | /usr/bin/gzip > /PATHTOBACKUP/vanilla`date +\%y_\%m_\%d`.gz
I have to go in occasionally & manually delete the old files, but this way I have a rolling backup and in case something gets screwed up, say, when I'm on vacation, newer bad database versions won't overwrite my local good versions.