You need to Register for free and Login to post a message in the forum.

Forum

Subject: Synchronising your Laptop with Server
Prev Next
You are not authorized to post a reply.

Author Messages
radhakrishan
Nuke Active Member
Nuke Active Member
Posts:27

05 Dec 2005 5:44 PM  

I have just started working on .NET.

I want to know how can I synchronize  my laptop with live server (Good & Easy Technique)

So, I will have the same copy on my laptop and the server.

I can first try everything on my laptop before uploading to the server.

I have spoken to people, all of them were doing everything on the LIVE server (Which is not a good option, if something goes wrong on the LIVE server then it wont be easy to roll back)

But I want to first do on laptop and then FTP to LIVE server.

 

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3352

06 Dec 2005 3:16 AM  
Hello,

You have a couple of options.

1) If you are installing a fresh installation of DNN and are just wanting to transfer across your modules, skins, and content you can create a portal template on your localhost install and then load the portal template on your live website. - I've created a video tutorial on how to do this here:

Configuring DotNetNuke before Installation - It's on video 2

You can also view this forum post:

How to export data from a localhost install to a live website in DotNetNuke


2) If you are wanting to synchronise your data from your live website with your laptop permanently it becomes more complicated. - Basically you have to create a backup of the database from your localhost install and then FTP the backup database and all of the files from your DNN localhost install over the top of your live website. You will have to enquire with your hosting provider how to restore a backed up database, usually all you have to do is FTP the backup database into a folder on your live website and your website will automatically install the backed up database.

You will reverse this method to transfer the data from the live website to the localhost website.

Transferring data to a live website in this way on a regular basis could raise a few problems for the users of your website. - EG. You will need to prevent access to your website while you are restoring the backup and transferring across all of the files to prevent any errors.

I avoid this method as I try to keep my websites online for as long as possible.

Once a website is up and running I use the following methods to add new content to the website.

1) On a localhost install, add the module to a page and add the content you require - Go to the module settings menu and use the export data function. - Copy this file that has been created and FTP it to the live website - Install the same module to a page on your live website and then select import data and select the data file that you have just uploaded via FTP. Voila! - all of your content has now been transferred.

2) If I am thinking of adding a new module I test it first in a localhost install to ensure it is compatible with the current live installation. - I then add it direct to the website and add the content direct to the live website.

3) Whenever adding text content to a live website I will always create the text in Word to spell check and then copy across that text to the live website.

4) If you are worried about rollback on a live website then make sure you backup your database and files before adding any changes to the live website, at least then if you make any mistakes you can restore the backup.

5) Create any new content in a hidden administrator area first to check that it is all correctly working.

I would recommend that whichever method you choose that you fully test it before applying it to a live busy website so that you are sure that your method works 100% and creates minimal down time for the visitors to your website.

I hope this provides a few pointers, thanks.


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
radhakrishan
Nuke Active Member
Nuke Active Member
Posts:27

06 Dec 2005 4:36 AM  
Thank you so much for ur valuable advice.

Also, will u keep on adding new videos every month or after every 2-3 months ????
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3352

06 Dec 2005 4:47 AM  
That's ok, I would be interested to hear which method you decide to use, so please post back once you have found a solution that works for you.

I would like to put together some "DotNetNuke best working practices" and your feedback would really help with this.

Regarding the videos, yes each month I release a new issue of the magazine and more than likely several videos will be included with the issue.

I'm hoping that over time this will turn into a massive resource for the DNN community. If you have any requests for videos, mp3 interviews etc. then please let me know

You can view all of the videos that have been added so far here:

DotNetNuke Video Tutorials

Cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
radhakrishan
Nuke Active Member
Nuke Active Member
Posts:27

06 Dec 2005 5:51 AM  
Thanks for quick reply.

Just a suggestion:
Tutorials have been classiged into four categories (Beginners, Core, Administrator, Advanced)

If you can give an option to do a "MASS Download" (Downloading all the videos for each category in one go) for subscribe users that will be very good.

As downloading it one-by-one is bit time consuming.

Again its just a suggestion.
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3352

16 Dec 2005 5:37 PM  
Thanks for the suggestion, the problem with this is that some of the tutorials will walk you through certain steps before referring you to the video, so this could become confusing to the readers. - I guess I could include a pdf of the page within the zip file, but I will have to think about that.

How would you want to do a mass download? - All of the videos and mp3s so far are nearly at 1GB -  and as more content is added this will grow to approx 3GB per year. - This would be too big to download as a mass download. - The only other way is to then provide a link to each of the zip files, but then you might as well just visit each page.

I think for practicalities I will have to stick with the current method unless you can offer any suggestions, thanks for the idea though, and keep them coming! - Cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Synchronising your Laptop with Server



ActiveForums 3.7

Latest Forum Posts

Need UK Hosting by Liz
Hi,Not sure if this is the right place, but I am currently with Power DNN, and whilst I am a big fan...
RE: search not working by sanju_k1421
host==>admin search page that is set both limits min //max page reindex content button is ...
RE: No Access for me too by leesykes
hello,I have fixed the problem and I have given you a years access beginning from today December 2nd...
old skins for DNN 4.9.0 ? by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
AppTheory
RSS Feeds