0

I have an openshift account with dokuwiki in one app php 5.3 cartige, I do backups using rhc snapshot save every day, today I try to do a restore it with rhc snapshot restore, but it looks like data is from the last git push what I did and the changes which I did into the dokuwiki aren´t into the restored "snapshot". am I doing something wrong? , Rhc command help displays snapshot saves "the state of the application", doesn´t it mean what I expect (save the whole state of application)? Thanks :)

OpenShift offers functionality to backup and restore with the snapshot command within the rhc client tools. To backup your application code, data, logs and configuration, you run:

rhc snapshot save -a {appName} To restore your application, you run: rhc snapshot restore -a {appName} -f {/path/to/snapshot/appName.tar.gz}

4

1 回答 1

1

当您执行 rhc 快照保存时,它会保存 git 存储库中的内容、app-root/data 中的内容以及您正在运行的任何数据库中的内容。因此,如果您在应用程序中使用了 ssh 或 sftp 并进行了更改,或者使用 Web 编辑器进行了物理文件更改(未存储在数据库中的文件),那么这些更改将不会反映在备份/恢复过程中.

于 2014-04-13T17:07:47.473 回答