mirror of
https://github.com/rsnapshot/rsnapshot.git
synced 2025-11-21 02:39:30 +01:00
18 lines
623 B
Bash
Executable file
18 lines
623 B
Bash
Executable file
#!/bin/sh
|
|
|
|
##############################################################################
|
|
# backup_dpkg.sh
|
|
#
|
|
# by Nathan Rosenquist <nathan@rsnapshot.org>
|
|
# http://www.rsnapshot.org/
|
|
#
|
|
# This script simply backs up a list of which Debian packages are installed.
|
|
# Naturally, this only works on a Debian system.
|
|
#
|
|
# This script simply needs to dump a file into the current working directory.
|
|
# rsnapshot handles everything else.
|
|
##############################################################################
|
|
|
|
# $Id: backup_dpkg.sh,v 1.2 2005/04/02 07:37:06 scubaninja Exp $
|
|
|
|
/usr/bin/dpkg --get-selections > dpkg_selections
|