--
You received this message because you are subscribed to the Google Groups "AppScale Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsub...@googlegroups.com.
To post to this group, send email to appscale_community@googlegroups.com.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.
That command was moved to a console entry point. You can run `appscale-backup-data -a localapp`, and it should write the backup to /opt/appscale/backups/. The corresponding restore command is `appscale-restore-data`.I will update the wiki with the new commands. Just as a heads up, I've run into an issue before where appscale-restore-data did not write the composite indexes for the restored entities, so I had to run appscale-update-index to populate them.
On Thu, Dec 14, 2017 at 9:56 PM, Prashant Hegde <prashan...@gmail.com> wrote:
Hello !
I am trying to figure out how to backup and restore data in appscale.
https://github.com/AppScale/appscale/wiki/Migration-into-AppScale,-Backup-&-Recovery
The above link seems outdated.
For example,
"python $APPSCALE_HOME/AppDB/backup/scripts/backup_data.py --app-id APP_ID --source-code"
The path of the backup_data.py is incorrect.
Even if you run appscale/datastore/scripts/backup_data.py, we get this error:
"ValueError: Attempted relative import in non-package"
So,I changed it to :
"python -m datastore.scripts.backup_data -a localapp" ( ran from directory appscale)
The script just exits - it doesnt seem to do much.
Is there a updated doc somewhere? Or can you please let me know what is the right way to backup the data on appscale?
Regards
Prashant
--
You received this message because you are subscribed to the Google Groups "AppScale Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsubscribe@googlegroups.com.
To post to this group, send email to appscale_community@googlegroups.com.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsub...@googlegroups.com.