Migrate from plugin version Nextcloud 11 to Iocage version 13

Status
Not open for further replies.

gaszto

Dabbler
Joined
Feb 26, 2014
Messages
16
Hi,

I set installed a new Nextcloud 13 into an Iocage jail. I wanto to migrate all data from the Nextcloud plugin (version 11).

I set the old nextcloud to maintenace mode.
first I had to install sudo inside the jail:
# pkg install sudo
then set maintenance mode:
# sudo -u www /usr/pbi/nextcloud-amd64/bin/php /usr/pbi/nextcloud-amd64/www/nextcloud/occ maintenance:mode --on
then I run Rsync according to the Backup manual:
# cd /usr/pbi/nextcloud-amd64/www
# rsync -avx nextcloud/ nextcloud-dirbkp_`date +"%Y%m%d"`/

after that I have to dump the database, according to the Backup manual:
mysqldump --single-transaction -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak

but in the standard plugin version Nextcloud what is the default for
- server
- username
- password
- db_name

Thanks
 

gaszto

Dabbler
Joined
Feb 26, 2014
Messages
16
I don't know what the defaults are, but you should be able to find all of them in the config.php file.

Thanks,
one more question. Is it possible make a snapshot from the iocage jail before I import the database?
 
Status
Not open for further replies.
Top