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

Error doing full backup in WSL #25

Open abalter opened 5 years ago

abalter commented 5 years ago

Describe the bug Errors when backing up bash on windows WSL To Reproduce aptik --backup-all --skip-home --skip-files

Expected behavior No error.

System:

balter@spectre:~$ uname -a
Linux spectre 4.4.0-17134-Microsoft #285-Microsoft Thu Aug 30 17:31:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
balter@spectre:~$ aptik --version
18.6

Actual behavior

Backup completed
E: File not found: /var/log/installer/initial-status.gz
----------------------------------------------------------------------
Backup: Installed Software
----------------------------------------------------------------------
Saved: $basepath/packages/files/installed.list (1527 packages)
Saved: $basepath/packages/files/selected.list (323 packages)
Backup completed
E: Failed to open file “/etc/shadow”: Permission denied
E: Failed to read file: /etc/shadow
Segmentation fault (core dumped)

I have donated in the past, and will again.