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.
This commit is contained in:
hjp 2017-01-28 14:06:34 +00:00
parent 838af50376
commit a83aa49a89
1 changed files with 1 additions and 1 deletions

View File

@ -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");