Ask Your Question
0

How to specify dump name in dump_forum command?

asked 2014-12-01 12:11:33 -0500

tim gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-01 14:42:42 -0500

tim gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-01 12:11:33 -0500

Seen: 555 times

Last updated: Dec 01 '14