First time here? Check out the FAQ!
0

How to specify dump name in dump_forum command?

When I call the dump_forum command and try to use the syntax listed in the admin guide I get the error:

"manage.py: error: no such option: -d "

I want to automate a nightly/periodic backup of the forum and so far have only been able to get it to run where the script asked for a backup file name ("Please enter a filename")

This is undesirable of course for automated backups. Do I have to change the python scripts and come up woth some backup naming of my own or is there something I am missing regarding providing the backup file name at the python admin command?

tim's avatar
51
tim
asked 2014-12-01 12:11:33 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The '--dump-name' needs two dashes, not one. The management doc page has only one. I looked at the dump-forum py code to find this

tim's avatar
51
tim
answered 2014-12-01 14:42:42 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments