# Devkinsta fail to transfer local file with sync function

**URL:** <https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213>\
**Category:** Application Support\
**Created:** [April 10, 2023, 9:02pm UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213 "2023-04-10T21:02:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdsecarriere](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@fdsecarriere](https://community.kinsta.com/u/fdsecarriere)\
**Post date:** [April 10, 2023, 9:02pm UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/1 "2023-04-10T21:02:04Z")

</div>

Hey I cant transfer my website from devKinsta to kinsta. I get an error DK0065. Can’t see anything in the main log. I’ve tried deleting the docker kinsta/devkinsta\_rsync-ssh. But still can’t make it. I’m using a mac.

Thanks for trying to help.

---

<div class="post-metadata">

**Author:** ![fdsecarriere](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@fdsecarriere](https://community.kinsta.com/u/fdsecarriere)\
**Post date:** [April 10, 2023, 9:44pm UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/2 "2023-04-10T21:44:40Z")

</div>

Yep still the issue, no way and I cant migrate using migrate guru because it does not work from local.

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [April 12, 2023, 2:29am UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/3 "2023-04-12T02:29:11Z")

</div>

Hello @fdsecarriere 👋 , welcome to DevKinsta community!

Thank you for reaching us out!  
Regarding that DK0065 error, just wanted to check if you checked and followed the solution what’s mentioned on our [documentation here](https://kinsta.com/knowledgebase/devkinsta/error-codes/#dk0065) ?

That `DK0065` error usually could be caused by a failed connection to the remote server (your Staging server) or unpredictable issues related to the uploaded files. This step uses rsync as a tool to share files with the remote site, so anything that can cause rsync to fail can be the root cause of this issue.

On the [other thread](https://community.kinsta.com/t/failed-to-upload-local-sites-on-push-to-staging-dk0065/1617/6) (similar DK0065 error), my colleague, Kevin, suggested to remove any unnecessary large files (old/unnecessary zip files e.g: from old backups, etc.) both from the local computer and on the staging server (to keep them synchronized) which [helped the other user there to solve this failed to upload local site DK0065 issue](https://community.kinsta.com/t/failed-to-upload-local-sites-on-push-to-staging-dk0065/1617/7). So, you may also want to check yours (if there’s such large unnecessary file() that can be removed/deleted) and wondering if it’s the same solution that may help you as well.

Please let us know if we can assist you further.

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![fdsecarriere](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@fdsecarriere](https://community.kinsta.com/u/fdsecarriere)\
**Post date:** [April 14, 2023, 10:04pm UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/4 "2023-04-14T22:04:21Z")

</div>

Hey thanks for replying back.  
I’ve tried every solution. I have no large files. Whole package is about 65MB.  
I’ve deleted rsync container in docker in order to create a fresh one when using sync again.  
I’ve tried to transfer som other wordpress I’ve created with devKinsta, I get the same error.  
I’m clueless right now.

Francois

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [April 17, 2023, 3:13am UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/5 "2023-04-17T03:13:49Z")

</div>

Thank you for your reply Francois!

If it also happens the same even with a new fresh WP install you created with DevKinsta, then this could be caused by a failed connection from your local end (or your internet connection) to the remote server or unpredictable issues related to the uploaded files and this does not seem to be an issue with DevKinsta.

As an alternative (workaround) you may want to use a site migration plugin like Duplicator, [here’s our guide](https://kinsta.com/docs/migrate-wordpress-duplicator-plugin/) on how to use it. Alternatively, if you wish to migrate your site manually without the use of a plugin, you will need to do the following:

1. Export a copy of the database through the [Database manager in DevKinsta](https://kinsta.com/knowledgebase/devkinsta/database-manager/) and import the .sql DB file into your server host (via [phpMyAdmin tool](https://kinsta.com/docs/restore-import-mysql-database/#restore-a-mysql-database-using-phpmyadmin) or via [SFTP and SSH/MySQL command line](https://kinsta.com/docs/restore-import-mysql-database/#restore-a-mysql-database-using-wpcli)).
2. Upload the files of your local site via [SFTP](https://kinsta.com/docs/connecting-with-sftp/) to your host server
3. Use [MyKinsta Search and Replace tool](https://kinsta.com/docs/mykinsta-search-replace-tool/#how-to-use-the-search-and-replace-tool-in-mykinsta) or use [WP-CLI to run a search and replace](https://kinsta.com/knowledgebase/wordpress-search-and-replace/#4-perform-the-search-and-replace-directly-with-wpcli) to replace the _.local_ domain to your live site’s domain you use on your server.

Hope that helps!

Cheers,  
Agus
