NAME
DiaColloDB::Upgrade::v0_12_sliceN - DiaColloDB utilities: auto-magic upgrade: v0.11.x -> v0.12.x: allow slice-wise N
SYNOPSIS
##========================================================================
## PRELIMINARIES
use DiaColloDB::Upgrade::v0_12_sliceN;
##========================================================================
## API
$version = $CLASS_OR_OBJECT->toversion();
$bool = $CLASS_OR_OBJECT->upgrade();
##========================================================================
## Backup & Revert
$bool = $up->backup();
@files = $up->revert_created();
@files = $up->revert_updated();
DESCRIPTION
API
- toversion
-
$version = $CLASS_OR_OBJECT->toversion();
returns default target version; default just returns $DiaColloDB::VERSION
- upgrade
-
$bool = $CLASS_OR_OBJECT->upgrade();
performs upgrade
Backup & Revert
- backup
-
$bool = $up->backup();
perform backup any files we expect to change to $up->backupdir()
- revert_created
-
@files = $up->revert_created();
returns list of files created by this upgrade, for use with default revert() implementation
- revert_updated
-
@files = $up->revert_updated();
returns list of files updated by this upgrade, for use with default revert() implementation
AUTHOR
Bryan Jurish <moocow@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2017-2020 by Bryan Jurish
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
SEE ALSO
dcdb-create.per(1), dcdb-query.perl(1), dcdb-info.perl(1), dcdb-export.perl(1), dcdb-dump.perl(1), DiaColloDB(3pm), perl(1), ...