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

Deleting Mount Entries #2

Closed MarkP2015 closed 5 years ago

MarkP2015 commented 6 years ago

Assuming using a USB flash/thumb drive as the APTIK install for all it does, in what location will I find /mounts to delete crypttab? Copy of User Manual below. I'm a computer illiterate (obvs).

Mount Entries Backup Usage: aptik --backup-mounts Following actions are executed for backup:

Entries in /etc/fstab and /etc/crypttab are saved to backup folder <basepath>/mounts . Entries are saved individually as <mount-point>.fstab and <dev-name>.crypttab. You can delete files for any mount entries that you do not wish to restore.
teejee2008 commented 6 years ago

basepath is the location you have selected for backup. For example, if you selected /data/usbdrive then you will find the crypttab entries under /data/usbdrive/mounts/files/.

teejee2008 commented 6 years ago

If you are using aptik from command line, then your current directory is the basepath. Else you can specify with --basepath option sudo aptik --backup-mounts --basepath /mnt/usbdrive/