From Fedora Project Wiki

m (Windows data migration Tool moved to Migrate aNd Manage: change of project name)
No edit summary
Line 10: Line 10:


===Features===
===Features===
 
<pre>
= A user-friendly, simple GUI with advanced setting will provide the
= Support post install files migration
ease of use and flexibility to new comer.
= Support XP/Vista/OSX
= File System (folder) sharing will provide the flexibility when new
= Support random flags syntax in command mode
linux user needs to rely on Windows when needed. User can save data in a
= Support listing users from XP and Vista
special directory/folder for Windows System.
= Support any Linux or Unix based system that has python installed and same user folder structure.
= All instance messager, images, audio, movies and documents will be
= Support automatic user detection or with a given user name(s)
migrated and supported. Associated open-source software, freeware will
= Support copying file(s) and folder(s) to specified location
be installed during migration.
= If given location is not a home folder of the OS type given, it will report error message and exit
=
= When duplicate file(s) or folder(s) is detected, wdmt has an option to replace older file/folder, backup existing Fedora user folder(s) or replace existing user folder(s)
 
= Auto create user list with a temporary password and migrate folders and files
After a typical user has installed Linux in a pre-existing windows
</pre>
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 <br>
- or having a windows-linux share partition or folder <br>
 
====Documents migrations====
(file will be copied automatically in the user folders  <br>
- image (jpeg,gif) <br>
- audio (mp3, wav, rm)  <br>
- movie (avi, mpeg4, divx, xvid, rm, mov) <br>
- documents (xls, doc, rtf, txt, wri) <br>
- wallpaper <br>
====User Migration====
- User name search and add with password <br>


===Program Logic Flow v0.1 20081012===
===Program Logic Flow v0.1 20081012===
Line 55: Line 32:
'''AUTO'''
'''AUTO'''
* List all possible users and ask if every thing is correct
* List all possible users and ask if every thing is correct
* Ask for dummy password for each user
* Generate for dummy password for each user
* Automatic create User
* Automatic create User
* Automatic move User documents to each user directory
* Automatic move User documents to each user directory
Line 75: Line 52:


===Code===
===Code===
The demo code is posted in  [[http://zenit.senecac.on.ca/wiki/index.php/Talk:Windows_Data_Migration_Tool discussion page]] in this wiki at this moment
The demo code is posted in  [[http://matrix.senecac.on.ca/~tnchan/mNm0.3/mNm0.3]] in this wiki at this moment. I will put it in fedorahosted in the future.
 
=== Project Contributor(s) ===
[http://fedoraproject.org/wiki/RahulSundaram#Projects Rahul Sundaram]: Rahul was the one who raise the idea of Migrate aNd Manage. Great idea, Rahul!!
 
[http://zenit.senecac.on.ca/wiki/index.php/User:David.humphrey David Humphrey]: resources resource on mail and bookmark migration to Firefox on wiki and IRC. Thank you David.
 
[http://zenit.senecac.on.ca/wiki/index.php/User:Vyas Mohak Vyas]: gave me some more idea how user profiles, folders works. Thanks Mo!
 
[http://zenit.senecac.on.ca/wiki/index.php/User:Milton.paiva Milton Paiva Neto]: show me some trick on how to handle functions in better way and using "case' instead of "if" on argument checking.


===Links===
===Links===


[https://fedoraproject.org/w/index.php?title=Windows_data_migration_Tool Windows Data Migration Tool in Fedora Project Wiki:] <br>
[https://fedoraproject.org/wiki/Migrate_aNd_Manage Migrate aNd Manage in Fedora Project Wiki:] <br>


[http://zenit.senecac.on.ca/wiki/index.php/Windows_Data_Migration_Tool Windows Data Migration Tool in OpenSource@Seneca:]
[http://zenit.senecac.on.ca/wiki/index.php/Windows_Data_Migration_Tool Migrate aNd Manage in OpenSource@Seneca:]


[https://wiki.ubuntu.com/MigrationAssistance Ubuntu MigrationAssistance Page ]
[https://wiki.ubuntu.com/MigrationAssistance Ubuntu MigrationAssistance Page ]
Line 129: Line 115:
|WinUserSearch
|WinUserSearch
|creat python function to search existing XP/Vista user
|creat python function to search existing XP/Vista user
|Target Date: 2008/11/05
|DONE: 2008/11/06
|return/output a list of user in a list, all user folder plus adminstrator minus general folder(local, public), or.. just detect usage?
|return/output a list of user in a list, all user folder plus adminstrator minus general folder(local, public)
 
|-
|Copy/move/replace folders, files with error checking
|automatic or manual
|DONE: 2008/11/11
|possible bug(s) when handling link
 


|-
|-
|usrcrt Function in Fedora (list)
|User Create and temporary password
|creat python function to add user list in Fedora
|create a list of user with given list or detected list
|Target Date: 2008/11/05
|DONE: 2008/11/15
|support list of user that generated from WinUserSearch function, and it will generate a temporary password aslo, usrcrt -l UserList -p TempPassword
|done, with automatic documents migration


|-
|-
|spacechk Function
|Automatic mounting NTFS/HFS
|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
|detect and mount, save the location and partition type to be used in other function
|Target Date: 2008/11/14
|Target Date: 2008/11/20
|spacechk -l UserList -t TargetDirectory
|DONE: 2008/11/26


|-
|-
|mvfatdir Function
|add link 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
|link to folder instead of copy
|Target Date: 2008/11/14
|Target Date: 2008/11/25
|mvfatdir -s FatDirList -t TargetList -p Permission (644 by default)
|DONE: 2008/11/30


|-
|-
|Bookmark Migration Functions Planning
|add all options and functions and get ready for 0.3
|find default IE/Fireforx bookmark and copy/migrate to Firefox bookmark, will check if source and target conditions
|finish all possible functions and option that in most cases for installation or post-installation
|next
|Target Date: 2008/11/27
|firefox only
|DONE: 2008/12/02
 


|-
|-
|Function support check for GUI tools
|Post in Fedorahosted
|make sure the function would support the GUI interface
|Post in Fedorahosted
|next
|Target Date: 2008/12/20
|
 
 
|-
|Study firstboot
|Understand and have a draft plan
|Target Date: 2008/12/20
|
 
 
|-
|Contact firstboot owner
|Contact the owner of firstboot and ask for opinion
|Target Date: 2008/12/20
|
 
 
|-
|improve link handling
|may have bug if target/source is a link instead of file/folder
|Target Date: 2008/11/20
|
 
|-
|Free Space Detection
|check avaliable space and see if it's possible to migrate all user data to fedora directory.
|Target Date: 2008/11/25
|
|


Line 177: Line 198:
|Python Code Complete
|Python Code Complete
|finish all function that needs for basic function in Python
|finish all function that needs for basic function in Python
|15th Nov 2008
|COMPLETED
|
|In Progress, may delay (20081106)
mostly done(20081115)
All functions are done (20081205)


|-
|-
|GUI Interface
|GUI Interface
|Finish all connection between Python code and GUI Interface
|Finish all connection between Python code and GUI Interface
|1 Dec 2008
|1 Jan 2009
|
|


Line 189: Line 212:
|Test Version
|Test Version
|Putting Test version in Fedora site
|Putting Test version in Fedora site
|15 Dec 2008
|20 Dec 2008
|
|


|}
|}

Revision as of 22:17, 4 December 2008

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

= Support post install files migration
= Support XP/Vista/OSX
= Support random flags syntax in command mode
= Support listing users from XP and Vista
= Support any Linux or Unix based system that has python installed and same user folder structure.
= Support automatic user detection or with a given user name(s)
= Support copying file(s) and folder(s) to specified location
= If given location is not a home folder of the OS type given, it will report error message and exit
= When duplicate file(s) or folder(s) is detected, wdmt has an option to replace older file/folder, backup existing Fedora user folder(s) or replace existing user folder(s)
= Auto create user list with a temporary password and migrate folders and files

Program Logic Flow v0.1 20081012

START

  • Show welcome page and descriptions
  • Search Windows User Folders
  • Gathering 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
  • Generate 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 [[1]] in this wiki at this moment. I will put it in fedorahosted in the future.

Project Contributor(s)

Rahul Sundaram: Rahul was the one who raise the idea of Migrate aNd Manage. Great idea, Rahul!!

David Humphrey: resources resource on mail and bookmark migration to Firefox on wiki and IRC. Thank you David.

Mohak Vyas: gave me some more idea how user profiles, folders works. Thanks Mo!

Milton Paiva Neto: show me some trick on how to handle functions in better way and using "case' instead of "if" on argument checking.

Links

Migrate aNd Manage in Fedora Project Wiki:

Migrate aNd Manage in OpenSource@Seneca:

Ubuntu MigrationAssistance Page

Ubuntu MigrationAssistance Capture from www.michaellarabel.com

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 DONE: 2008/11/06 return/output a list of user in a list, all user folder plus adminstrator minus general folder(local, public)
Copy/move/replace folders, files with error checking automatic or manual DONE: 2008/11/11 possible bug(s) when handling link


User Create and temporary password create a list of user with given list or detected list DONE: 2008/11/15 done, with automatic documents migration
Automatic mounting NTFS/HFS detect and mount, save the location and partition type to be used in other function Target Date: 2008/11/20 DONE: 2008/11/26
add link function link to folder instead of copy Target Date: 2008/11/25 DONE: 2008/11/30
add all options and functions and get ready for 0.3 finish all possible functions and option that in most cases for installation or post-installation Target Date: 2008/11/27 DONE: 2008/12/02


Post in Fedorahosted Post in Fedorahosted Target Date: 2008/12/20


Study firstboot Understand and have a draft plan Target Date: 2008/12/20


Contact firstboot owner Contact the owner of firstboot and ask for opinion Target Date: 2008/12/20


improve link handling may have bug if target/source is a link instead of file/folder Target Date: 2008/11/20
Free Space Detection check avaliable space and see if it's possible to migrate all user data to fedora directory. Target Date: 2008/11/25


PLAN

Subject Description Target Date Status
Python Code Complete finish all function that needs for basic function in Python COMPLETED In Progress, may delay (20081106)

mostly done(20081115) All functions are done (20081205)

GUI Interface Finish all connection between Python code and GUI Interface 1 Jan 2009
Test Version Putting Test version in Fedora site 20 Dec 2008