pgbackrest.git / summary / log / commit / refs
commit 729b07fed5eaa8247eaee65bd8f3e1a996bd7752
Author: David Steele <github@thelabyrinth.net>
Date: Wed Feb 12 12:45:29 2014 +0000
Hardlink now a conf option.
pg_backrest.pl | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/pg_backrest.pl b/pg_backrest.pl
index 1804ff5ef..509d18f8c 100755
--- a/pg_backrest.pl
+++ b/pg_backrest.pl
@@ -18,10 +18,8 @@ use pg_backrest_db;
my $strConfigFile;
my $strStanza;
my $strType = "incremental"; # Type of backup: full, differential (diff), incremental (incr)
-my $bHardLink;
-GetOptions ("hardlink" => \$bHardLink,
- "config=s" => \$strConfigFile,
+GetOptions ("config=s" => \$strConfigFile,
"stanza=s" => \$strStanza,
"type=s" => \$strType)
or die("Error in command line arguments\n");
@@ -223,7 +221,7 @@ backup_init
$oDb,
$oFile,
$strType,
- $bHardLink,
+ config_load("backup", "hardlink", true, "n") eq "y" ? true : false,
!$bChecksum,
config_load("backup", "thread"),
config_load("backup", "archive_required", true, "y") eq "y" ? true : false
[parent: 219120ba811a]