First install Debian and OTRS 4.0.8.
Then with the script, backup (in ubuntu), and restore (in the new debian) restore the backup.
For some reason when trying to restore the backup gave me some errors, to correct this first I had to restore only the DB, and then the Config and Application files.
It seems to have gone well, but in the logs I get the following errors and the tickets are not being generated.
Tue Aug 29 09:13:14 2017 error OTRS-CGI-98 Found in Queue for XXXQueueNameXXX!
Tue Aug 29 09:13:13 2017 error OTRS-CGI-98 No TypeID for 15 found!
ERROR: OTRS-CGI-98 Perl: 5.24.1 OS: linux Time: Tue Aug 29 09:13:10 2017
Message: No TypeID for 13 found!
RemoteAddress: 10.0.1.11
RequestURI: /otrs/index.pl?
Traceback (5411):
Module: Kernel::System::Type::TypeLookup Line: 408
Module: Kernel::System::Ticket::TicketGet Line: 1234
Module: Kernel::Output::HTML::DashboardCalendar::Run Line: 125
Module: Kernel::Modules::AgentDashboardCommon::_Element Line: 840
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 555
Module: Kernel::System::Web::InterfaceAgent::Run Line: 991
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handl$
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
These two are the errors, obviously several times each repeating for all the queues I had in my previous OTRS, and several TypeID, not only the 15.ERROR: OTRS-CGI-98 Perl: 5.24.1 OS: linux Time: Tue Aug 29 09:13:14 2017
Message: Found no Queue for XXXQueueNameXXX!
RemoteAddress: 10.0.1.11
RequestURI: /otrs/index.pl?
Traceback (5411):
Module: Kernel::System::Queue::QueueLookup Line: 590
Module: Kernel::System::Ticket::TicketSearch::TicketSearch Line: 791
Module: Kernel::Output::HTML::DashboardTicketQueueOverview::Run Line: 142
Module: Kernel::Modules::AgentDashboardCommon::_Element Line: 840
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 555
Module: Kernel::System::Web::InterfaceAgent::Run Line: 991
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handl$
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
I hope you can help me, thank you.