# The following action is NOT reversible but is significantly faster. # Use at own descression - replace oldversion with your old version and newversion with your new version pg_upgradecluster --method=upgrade --link main /var/lib/postgresql//