2011/08/23, 16:13
e.g. for testing purposes before touching valuable data…
- set the DB names
ORIG_DB="orig_db_name"
NEW_DB="new_db_name" |
- create a dump (make sure to use a user having access rights to the db)
TSTAMP=$(date +%F_%H-%M)
FILE_ORIG="${ORIG_DB}_${TSTAMP}.sql"
pg_dump -f ${FILE_ORIG} --blobs --create ${ORIG_DB} |
- adjust the DB name in the dump and check everything went ok (the diff should be just in CREATE, ALTER and \connect statements)
FILE_NEW="${NEW_DB}_based-on_${ORIG_DB}_${TSTAMP}.sql"
sed "s/${ORIG_DB}/${NEW_DB}/g" ${FILE_ORIG} > ${FILE_NEW}
vimdiff ${FILE_ORIG} ${FILE_NEW} |
- adjust permissions for the new db (add the new DB name to the desired user(s)) and reload the postgres config
sudo vim /etc/postgresql/8.4/main/pg_hba.conf
sudo /etc/init.d/postgresql-8.4 reload |
- load the new DB’s SQL-code into postgres
- to set identical permissions on the new DB, create a full dump using pg_dumpall, check the GRANT commands in the dump and apply them to the new DB as well…
2011/06/07, 18:19
This posting describes the steps required to build the Funambol add-on for Mozilla Thunderbird 3 on Ubuntu 10.10 (Maverick Meerkat). It is mostly based on Bas’ Blog entry .
Part I: the prerequisites
- define the buildroot
BASE="${HOME}/buildenvs/mozbuild.maverick_amd64" |
- install required packages
sudo aptitude install mercurial autoconf2.13 colormake libcurl4-gnutls-dev libtool git-svn |
- I had problems using a freshly debootstrapped ubuntu maverick (10.10) chroot that was missing the “
staff“ group, so if it’s missing, add it via “vigr“…
- install build-dependencies
sudo apt-get build-dep thunderbird |
Continue reading ‘building the Funambol extension for TB3 on Linux/x86-64’ »
2010/05/03, 17:30
http://www.secudb.de/~seuffert/mozilla/
UPDATE:
http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b1/contrib/linux-x86_64/
2010/01/26, 14:00
…still has some problems using the CalDAV interface, see the communigate mailing list, while it works great with the latest DAViCal.
Lightning/Thunderbird also has issues with self-signed SSL-certificates, see Mozilla Bug #523555.
2010/01/11, 18:55
Ever got messages like this in your Apache logfiles, wondering why setting properties via a client on your (otherwise working) WebDAV is failing?
Could not open the property database. [500, #205]
(2)No such file or directory: Could not open property database. [500, #1]
(2)No such file or directory: Attempted to set/remove a property without a valid, open, read/write property database. [500, #202] |
Well, simply add a directory called “.DAV“ (note the leading dot!) to your WebDAV base-directory, that is writeable to the webserver. That’s where the corresponding information will be stored by Apache. Note that this is “somehow” mentioned by the mod_dav documentation at webdav.org, but not by Apache’s documentation itself. Yes, that’s bad and pretty annoying.
2009/12/09, 15:43
finally, CalDAV evolves to a pretty common standard. sun microsystems is about to contribute a client for symbian: blog.symbian.org.