Using rhc snapshot-save Returns Empty File

245 Views Asked by At

I have a WordPress site on OpenShift and I'm attempting to backup the site. I've used commands:

rhc tidy-app

and

rhc snapshot-save

After reporting a snapshot is being pulled down, "Success" is displayed a few seconds later but only an empty tar.gz file is created (it's supposed to be about ~50mb).

This incident occurred before and usually, after a few repeated attempts, eventually worked. I've tried several times now without the backup being downloaded.

Anyone have any thoughts? Thanks.

FYI, the gear is well below the size and file count quotas

1

There are 1 best solutions below

1
On

I came across this post because I was having the same issue. I was getting empty hello.tar.gz files when running the following command:

rhc snapshot save -a hello

After some research I found that I was missing an option. The hello.tar.gz file contained the expected contents after running the following command:

rhc snapshot save -a hello --deployment