Difference between revisions of "Freeside:2.1:Documentation:Administration:Tips and Tricks"

From Freeside
Jump to: navigation, search
(Begining of tips page)
 
 
Line 4: Line 4:
 
  su freeside -c /home/ivan/freeside/bin/all-postal-no-email\ guest
 
  su freeside -c /home/ivan/freeside/bin/all-postal-no-email\ guest
 
</pre>
 
</pre>
 +
 +
* Taking a quick backup.  (very good idea to do this every couple of moves when you are just starting out)
 +
<pre>
 +
Login as root user in the shell. Run the following command.
 +
root@freeside:~# su - postgres
 +
postgres@freeside:~$ pg_dumpall >> /tmp/postges-`date -u +"%Y%m%d%H%M"`.sql
 +
</pre>
 +
You also also can do this from the web interface menu, just be sure to save as a new filename and keep track of when they were made.

Latest revision as of 10:36, 15 April 2011

  • Set all customers to postal mail and no e-mail from shell (VMWare Image was tested)
Login as guest or root user in the shell. Run the following command.
 su freeside -c /home/ivan/freeside/bin/all-postal-no-email\ guest
  • Taking a quick backup. (very good idea to do this every couple of moves when you are just starting out)
Login as root user in the shell. Run the following command.
root@freeside:~# su - postgres
postgres@freeside:~$ pg_dumpall >> /tmp/postges-`date -u +"%Y%m%d%H%M"`.sql

You also also can do this from the web interface menu, just be sure to save as a new filename and keep track of when they were made.