Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Move the resulting directory full of exported data from tmp/export to the new server's tmp/import (or wherever desired; this can be provided to the import script)
$ cd tmp; tar -czf json_export_201611141510.tgz tmp/exportexport
  • Then from your own machine:
$ scp staging:/opt/sufia-project/current/tmp/json_export_201611141510.tgz new_box_ip:/opt/sufia-project/current/tmp/.

Fedora import

On sufia 7 instance:

  • unpack the exported json files
cd opt/sufia-project/mkdir current/tmp/import
tar -xzf json_export_201611141510.tgz
mv
tmp/export/* current/tmp/import/rm -rf tmp
 export import
  • configure sufia6_user and sufia6_password in config/application
  • run the import

...