ports/sysutils/backuppc4/files/pkg-deinstall.in
Vsevolod Stakhov 937678c9fb - Add a port of the 4.x series of BackupPC
BackupPC is a fast, enterprise-grade backup system. It provides
a web-based user interface. It supports several platforms (Unix-like,
    Windows, MacOSX) to backup to a disk-based storage.

No client-side software is necessary, as the BackupPC server uses
several protocols (smb, rsync, tar and ftp) native to the client OS.

File-level deduplication combined with optional compression minimizes
the disk space needed to store the backups and disk I/O and enables
synthetic backups to reduce network traffic.

BackupPC is not a block-level backup system but performs file-based
backup and restore. Thus it is not suitable for backup of disk
images or raw disk partitions.

BackupPC supports laptop environments with clients on dynamic
IP addresses (DHCP) not always connected to the network.

WWW: http://backuppc.sourceforge.net/

Users of the sysutils/backuppc port should read
http://backuppc.sourceforge.net/BackupPC-4.0.0.html#BackupPC-4.0

PR:		217638
Submitted by:	Alexander Moisseev <moiseev at mezonplus.ru>
2017-04-24 16:24:13 +00:00

21 lines
653 B
Bash

#! /bin/sh
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
echo
echo "======================================================================="
echo " If you are permanently removing BackupPC, you should manually delete:"
echo " - the backuppc user/group: pw userdel backuppc"
if [ -d %%ETCDIR%% ]; then
echo " - BackupPC configuration: rm -r %%ETCDIR%%"
fi
if [ -d /var/db/BackupPC ]; then
echo " - BackupPC data directory: rm -r /var/db/BackupPC"
fi
if [ -d /var/log/BackupPC ]; then
echo " - BackupPC logs directory: rm -r /var/log/BackupPC"
fi
echo "======================================================================="
echo