2022-01-24, 12:40 PM
i'm a beginner.
LLOVE FROM ISRAEL
what is the easiest way to create a database backups automatically?
|
2022-01-24, 12:51 PM
MyBB has a backup task by default. Go to ACP > Tools & Maintenance > Task Manager > Weekly Backup > Options > Enable Task.
2022-01-24, 01:01 PM
thanks
i didn't knew that can i set it to back it up to dropbox too? or is it a bit more complicated for a beginner? LLOVE FROM ISRAEL
2022-01-24, 01:04 PM
Not by default no, and haven't heard of a plugin for that.
2022-01-24, 04:58 PM
if you have SSH access. sql back up using SSH is the most secure way to back up.
2022-01-24, 06:48 PM
You can check if your host has any backup facility, some of which you can set schedules to be ran automatically.
-Ben
Please do not PM me for support. I am looking to be hired for paid services. You can view my paid services here.
2022-01-24, 07:51 PM
(This post was last modified: 2022-01-24, 07:56 PM by HLFadmin. Edited 1 time in total.)
I have created a folder called database in my server space one level below public_html.
A read-only, executable script HLFdump.sh is in there, which contains
I have a cron job set up in cpanel to execute that script daily. I periodically download that backup to local filespace. Obviously, delete old files to save space. I use that backup to upload to a different server for migration or testing purposes.
lkop's answer is better. SSH commandline backup is most secure but requires manual initiation. Cron job script uses stored password, which is less secure, but acceptable for my purposes because of restricted permissions on folder and script, and it is not in the public webspace. A single backup file is easily transportable, especially for a large database. Limitations of phpMyAdmin narrow the options for restoring. |
« Next Oldest | Next Newest »
|