Sudo cp -rf ~/owncloud-backup/data /opt/bitnami/apps/owncloud/data Restore the backup files in the new Bitnami ownCloud Stack.Sudo cat /opt/bitnami/apps/owncloud/htdocs/config/config.php | grep -oP "(? )('.*')" | xargs -I % sed -e "s/'dbpassword' => '.*'/'dbpassword' => '%'/g" -i ~/owncloud-backup/config/config.php To do so, use an editor to modify it manually or the commands below: Edit the backup ~/owncloud-backup/config/config.php file and change the dbpassword parameter using the new one that can be found in the new /opt/bitnami/apps/owncloud/htdocs/config/config.php file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |