root / pykota / trunk / initscripts / README @ 965

Revision 952, 2.4 kB (checked in by jalet, 22 years ago)

Preliminary support for LPRng added BUT STILL UNTESTED.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quota for CUPS and LPRng
4
5(c) 2003 Jerome Alet <alet@librelogiciel.com>
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19
20============================================================
21
22This directory contains scripts to initialise the PyKota
23storage database. Use the one which best suits your need
24depending on the storage backend you want to use.
25
26
27Files :
28=======
29
30  * pykota-postgresql.sql :
31 
32    This file creates an empty Quota Storage Database, using PostgreSQL
33    as a backend. You have to use it the first time you install PyKota
34    if you want to use PostgreSQL as the Quota Storage Backend.
35   
36  * VERYOLDpykota-upgrade-postgresql.sql :
37 
38    This file upgrades the PostgreSQL Quota Storage Database schema
39    from versions before 1.01 to version 1.01.
40   
41    IT'S THERE FOR HISTORICAL REASONS ONLY : DON'T USE IT, USE
42    THE SCRIPT DESCRIBED BELOW INSTEAD !
43   
44  * upgrade-from-before-1.03.py :
45 
46    This shell script upgrades the PostgreSQL Quota Storage Database schema
47    from versions 1.01 or 1.02 to version 1.03.
48    PLEASE DO A BACKUP OF YOUR PYKOTA DATABASE BEFORE RUNNING THIS SCRIPT !
49    Also this script will try to connect to PostgreSQL as the postgres user
50    (i.e. PostgreSQL's administrator), on the local machine (PyKota Storage
51    Server), without prompting for a password. Please read this script and
52    adapt it to your own configuration before running it. THIS IS IMPORTANT.
53   
54    THIS SCRIPT MAKES ANY REASONABLE CHECK TO ENSURE THAT YOUR DATAS WON'T
55    BE LOST, AND ALSO DUMPS YOUR OLD DATABASE TO A TEXT FILE BEFORE DOING
56    ANYTHING. IT WAS TESTED SEVERAL TIMES AND SHOULDN'T PRODUCE ANY ERROR
57    EXCEPT ABOUT THE pykotaadmin and pykotauser POSTGRESQL USERS WHO
58    ALREADY EXIST WHEN THE DATABASE SCHEMA IS UPGRADED. THIS IS NORMAL !
59 
Note: See TracBrowser for help on using the browser.