-
Junior Member
registered user
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!
-
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?
-
Junior Member
registered user
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!
-
Senior Member
registered user
Re: Saving time: saving configuration files at reinstalling

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
-
By fungi in forum General Support
Replies: 0
Last Post: 01-25-2006, 07:31 PM
-
By politelyerased in forum General Support
Replies: 1
Last Post: 04-15-2005, 11:56 PM
-
By djenner in forum General Support
Replies: 1
Last Post: 06-05-2004, 11:34 PM
-
By lothario in forum Networking
Replies: 0
Last Post: 03-15-2004, 03:02 AM
-
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
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate Constellation ES.3 3.5 in Enterprise HDD | ST2000NM0033
$40.00

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

2TB Seagate Barracuda ST2000DM001 7200RPM SATA 6Gbps 64MB Cache 3.5" HDD
$39.95

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99