From a83aa49a8998f8a740bb35fcc3ae4b946cb0036d Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 28 Jan 2017 14:06:34 +0000 Subject: [PATCH] Export to local disk instead of backup medium. The export directory will then be backed up normally, which is a simple copy operation, while exporting all sessions is expensive and should not be repeated for every new backup medium. --- lib/Simba/CA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Simba/CA.pm b/lib/Simba/CA.pm index f406de4..349829c 100644 --- a/lib/Simba/CA.pm +++ b/lib/Simba/CA.pm @@ -835,7 +835,7 @@ sub adjust_partitions { sub export { my ($self) = @_; my $dbh = $self->{dbh}; - my $exportdir = $self->basedir . "/export"; + my $exportdir = "/var/lib/simba/export"; mkdir($exportdir); my $sessions = $dbh->selectcol_arrayref("select id from sessions order by id");