Apt-get :: backing up synaptic



I am trying to backup synaptic on hd using system-file restoration-backup . what line do i have to add to filetool.lst to fully backup synaptic graphical front end + apt-get + dependencies?
thanks

Do the following:


Download and save the dpkg file from the online dsl repository to your myDSL storage device. This will give you dpkg / apt-get.

Boot up clean and install Synaptic.

Save all *.deb files in /var/cache/apt/archives directory to someplace writable like a new folder called /home/damnsmall/debs/.

Back them up with your filetool.lst file.

If using an older version of DSL (before 0.7) also backup /opt/.start_synaptic and /home/damnsmall/.xtdesktop/synaptic.lnk and /home/damnsmall/synpatic.png by adding them to your filetool.lst

Do a myDSL restore of your files and dpkg structure.

From an Xterminal or a script (as user 'root') type:

dpkg -i /home/damnsmall/debs/*.deb

You should be back in business.

Disclaimer:  I have not tested this and am working from memory (not logged into DSL at the moment).

RoGuE_StreaK may be able to help you out with any specifics that I have missed since he was doing something similar a while ago. In fact, if you ask nicely he might even post his *.deb restore script.

Good Luck.


original here.