Questions tagged [backups]

The act of saving files, data, or applications to a secondary media is called backing up.

Filter by
Sorted by
Tagged with
21
votes
4answers
344 views

How do I backup my site w/o the command line?

Nearly all the documentation on backing up my Drupal site seems to require using the command line. My hosting service does not provide command line access. How do I backup my site without using the ...
11
votes
3answers
9k views

How to skip specific tables with drush sql-dump?

I have a drush config file ~/.drush/drushrc.php: if (!isset($options['structure-tables']['common'])) { $options['structure-tables']['common'] = array( 'cache', 'cache_*', 'history', 'search_*', ...
11
votes
2answers
3k views

Complete backup solution

I'm trying to backup my Drupal website (not only database) as complete as possible, because It's in the desired state. The backup should cover actual versions of all modules, themes, database tables, ...
7
votes
2answers
2k views

advantages of drush bam vs. drush sql-dump / drush sql-connect

Is there any comparative advantage in terms of best practice, ease of use, or speed in terms of using the drush back up and migrate command (drush bam) or is it just preference? I'm often using just ...
6
votes
3answers
3k views

how to set the source connection in drupal d2d migrate

I am migrating my taxonomy and users from d6 site to d7 site. How can I set the legacy connection of source db of d6 site. The user is root and password id empty with source database name as d6 for ...
5
votes
1answer
504 views

How to make a better backup

I backuped my website with Backup and Migrate. I made some tests and restored a few times successfully. Then I created some fields (one of them is named field_date), and made some tests; I was not ...
4
votes
3answers
7k views

A really big database size

I'm dumping the database every 2 days, but I noticed that at some point last month the database jumped from around 500 MB to 4 GB! What can be the cause of it?
4
votes
6answers
5k views

How to I create a backup of my content ONLY?

I'm debating between using Feeds module and Backup and Migrate and I'm not sure which would be the best option here. Here's the scenario - I've two versions of the same site - both drupal 7, both ...
4
votes
1answer
290 views

Why do I get a backup file that has three different sizes?

I am using Drupal 7 site on a remote server (bluehost). I cleared the cache before the backup. When I am using the backup and migrate module, and use admin -> config -> back up - the size of the ...
4
votes
2answers
6k views

How to restore a site from a backup done with Backup and Migrate module using Drush

Just that. I've a backup using the backup and migrate module. I've done some changes and now the site is down. I can't restore the site using the admin interface (because it's broken). Can I use ...
4
votes
1answer
3k views

'drush rsync' not excluding paths specified in 'exclude-paths' in "aliases.drushrc.php"

I'm trying to get drush-rsync to exclude files/paths that as specified in my alias definitions. In /etc/drush/aliases.drushrc.php, I defined $aliases['site_A'] = array( 'root' => '/home/...
4
votes
2answers
204 views

Restore backup solution for busy sites

Today one of my users went and deleted the root of an Organic Group and wiped out all of the child nodes from that group and it's associated menu entries. I have a backup, so I can restore, but in ...
4
votes
2answers
1k views

Backup and Migrate exclusion recommendations?

When doing database backup using Backup and Migrate, what is the reasonable table exclusion strategy? My first guess was: Exclude the following tables altogether - leave that listbox with no ...
4
votes
1answer
853 views

Which tables should I exclude from a backup?

As a fan of svelte sql backups I've successfully used, for several years this bash script for backing up my Drupal site's databases. By excluding "noisy" tables, I've seen remarkable reduction in the ...
4
votes
1answer
504 views

Execute a Backup and Migrate backup via PHP

I'm trying to create a custom module that will overwrite my testing site with a copy of my live site (I can't use SSH and I can't install my own PEAR modules, so Drush is a no-go). I've been using ...
4
votes
2answers
2k views

Is there any way to export user account information and content profile together?

I need to export all the information of a few user accounts and relevant content profile nodes together per user. It doesn't matter what format it should be but I'll eventually import back to the same ...
3
votes
1answer
142 views

Accidentally deleted sites/all/modules in Drupal 7

Let's say I was having a really rough day and I accidentally deleted the sites/all/modules directory in Drupal 7. Could I simply unzip my last back up of Drupal and copy that directory over to the ...
3
votes
4answers
3k views

Fatal error when restoring PostGreSQL DB from dump: undefined function system_run_automated_cron

I'm trying to simply install Drupal 7.8 on PostGreSQL 9.1, backup the DB, and then restore from it ... nothing else, just to test out backing up my sites, but the site will not come back up! Here are ...
3
votes
1answer
145 views

having a backup of 'sites' folder and database backup is all I need?

I'd to be sure that having a backup of 'sites' folder and database backup is all I need to restore a site?
3
votes
2answers
573 views

Why does nothing change when I attempt to restore a backup?

I have a drupal 7.43 installation and it has been doing regular backups using the Backup and Restore module. I wanted to do a restore but I'm blocked at every turn it seems. I go to Configuration >> ...
3
votes
1answer
101 views

How do I backup a site when it weights is more than 200MB and host can't do it?

How do I backup a site when it weights is more than 200MB and host can't do it? I have it on hostinger.ru and can't backup with Internet server error 500. I cleared cache and deleted some modules.
3
votes
1answer
836 views

drush sql-dump gives warning

When I ran drush sql-dump --result-file, it came back with a warning and a success message. system(): Cannot execute a blank command exec.inc:36 [warning] Database dump saved to ...
3
votes
1answer
1k views

Clean URL in Exposed Filters in Drupal 7

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its ...
3
votes
1answer
251 views

Diferences between "mysqldump" and "backup and migrate module"

I always make backup using "backup and migrate" module. But now, need to automate this process using scripts. When execute backup using "backup and migrate" this module generate .mysql file with ...
3
votes
1answer
712 views

Why does my site fail after restoring the database?

I tried migrating my Drupal live site to localhost to test it there. I followed the instructions in Migrating a site. Cleared the cache Disabled clean URLs Enabled mod_rewrite Then I backuped my ...
2
votes
1answer
1k views

Drush sql-dump but exclude multiple tables with a pattern

I have a gigantic database due to having over 1000+ individual tables created for every time someone logged in. (wasnt me that made this). I want to now create a dump of the database using drush sql-...
2
votes
2answers
4k views

Transfer a site from SQLite to MySQL

Is it possible to transfer the content of a site that I develop locally with SQLite as a database to the live site which uses MySQL or PostgreSQL when it is finished? I don't want to have to install ...
2
votes
2answers
375 views

Find out module versions through database dump

I've got a dump from my Drupal database that I've created with Backup and Migrate. I want to find out which versions of the modules ctools and Panels have been in use. Where do I have to look? What ...
2
votes
1answer
3k views

Two Drush bam-backup errors: Command not Found & Could not find a Drupal setting.php file at

I am trying to use Drush to backup a standard 7.12 local installation, but I am getting two error messages when running drush bam-backup: The drush command 'bam-backup' could not be found. Run `drush ...
2
votes
1answer
634 views

Archive old content data in different database

How can i make archive my old content and save in different db with my cron job. I want to store in different DB because i want to increase my site performance. In drupal 7 what's the best way to do ...
2
votes
1answer
364 views

How can I back up my Drupal site?

My site crashed the other day, and I was wondering if anyone could tell me how I can back up my site, so that if something ever goes wrong again, I could still have a working copy of my site.
2
votes
1answer
728 views

Drush backup of multisite platform

Is there Drush command that can backup whole multisite platform: database dump of each site code of each site backup of sites/all or complete core with sites/all and all that in just ONE tar.gz ...
2
votes
2answers
115 views

Does backup and migrate include the users and login info?

I'm migrating from the test environment to the live environment, both of which have a separate set of users/logins/privileges. How do I not overwrite this information when migrating from one site to ...
2
votes
1answer
95 views

Easy way to make an Installation Profile

I want to use my current website as an installation profile. I've set it up so it contains some useful content types, views and example content nodes. Is there a no-coding way to create an ...
2
votes
1answer
53 views

What better way to add new features on a project already in production?

We know that drupal is based on nodes. I feel it difficult to make updates to a project already in production. Currently I have two environments. A testing, and other production. I make changes in ...
2
votes
1answer
3k views

Export themes from my site?

Someone gave me access to a website of theres, and they want me to export the theme from one Drupal 7 install to another. (I couldn't find any export links on the /admin/appearance page.) How do I ...
2
votes
4answers
241 views

The best way to synchronize old host and new host when migrating a Drupal site?

I'm planing to migrate my live site from the current shared host to another shared host. I'm thinking to use Backup and Migrate module or importing/exporting mysql by phpmyadmin. However I'm ...
2
votes
2answers
918 views

Why can't Drupal write to the database after migrate/restore?

When I want to do more development on a live site, I usually make a copy of the files and database on my local LAMP install and play with it there. Now I'm finding that if I copy the database to ...
2
votes
1answer
87 views

How to put a date token at the start of Backup and Migrate file name pattems?

Because Backup and Migrate sorts files by age, when you untar or copy some files to a destination, they will be more or less the same date and it may be hard to tell which ones are the latest etc. ...
2
votes
1answer
289 views

Can I setup a backup migrate schedule from settings.php

I am using Pantheon to host a development, staging and production drupal 7 site. I have backup migrate module setup to perform period backups. When I migrate the production site's content to the ...
2
votes
0answers
28 views

Trying to monitor NodeSquirrel backups

We are testing out NodeSquirrel on our own palantetech.coop site, and I'm working on figuring out the best way to monitor it. Currently we use a module that we made (https://github.com/mxroo/...
2
votes
0answers
189 views

How can I automate backups on Pantheon?

I know I can upgrade my account and have Pantheon do it for me but I want to explore the possibility of writing a bash shell script which uses Terminus commands to backup all my Drupal sites so that I ...
2
votes
0answers
395 views

How to fix backup & migrate End of script output before headers: index.php error [closed]

I am getting the following errors in the Apache log when I run backup (entire site) on my local computer using Acquia Dev Desktop. [Thu Oct 15 18:11:47.700156 2015] [fcgid:warn] [pid 2912:tid 908] ...
2
votes
1answer
163 views

Drush destination command not recognising

I'm able to see the destinations by using the 'bam-destinations' command and below is my script to get an entire site backup from a ftp destination (ID of this destination is 'ftp_destination' and I ...
2
votes
1answer
34 views

How can I recover from a backup but include many changes from a dynamic site?

After the Drupageddon disaster, I've discovered that my backup plan is not sufficient. I have daily, weekly, monthly and yearly DB and file backups thanks to backup_migrate and backup_migrate_prune, ...
1
vote
2answers
2k views

Drush archive-restore not restoring database nor giving error

I have a Drupal 7 site and database in an archive created via Drush. I'm trying to restore it with Drush on a Mac running MAMP. When I tell it to restore the site it says "[ok]" afterwards and the ...
1
vote
5answers
7k views

Moving a site, links/admin do not work

I moved a drupal installation from one server to another. Steps I followed: Copied whole directory structure from old server. Exported database from old server. added files to newdomain/drupal ...
1
vote
2answers
1k views

"Drush sqlc < myfile.sql" doesn't return the site to previously working state. Are there files to be deleted?

I've backed up my drupal 8 database via the CLI using drush sql-dump > myfile.sql. I make some changes to the site and break it, then I try to restore it via drush sqlc < myfile.sql. It works ...
1
vote
1answer
128 views

Backing up logs

I've been looking at my site logs recently. I have the limit of logs set to 10,000. The problem is, due to the amount of traffic we get, that number will only represent, at best, half a day of logs. ...
1
vote
1answer
55 views

I can't backup my website on a shared server because memory runs out. What can I do?

I have a large Drupal7 website on a shared Hostgator server, and I cannot do automated backups because I always run out of resources. I've tried 2 methods: 1) I first built my own CLI bash file and ...