[Owncloud] [testpilots] ownCloud Clone Script

Thomas Müller thomas.mueller at owncloud.com
Thu Nov 14 12:37:13 UTC 2013


Hey,

thanks Arthur for reminding me about a script I started some time ago ;-)

/home/deepdiver/Development/ownCloud/upgrade-testing/test-upgrade.sh

This script is designed to test upgrades/migrations between two ownCloud versions.
FROM and TO are variables to be set in the script - examples given

The database to be tested on (sqlite, mysql or pgsql) is set via the command line.

I'm happy to ask any questions - everybody is welcome to enhance it.

Thanks,

Tom

Am Donnerstag, den 14.11.2013 um 13:19 schrieb Arthur Schiwon:
> Hey everybody,
> 
> upgrade testing of major releases becomes easy, when you can easily
> setup a test instance and always go back to the state before doing the
> upgrade.
> 
> It's also especially useful, when you can test upgrade with
> real-world/production data.
> 
> Already before OC 5 I have had a script for me that allowed me to do so,
> now for OC 6 I put it all together and made it configurable, so that it
> may be useful for anybody out there.
> 
> My use case is: download a release tarball, take over config and
> database from my production system. (In my case, data-folder will be
> kept). 
> 
> Please find it in the administration repo on Github:
> https://github.com/owncloud/administration/tree/master/ocClone
> 
> Please read the README file, and do a backup. Works for me and I
> successfully went to 6 Beta 4, but who knows? Sometimes scripts are
> eating kittens and things.
> 
> Cheers
> Arthur
> 
> P.S.: i am not a Bash guru, reviews and improvements welcome.
> 
> _______________________________________________
> testpilots mailing list
> testpilots at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/testpilots
> 



More information about the Owncloud mailing list