[support] Copy a drupal site
Matthew Lechleider
matthew at lechleider.com
Thu Nov 12 16:31:27 UTC 2009
These two modules should help.
To backup/export/import database - http://drupal.org/project/backup_migrate
To backup files - http://drupal.org/project/backup_files
Also, FTP will work for moving the files around. Be careful with the
.htaccess file as it like to hide in certain file systems.
If you have access to rsync, use it. That is by far the fastest and
easiest way to move files from one sever to another.
On development server you can do....
"rsync -avW --progress webroot/ user at domain.com:/var/www/newwebroot/"
That will transfer all files in the webroot directory to new the server,
keep permissions, and tell progress.
Kees Scherpenhuijzen wrote:
> Hey support community,
>
> When creating a drupal site on a testserver, what is the best way to
> copy the site to the production server?
> Hereby i mean copying al modules(i think this is just FTPing)?
> Copying all configurations?(including config from modules)
> Copying database?
>
> Is there somekind of module that can create an image of a site?
>
> TIA,
>
More information about the support
mailing list