Results 1 to 4 of 4

Thread: Saving time: saving configuration files at reinstalling

  1. #1
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    16

    Saving time: saving configuration files at reinstalling

    I recently move from knoppix to kanotix, but I think I have a good idea for both.
    Ok, here is my request!

    When we format and re-install our favourite O.S., we loose all information (so this is a request for HD installing script). I think it will be a good idea (and not a difficult idea I think) to add a way for user to save some configuration files before formatting. This files would be at memory, and after installing the O.S., the script will save original program files by renaming to xxxxx.SAVE and installing the user files (or something like that, like copy user files at a this home directory instead delete original programs files).

    The configuration files could be:
    fstab
    smb.conf
    kde configuration
    firefox/mozilla/opera/konqueror/... bookmarks
    etc

    It's NOT easy because we have different programs, but the script could search the most common and add a option to save our favourite files.


    Thanks a lot for doing knoppix (and kanotix )

    Bye!

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Well, with a separate /home partition all you need to do after reinstalling is point your /home in fstab to the partition and all user settings and files are restored.
    Also you can just backup files in /etc and replace them after the install with old ones.
    Or did I misunderstand the question?

  3. #3
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    16

    The idea is that the program make this work for u.

    The idea is that the program make this work for u.
    I put these files in another partition when I format my hard disk, but always forget something and remember after, when I need with the new OS. The idea is to make this some kind of automatic.

    Ciao!

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900

    Re: Saving time: saving configuration files at reinstalling

    Quote Originally Posted by Bleim
    I recently move from knoppix to kanotix, but I think I have a good idea for both.
    Ok, here is my request!

    When we format and re-install our favourite O.S., we loose all information (so this is a request for HD installing script). I think it will be a good idea (and not a difficult idea I think) to add a way for user to save some configuration files before formatting. This files would be at memory, and after installing the O.S., the script will save original program files by renaming to xxxxx.SAVE and installing the user files (or something like that, like copy user files at a this home directory instead delete original programs files).

    The configuration files could be:
    fstab
    smb.conf
    kde configuration
    firefox/mozilla/opera/konqueror/... bookmarks
    etc
    Those are diretories and files. You only need to backup two directories as Markus has already mentioned. I don't think this requires a script but here you go.

    #!/bin/sh
    cp -R /home /mnt/backup
    cp -R /etc /mnt/backup

    Then just replace what you want. Or you can have both /home and /etc on their own partition and simply mount those partitions after an installation.

Similar Threads

  1. saving configuration
    By fungi in forum General Support
    Replies: 0
    Last Post: 01-25-2006, 07:31 PM
  2. Saving configuration?
    By politelyerased in forum General Support
    Replies: 1
    Last Post: 04-15-2005, 11:56 PM
  3. Saving the configuration
    By djenner in forum General Support
    Replies: 1
    Last Post: 06-05-2004, 11:34 PM
  4. saving the time zone
    By lothario in forum Networking
    Replies: 0
    Last Post: 03-15-2004, 03:02 AM
  5. help saving my configuration
    By plus1hdcp in forum General Support
    Replies: 3
    Last Post: 03-14-2004, 02:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver picture

Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver

$4.99



Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver picture

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver

$20.70



HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001 picture

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001

$14.90