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, -- Kees
http://drupal.org/project/backup_migrate 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,
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@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,
I've set up a view of content type student schedule with a display field - Content: Course Title (field_coursettl) which is a field with multiple occurances in each student schedule and single occurance in each Class Offering content type. Have configured field_coursettl to link to its node in the view, with the intention that it link back to the class offering it comes from. The idea being that a member looks at their schedule and sees a list of course titles, and may then click on a title and get to the node for that particular course. However what I get are links to the student schedule node instead. I hope this makes sense. Marty
add > Content: Course Title).
Marty, Not sure I'm understanding your scenario completely. Is the field "field_courset1" a nodereference field to content of the type Class Offering? If so, then you probably need to set up your view this way: 1. add a relationship in your view to the Class Offering (relationships 2. instead of adding the field "Content: Course Title" in your view, add "Node: Title", and in the settings for this field select the relationship you created in step 1, and check the box to link to the node. Let me know if that doesn't make sense or if I didn't understand your scenario incorrectly. Michelle On 6/24/2010 2:29 PM, Marty Landman wrote:
I've set up a view of content type student schedule with a display field - Content: Course Title (field_coursettl) which is a field with multiple occurances in each student schedule and single occurance in each Class Offering content type. Have configured field_coursettl to link to its node in the view, with the intention that it link back to the class offering it comes from.
The idea being that a member looks at their schedule and sees a list of course titles, and may then click on a title and get to the node for that particular course. However what I get are links to the student schedule node instead.
I hope this makes sense.
Marty
-- Michelle Ziegmann =========================== Electronic Communications Specialist University of California Berkeley Educational Technology Services
Michelle, Thanks, you've made me look over it all again which I should've done to begin with. I think my problem is caused by numerous issues, beginning with failing to make the title field in class offerings the course title. Instead I used the automatic node title module which seemed sensible at the time and now I see was a dumb move. Back to the drawing board. Marty At 07:50 PM 6/24/2010, you wrote:
Marty,
Not sure I'm understanding your scenario completely. Is the field "field_courset1" a nodereference field to content of the type Class Offering? If so, then you probably need to set up your view this way:
add > Content: Course Title).
1. add a relationship in your view to the Class Offering (relationships 2. instead of adding the field "Content: Course Title" in your view, add "Node: Title", and in the settings for this field select the relationship you created in step 1, and check the box to link to the node.
Let me know if that doesn't make sense or if I didn't understand your scenario incorrectly.
Michelle
On 6/24/2010 2:29 PM, Marty Landman wrote:
I've set up a view of content type student schedule with a display field - Content: Course Title (field_coursettl) which is a field with multiple occurances in each student schedule and single occurance in each Class Offering content type. Have configured field_coursettl to link to its node in the view, with the intention that it link back to the class offering it comes from.
The idea being that a member looks at their schedule and sees a list of course titles, and may then click on a title and get to the node for that particular course. However what I get are links to the student schedule node instead.
I hope this makes sense.
Marty
-- Michelle Ziegmann =========================== Electronic Communications Specialist University of California Berkeley Educational Technology Services
-- [ Drupal support list | http://lists.drupal.org/ ]
participants (5)
-
Kees Scherpenhuijzen -
Marty Landman -
Matthew Lechleider -
Michelle Ziegmann -
Steve Edwards