Open main menu

CDOT Wiki β

Migrate aNd Manage

Revision as of 17:42, 3 November 2008 by David.humphrey (talk | contribs) (Future Development / Advanced Functions:)

Description

Even installing Linux is a breeze. Thousands of Windows user found Linux is difficult to use and worry about the competity of documents. The goal of Windows Data Migration is provide a one-stop data migration to migrate all Windows data from a Windows System to Linux during installation or even after installation. It will support XP and Vista Windows data.


Features

= A user-friendly, simple GUI with advanced setting will provide the ease of use and flexibility to new comer. = File System (folder) sharing will provide the flexibility when new linux user needs to rely on Windows when needed. User can save data in a special directory/folder for Windows System. = All instance messager, images, audio, movies and documents will be migrated and supported. Associated open-source software, freeware will be installed during migration. =

After a typical user has installed Linux in a pre-existing windows system, there is a number of configuration steps that must be taken before they get a comfortable working environment. This includes personal data like pictures, music, mails etc but also settings like wallpaper. The goal would be to lessen that pain and provide a relatively familiar working environment right after installation.


Basic Functions

Data Migration

- copying all information and documents to linux partition
- or having a windows-linux share partition or folder

Documents migrations

(file will be copied automatically in the user folders
- image (jpeg,gif)
- audio (mp3, wav, rm)
- movie (avi, mpeg4, divx, xvid, rm, mov)
- documents (xls, doc, rtf, txt, wri)
- wallpaper

User Migration

- User name search and add with password

Program Logic Flow v0.1 20081012

START
- Show welcome page and descriptions
- Search Windows User Folders
- Gethering folders information
- Check if Fedora User parition is enough for all documents from Windows users
- Prompt if administrator wants every thing automatic -> go to AUTO else -> go to MANUAL
AUTO
- List all possible users and ask if every thing is correct
- Ask for dummy password for each user
- Automatic create User
- Automatic move User documents to each user directory
- Automatic migrate bookmarks to Konqueror, Firefox
MANUAL
- List all possible users and ask for individual password
- Prompt each folder that copy to Fedora partition, and see if administrator wants to move files to a specific folder
- Prompt each user when move bookmarks to Konqueror, Firefox

Future Development / Advanced Functions:

  • environment migration
  • mail accounts, import mail database (outlook, thunderbird, etc)
  • (humph, Nov 3, 2008) This can be done via Thunderbird's -migration command line switch, in order to pull all mail/settings into the current profile (i.e., assumes a profile). However, since this produces an mbox, you could also use it to then dump to some other mail client. Also, this method still needs user intervention, and could be automated to accept path(s). See code in http://mxr.mozilla.org/comm-central/source/mail/components/migration/src/
  • Windows a-like environment setting
  • automatic download applications associate all file type
  • IM migration

Code

The demo code is posted in [discussion page] in this wiki at this moment

Links

To Do

Item Description Status Note
Test Machine Setup Install Vista and Fedora in same hard disk DONE: 20080920 install in a laptop
Test Mount and link Test mounting and linking single user folder with known path DONE: 20080921 linked music, folder to home directory successfully, still testing if any conflict in regular use
Test User migration try to added user and change password in BASH script DONE: 20081012 User add successfully and user password changed successfully
Python functions test Test if desire function works in Python DONE: 20081012 Sucessfully using file and directory handling
file/directory search functions planning plan the user/files/directory handling structure and functions for WDMT DONE: 2008/10/29 may update structure later
WinUserSearch creat python function to search existing XP/Vista user Target Date: 2008/11/05 return/output a list of user in a list, all user folder plus adminstrator minus general folder(local, public), or.. just detect usage?
usrcrt Function in Fedora (list) creat python function to add user list in Fedora Target Date: 2008/11/05 support list of user that generated from WinUserSearch function, and it will generate a temporary password aslo, usrcrt -l UserList -p TempPassword
spacechk Function get a list of users and see how big the user documents directories(home directory) is and check the target space has enough space to move all files Target Date: 2008/11/14 spacechk -l UserList -t TargetDirectory
mvfatdir Function movie a list of directories to target directories, it will check the mount and permission status, and it will also change the permission to 644 or as user specified Target Date: 2008/11/14 mvfatdir -s FatDirList -t TargetList -p Permission (644 by default)
Bookmark Migration Functions Planning find default IE/Fireforx bookmark and copy/migrate to Firefox bookmark, will check if source and target conditions next firefox only
Function support check for GUI tools make sure the function would support the GUI interface next


PLAN

Subject Description Target Date Status
Python Code Complete finish all function that needs for basic function in Python 15th Nov 2008
GUI Interface Finish all connection between Python code and GUI Interface 1 Dec 2008
Test Version Putting Test version in Fedora site 15 Dec 2008