|
发表于 2007-1-30 15:24:52
|
显示全部楼层
转贴自slax的documentation
How to save/restore settings
To save your settings, run "configsave" command with one argument - the storage location. So type for example configsave /mnt/sda1/slaxconf.mo to save your configs in USB flash drive into slaxconf.mo file. It will save all changed files from /root, /etc, /home and /var directories. Note that that network settings (assigned IP address, etc) won't be saved because they are not kept in any file. If you wish to save network settings then add apropriate commands to /etc/rc.d/rc.local. This file will be saved/restored, and it's executed automatically (so your network settings will be set up).
To restore your previously saved backup, use "configrestore" command. You can also save settings to the root directory of your existing disk partition (for example to /mnt/hda1/slaxconf.mo). All settings found in the root folder of any of your disk partitions ( under the name slaxconf.mo) will be restored automatically when SLAX boots. |
|