You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like a datastore cannot be used to restore to a local database unless Docker is being used. I was running a proof of concept and had dumped the data to a local datastore . I then wanted to populate a local database with the transformed data. It allowed me to dump the data to a sql dump file, however.
replibyte -c conf.yaml dump list
name | size | when | compressed | encrypted
--------------------+-----------+----------------+------------+-----------
dump-1677767483822 | 982 Bytes | 28 minutes ago | true | false
replibyte -c conf.yaml dump restore local -v latest
error: you must use --output or --image [database_type] option
replibyte -c conf.yaml dump restore local -v latest -i mysql
cannot find 'docker' binary in path
*** The following works.
replibyte -c conf.yaml dump restore local -v latest -o > dump.sql
Datastore and database config from YAML file as follows (ids/ips/pswds/etc redacted):
datastore:
local_disk:
dir: /home/userid/replibyte/data
destination:
connection_uri: mysql://dbuser:[email protected]:3306/seed
(Note: I ran another quick test and found a local connection_url (i.e. @127.0.0.1:3306) format works for the source database.)
The text was updated successfully, but these errors were encountered:
It looks like a datastore cannot be used to restore to a local database unless Docker is being used. I was running a proof of concept and had dumped the data to a local datastore . I then wanted to populate a local database with the transformed data. It allowed me to dump the data to a sql dump file, however.
replibyte -c conf.yaml dump list
name | size | when | compressed | encrypted
--------------------+-----------+----------------+------------+-----------
dump-1677767483822 | 982 Bytes | 28 minutes ago | true | false
replibyte -c conf.yaml dump restore local -v latest
error: you must use --output or --image [database_type] option
replibyte -c conf.yaml dump restore local -v latest -i mysql
cannot find 'docker' binary in path
*** The following works.
replibyte -c conf.yaml dump restore local -v latest -o > dump.sql
Datastore and database config from YAML file as follows (ids/ips/pswds/etc redacted):
datastore:
local_disk:
dir: /home/userid/replibyte/data
destination:
connection_uri: mysql://dbuser:[email protected]:3306/seed
(Note: I ran another quick test and found a local connection_url (i.e. @127.0.0.1:3306) format works for the source database.)
The text was updated successfully, but these errors were encountered: