Migrar trac de un host a otro

22 09 2011

En la máquina nueva:
# mkdir /var/trac/aaa

En la máquina vieja:
# cd /var/trac/aaa; tar -czvf - ./ | ssh root@192.168.1.1 "cd /var/trac/aaa; tar -xzvf -"

En la nueva:
# cd /var/trac/aaa/db/; cp trac.db SAVE.trac.db; sqlite trac.db .dump | sqlite3 trac.db.new; cp trac.db.new trac.db
# trac-admin /var/trac/aaa upgrade
# trac-admin /var/trac/aaa wiki upgrade
# chgrp -R www-data /var/trac/
# chmod -R ug+rwx /var/trac/

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: