templates!!!
[freeside.git] / httemplate / docs / legacy.html
1 <head>
2   <title>Importing legacy data</title>
3 </head>
4 <body>
5   <h1>Importing legacy data</h1>
6 <ul>
7   <li><a name="svc_acct">bin/svc_acct.import</a> - Import `passwd', ( `shadow' or `master.passwd' ) and RADIUS `users'.  Before running bin/svc_acct.import, you need <a href="../browse/part_svc.cgi">services</a> (with table svc_acct) as follows:
8     <ul>
9       <li>Most accounts probably have entries in passwd and users (with Port-Limit nonexistant or 1)
10       <li>Some accounts have entries in passwd and users, but with Port-Limit 2 (or more)
11       <li>Some accounts might have entries in users only (Port-Limit 1)
12       <li>Some accounts might have entries in users only (Port-Limit >= 2)
13       <li>POP mail accounts have entries in passwd only, and have a particular shell.
14       <li>Everything else in passwd is a shell account.
15     </ul>
16   <li><a name="svc_acct_sm">bin/svc_acct_sm.import</a> - Import qmail ( `virtualdomains' and `rcpthosts' ), or sendmail ( `virtusertable' and `sendmail.cw' ) files.  Before running bin/svc_acct_sm.import, you need <a href="../browse/part_svc.cgi">services</a> as follows:
17     <ul>
18       <li>Domain (table svc_acct)
19       <li>Mail alias (table svc_acct_sm)
20     </ul>
21   <li><a name="cust_main">Importing customer data</a>
22     <ul>
23       <li>Manually
24         <ul>
25           <li>Add a <a href="../edit/cust_main.cgi">new customer</a>
26           <li>Add one or more packages for this customer
27           <li>Enter a package by clicking on the package number
28           <li>Pick the `Link to existing' option
29         </ul>
30       <li>Batch - You will need to write a script to import your particular legacy data.  You can use eg/TEMPLATE_cust_main.import as a starting point.
31     </ul>
32 </ul>
33 </body>
34