teejee2008 / aptik

Command-line tool for migrating system settings and data for distributions based on Debian, Arch and Fedora. Can backup and restore software repositories, packages, icons, themes, fonts, users, groups, home data, dconf settings, fstab/crypttab entries, and cron tasks.
GNU Lesser General Public License v3.0
141 stars 26 forks source link

How to backup or restore debs in aptik-gtk ? #1

Closed repsorp closed 6 years ago

repsorp commented 6 years ago

And also where is the "archives" directory (Installed Software) ?

Aptik-gtk v18.5 Ubuntu 16.04

teejee2008 commented 6 years ago

In the main window navigation sidebar: Cache -> Downloaded packages Packages -> Installed software

Downloaded packages are copied to cache/files/debian in backup path.

Take a look at the user manual

repsorp commented 6 years ago

OK Thanks But do I have to move my previous debs (aptik v.17.10 > debs directory ) ? Couldn't find them anywhere

repsorp commented 6 years ago

I couldn't find any of my previously installed software that used to be in the "archives" directory... None of them are listed in Packages -> Installed software Am I missing something ?

teejee2008 commented 6 years ago

Are you trying to restore a backup created with previous version? That will not work. Use the older version of the tool to restore backups created with older versions.

The "archives" directory in previous version contains download packages. This folder is renamed to cache/files/debian in the new version. These deb files are present in system cache /var/cache/apt/archives. These are cached packages - these may or may not be actually installed on the system.

The packages that are actually installed are listed in packages/files/selected.list.

repsorp commented 6 years ago

No, I'm not trying to restore a backup, just trying to figure it out.

You say that the "archives" directory in previous version contains download packages. But lots of my packages contained in this previous "archives" directory are actually missing in /var/cache/apt/archives (more than 2000... some being duplicates though).

You also say that the packages that are actually installed are listed in packages/files/selected.list. But in my case this selected.list file is empty.

And what about debs ? I used to drop debs on the application as asked by aptik when a missing deb was detected while doing an "Installed software" backup. Where are they now and how could these debs be restored ?

Sorry If I'm missing something and thanks for your help anyway

ghost commented 6 years ago

How do I find the old version Unfortunately I added the program before the switch. Last weekend

teejee2008 commented 6 years ago

You can place debs in the debs/files folder to install them on restore

teejee2008 commented 6 years ago

Previous version: https://github.com/teejee2008/aptik-legacy

Download are available on the Releases page

repsorp commented 6 years ago

The only way to backup debs with Aptik 18.5 is to move the debs to the debs/files folder ? No drag and drop option as in previous version ?

teejee2008 commented 6 years ago

Fixed in v18.5.1. You can drag drop deb files on main window.