summaryrefslogtreecommitdiff
path: root/sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2017-04-24 16:24:13 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2017-04-24 16:24:13 +0000
commit937678c9fb4cf949ecfbe6e73a378b1991c02954 (patch)
treec76bfbb5495dae504a0ddad6e6a4f6bc7ef43f01 /sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate
parentupdate sysutils/debootstrap to 1.0.90 (diff)
- 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>
Notes
Notes: svn path=/head/; revision=439334
Diffstat (limited to 'sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate')
-rw-r--r--sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate57
1 files changed, 0 insertions, 57 deletions
diff --git a/sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate b/sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate
deleted file mode 100644
index 3289e88e4f3a..000000000000
--- a/sysutils/backuppc-devel/files/patch-bin-BackupPC_rrdUpdate
+++ /dev/null
@@ -1,57 +0,0 @@
---- ./bin/BackupPC_rrdUpdate.orig 2013-12-09 17:06:45.000000000 +0400
-+++ ./bin/BackupPC_rrdUpdate 2013-12-10 12:24:41.000000000 +0400
-@@ -109,7 +109,7 @@
- }
- $sizeTot = $sizeTot / 1024;
-
-- print $bpc->cmdSystemOrEval(
-+ if ( $err = $bpc->cmdSystemOrEval(
- [
- $Conf{RrdToolPath},
- "update", $RRDFile,
-@@ -119,13 +119,17 @@
- . $Info{"poolKb"} . ":"
- . $Info{"pool4Kb"} . ":"
- . $Info{"cpool4Kb"}
-- ]);
-- printf("%sRRD updated:"
-+ ]) ) {
-+ print "$err";
-+ }
-+ else {
-+ printf("%sRRD updated:"
- . " date %s; cpoolKb %f; total %f;"
- . " poolKb %f; pool4Kb %f; cpool4Kb %f\n",
- $bpc->timeStamp,
- $NowRnd1, $Info{"cpoolKb"}, $sizeTot,
- $Info{"poolKb"}, $Info{"pool4Kb"}, $Info{"cpool4Kb"});
-+ }
- }
-
- #
-@@ -140,7 +144,7 @@
- #
- # Get each pool max value from RRD
- #
-- $bpc->cmdSystemOrEval(
-+ $bpc->cmdSystemOrEvalLong(
- [
- $Conf{RrdToolPath},
- "graphv", "-",
-@@ -158,7 +162,7 @@
- if ( $_[0] =~ /^print\[([0-3])\] = "([.0-9]+)"$/ ) {
- $poolMax[$1] = $2 unless ( $2 == 0 );
- }
-- });
-+ }, 1, undef);
-
- my $poolSizeGraph = [
- "$Conf{RrdToolPath}",
-@@ -228,6 +232,6 @@
- print("Can't open/create $LogDir/poolUsage$weeks.png\n");
- return;
- }
-- $bpc->cmdSystemOrEval($poolSizeGraph, sub { print $fdOut $_[0] });
-+ $bpc->cmdSystemOrEvalLong($poolSizeGraph, sub { print $fdOut $_[0] }, 1, undef);
- close($fdOut);
- }