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:
parent
838af50376
commit
a83aa49a89
|
@ -835,7 +835,7 @@ sub adjust_partitions {
|
||||||
sub export {
|
sub export {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
my $dbh = $self->{dbh};
|
my $dbh = $self->{dbh};
|
||||||
my $exportdir = $self->basedir . "/export";
|
my $exportdir = "/var/lib/simba/export";
|
||||||
mkdir($exportdir);
|
mkdir($exportdir);
|
||||||
|
|
||||||
my $sessions = $dbh->selectcol_arrayref("select id from sessions order by id");
|
my $sessions = $dbh->selectcol_arrayref("select id from sessions order by id");
|
||||||
|
|
Loading…
Reference in New Issue