Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [back-up]

The tag has no usage guidance.

1
vote
2answers
21 views

Import database backup when using docker

I am trying to import a database backup into a craft instance running on Docker, but none of the fields or content from the latest backup are importing. Here are the steps I took I used these ...
0
votes
0answers
62 views

Setting up Craft 3 database backup command for a remote database server

I have my Craft 3 database on a separate server than my Craft webserver (load balancing) and when I use the download database backup function in Craft 3, it doesn't know where to look. I haven't ...
0
votes
1answer
110 views

How do I restore a site from backup

I broke permissions in a critical craft install. My solution was to install a new version of the craft, move all of the templates from the old site to the new site and restore the MySQL database. ...
1
vote
0answers
92 views

Craft 3 : Can't backup database (“failed with exit code -1”)

I can't backup database, the log says : [error][yii\base\Exception] yii\base\Exception: Could not create backup: The shell command "mysqldump {{...blablabla...}} failed with exit code -1. in /...
0
votes
0answers
34 views

How to backup Craft 3.x on Wampserver

I'm curious to know if anyone has successfully figured how to backup Craft CMS 3.x databases using WAMP server or the like? This is from the logs: 2018-04-30 05:58:18 [::1][1][-][error][craft\...
1
vote
1answer
197 views

Craft 3 Database Backup

Why do I have to activate the PHP functions: "proc_open" and "proc_close" to backup the database? I got the error logs: [error][yii\base\Exception] yii\base\Exception: Could not create backup: ...
1
vote
1answer
201 views

Back-up doesn't work in Craft CMS 3 on MAMP locally

I installed Craft CMS 3.0.1 locally on MAMP (Apache/PHP7.0.22), but when I want to do a backup of the database it says: "There was a problem backing up your database. Please check the Craft logs. Back-...
1
vote
1answer
77 views

Is there a way to clear old database files from storage|backups folder automatically?

We require a way to remove old db files from the storage|backups folder and I was wondering if there is a way to do this automatically or if someone has written a plugin that does it via a cron job?
2
votes
1answer
167 views

DB back-up gives syntax errors on import in new DB

I had this issue on two different sites on two different occasions and hosts. When creating a database back-up through the Craft CMS admin and importing that SQL file into a new database through PhP ...
16
votes
2answers
2k views

Best practice on importing Craft db backups?

Our team's typical workflow is pull from repo, delete craft tables, import latest db backup, work locally. We don't want everyone working on the dev server db for early development, because we'll be ...