Improve packages list backup
This commit is contained in:
parent
1a777afb5f
commit
641d400afa
|
@ -169,6 +169,7 @@ if [ $SYSTEM = "linux" ]; then
|
||||||
|
|
||||||
## List Debian packages
|
## List Debian packages
|
||||||
dpkg -l >/home/backup/packages
|
dpkg -l >/home/backup/packages
|
||||||
|
dpkg --get-selections >/home/backup/packages.getselections
|
||||||
else
|
else
|
||||||
## Dump network connections with netstat
|
## Dump network connections with netstat
|
||||||
netstat -finet -atn >/home/backup/netstat.out
|
netstat -finet -atn >/home/backup/netstat.out
|
||||||
|
|
Loading…
Reference in a new issue