EPrints 2.3 Documentation - erase_archive command |
erase_archive - Erase all database tables and files associated with an EPrint archive
erase_archive archiveid [options]
This script completely erases the archive contents, including all database tables and eprint document files and the web site. After running this, the metadata configuration can be safely updated and the creation scripts run again.
Without the --force option, this script asks for confirmation before actually erasing anything.
After this script you will need to run create_tables before you can use the archive.
This script assumes that the root mysql user is called root.
You may run into problems if your mysql install is not on the same machine as EPrints. If this happens use --noerasefiles and delete and recreate the database yourself.
You can specify --noerasedb and --noerasefiles at the same time, but that's really stupid, as then nothing will happen.
This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.
EPrints Version: 2.3.3
For more information goto http://www.eprints.org/ which give information on mailing lists and the like.
Chris Gutteridge may be contacted at support@eprints.org
Should you need a real world address for some reason, EPrints can be contacted in the real world at
EPrints c/o Christopher Gutteridge Department of Electronics and Computer Science University of Southampton SO17 1BJ United Kingdom
This file is part of GNU EPrints 2.
Copyright (c) 2000-2004 University of Southampton, UK. SO17 1BJ.
EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
EPrints 2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
EPrints 2.3 Documentation - erase_archive command |