In FreePBX 13, there was a template for a “Full Backup” that included everything such as MySQL, Asterisk DB etc.
In FreePBX 15, with the new Backup & Restore module (v15.0.10.32), there is no such option. The only way to do is to add “Custom Files”? If so, what directories can I use? Would be great if there could be guide for that.
I could be wrong but looking at my v15 backup logs if you add all the modules to the backup (just above where you add custome files) it should get everything. Haven’t had time to delve into it deeper though, it’s on my to-do list.
Custom files are as the name implies, files that you have created that you want included in a backup. If you don’t colour outside the lines, you probably don’t have any custom files and have no need of this feature. Wiki page here in case you haven’t seen it: https://wiki.freepbx.org/pages/viewpage.action?pageId=114852215
In my case, I have no custom files, would only like to backup “everything” from one PBX and restore it to another.
I have already tried creating a backup but when I restore it on another FreePBX (same version i.e. 15), the AsteriskDB does not have any of the Key/Value pairs the source FreePBX does. Am I missing something here?
Unable to attach the entire logs (new users aren’t allowed), seeing a few errors in there
CC(target) Release/obj.target/zlib/deps/libmariadbclient/zlib/inftrees.o
CC(target) Release/obj.target/zlib/deps/libmariadbclient/zlib/trees.o
CC(target) Release/obj.target/zlib/deps/libmariadbclient/zlib/uncompr.o
CC(target) Release/obj.target/zlib/deps/libmariadbclient/zlib/zutil.o
AR(target) Release/obj.target/deps/libmariadbclient/zlib/zlib.a
COPY Release/zlib.a
CXX(target) Release/obj.target/sqlclient/src/binding.o
../src/binding.cc:6: warning: "__STDC_FORMAT_MACROS" redefined
# define __STDC_FORMAT_MACROS
<command-line>: note: this is the location of the previous definition
In file included from ../src/binding.cc:56:
../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
../../nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/binding.cc: At global scope:
../src/binding.cc:1647:28: error: 'Handle' has not been declared
static void Initialize(Handle<object> target) {
^~~~~~
../src/binding.cc:1647:34: error: expected ',' or '...' before '<' token
static void Initialize(Handle<object> target) {
^
../src/binding.cc: In static member function 'static void Client::cb_close(uv_handle_t*)':
../src/binding.cc:975:68: warning: 'v8::Local<v8::value> Nan::Callback::Call(v8::Local<v8::object>, int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
obj->onclose->Call(Nan::New<object>(obj->context), 0, nullptr);
^
In file included from ../src/binding.cc:56:
../../nan/nan.h:1720:3: note: declared here
Call(v8::Local<v8::object> target
^~~~
../src/binding.cc: In member function 'void Client::on_connect()':
../src/binding.cc:1007:60: warning: 'v8::Local<v8::value> Nan::Callback::Call(v8::Local<v8::object>, int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
onconnect->Call(Nan::New<object>(context), 0, nullptr);
^
In file included from ../src/binding.cc:56:
../../nan/nan.h:1720:3: note: declared here
Call(v8::Local<v8::object> target